Quantcast
Channel: LabWindows/CVI topics
Browsing all 5339 articles
Browse latest View live

cvi 64bit exe and sql toolkit

Hi all I am using CVI 2013 SP2 and SQL toolkit 2.3 on win7 64bit machineIn order to connect to *.mdb file i use the following statement hdbc = DBConnect("DRIVER=Microsoft Access Driver...

View Article


Use of GNU statement expression extension

Hello, hello,I'd like to rewrite some of my old side-effect macros in a more modern (C99/C11) way using compound statements, such as this:#define MIN(x,y) ({ __auto_type __x = (x); __auto_type __y =...

View Article


2 Questions - Run as administriator & change in text size

Hello everyone! I have developed a software using CVI, could you please answer 2 questions?1. When I installed it on other computers the text messages looks different (the font became larger) and in my...

View Article

Row label default attribute

Hi,I have an issue with row label attributes in table controls.My table is in Column mode.I set the columns attributes with SetTableColumnAttributeWhen I add a new row the cells are created according...

View Article

OpenDocumentInDefaultViewer - windowDisplay parameter?

The LabWindows help for OpenDocumentInDefaultViewer() says that the windowDisplay parameter "specifies how the document will be opened", but it doesn't say what values to pass to it.

View Article


OPC 64bit

Hi all, I have to connect to a already existing OPC Server, it works fine with the Datasocket library but because of it i can't compile in 64 bit. What can i do? I'm on windows 64 bits and...

View Article

Image may be NSFW.
Clik here to view.

Problem in UI browser

HiI have a new problem in an old workspace which i'm developing over years. When I right click a GUI constant name in the source code window + select "find UI object" I get a message "File not found"....

View Article

using IMAQ functions

Dear Users, I use CVI/2013 together with NiVision library.For an image I use imaqHistogram to get the histogram parameters from the image. The image is indeed of type Image and not an array that...

View Article


How can I assign a specific function return to an event?

I want to get an event when my funtion returns 3 (as an example). How can I do this?In procedure code. How can I do "Some how" at the below code? int myFunction(int intVal) {       if (intVal ==...

View Article


InstallPopup a panel but it not be displayed immediately

Hello, I'm using installpopup to popup an error panel on the main panel, but sometimes the popup panel can not be displayed, I click the task bar icon, then it would be displayed. The panel loading and...

View Article

Missing SetRingItemAttibute from Linux version

Hello all,I believe this is a bug in CVI.I can compile but not link programs that use the function SetRingItemAttribute(). Obviously other user interface functions work fine. I'm using CVI for Linux...

View Article

how to set digital output high/low on an NI-9402 in CVI ?

Hi all,I'm trying to set the digital output value on 1 channel of an NI-9402 in my cDAQ chassis.  I've found LOTS of functions to configure the channel, but I'm failing to find the most "basic"...

View Article

User inactivity detection

Hello all,I need to turn off the power to a big-ass amplifier if the user forgets to turn it off himself. I'm trying to find the best way to do this (*). The way I've done it is put a timer with the...

View Article


Cannot compile if windows.h is included

Hi, Including window.h makes this project not compile in CVI 2015 Service Pack 1 [ Version 15.0.1 ( 239 ) ]I am on Windows 7 64 bitThe project is just the example project except for the include at the...

View Article

How to generate two voltage waveform with different frequecy

Hi  I'm using NI-6361 to generate two voltage waveform with different frequecy and different  amplitude.I have used DAQmxCreateAOVoltageChan(.."Dev1/a0:1"....)fuction  and...

View Article


Image may be NSFW.
Clik here to view.

How to send a char containing double quotes using viWrite?

Hi,I am using the VISA library in LabWindowsCVI to control R&S Vector signal generator, using the SCPI commands from R&S manual. However, I am facing a problem now because in one of the...

View Article

Library (.lib) file issue in CVI-2013

We have a CVI DLL project that links against a vendor-supplied library (.lib) file. Under CVI-2012, this project builds fine with no issues. Under CVI-2013, the linker apparently can't resolve any of...

View Article


Annoying NI Update Service!

Hi, The NI Update Service has never worked right for me (on multiple computers, Win 7 then 10).  When it pops up, it tells me 2 new updates available.  When I select View Updates, it then tells me...

View Article

AG34980A IVI Error questions

I have current Labwindow/CVI with Teststand.  When I run Ag34980A_INIT command to initalized the AG34980A, I'm getting IVI error code -2147483648.  The AG34980A communicates without a problem if I use...

View Article

Windows system tray: NotifyIcon class

Just wondering if anyone has an example in CVI using the NotifyIcon class to put an icon in the Windows System tray.  

View Article
Browsing all 5339 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>