Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Why I used AI_VRead_Scan only get voltage once ,then i can't get voltage when call this DAQ function again (DAQ Card: PCI-6120 )

I used DAQ function AI_VRead_Scan to get 4 channels input voltages simultaneity, only read voltages at first time. 
If I call AI_VRead function again , then AI_VRead_Scan function can get voltages again.
But I can right read input voltage on one of 4 channels, when I call AI_VRead anytimes.
 
Can you tell me what' wrong?
my call functions flow like below:
1. AI_Configure
//read one channel
2. AI_VRead
//read 4 channels
3. SCAN_Setup
4. AI_VRead_Scan  // read right voltages
//read 4 channels , again
5. AI_VRead_Scan  //cann't read voltages,,why??
//call the other function again
6.AI_VRead              // call this function again , can read one channel voltage
7.AI_VRead_Scan  //now can read right voltages,,why????
8 AI_VRead_Scan  //cann't  read voltages,, why????
 
 
I noted “This function works on E Series devices only”in  AI_VRead_Scan function explain part in Traditional NI-DAQ Function Reference Help.
Don't PCI-6120 belong to E Series devices? So, it cann't  use AI_VRead_Scan get right input voltages?
 
I cann't find solution because i don't know where's problem!!
0 Kudos
Message 1 of 2
(6,169 Views)