LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

iam using PCI6703 for data acquisition applications in my program in LABWINDOWS.for the initialization part iam using AO_VWrite function and i have problems with the return value.can anyone help me to solve this?

i referred to the sample program in National Instruments\CVI\Samples\daq\Ao\AOonepoint.C
i used the below two functions

iStatus = AO_VWrite(iDevice, iChan, dVoltage1);
iRetVal = NIDAQErrorHandler(iStatus, "AO_VWrite", iIgnoreWarning);

iam getting Missing Prototype error for NIDAQErrorHandler.
how can i proceed? can anyone help me?
0 Kudos
Message 1 of 2
(2,439 Views)
The NIDAQErrorHandler function is located in "nidaqex.h" so you will need to include that file to your project. The file is located in your National Instruments directory. On my machine it's C:\Program Files\National Instruments\Measurement Studio\CVI\toolslib\DaqUtil. To add a file to your project, from the project window select Edit->Add Files to Project.
0 Kudos
Message 2 of 2
(2,439 Views)