Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the fct AI_VRead_Scan

Hello I'M trying to use the function AI_VRead_Scan and nothing is being put in my vector. I have a PCI-6034E and I'm trying to read from chanel (1-7)

TKS
GUI
0 Kudos
Message 1 of 2
(2,806 Views)
Hello,

Do you see the signal using Measurement and Automation Explorer? If you do, you can double check that your code has the necessary function calls for doing analog input. In general you would use:

Init_DA_Brds (Board, &BoardCode);
MIO_Config;
AI_Configure;
SCAN_Setup;
AI_VRead_Scan;


You can also try to read the voltages using Scan_OP or Scan_Start.

Good luck with your project!
0 Kudos
Message 2 of 2
(2,806 Views)