Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Read AI multiple channels on the same device

Hi,
I'm using the NI PCI-6036E card, and I want to read two of the analogue channels.

I do the AI config and AI start for the two channels right after eachother in a flat sequence struct. I use device "1" for both but the first Ai config gets "AI Channel 00" and the second gets "AI Channel 01". The Task IDs is saved in local variables but they are both the same value, the last one. The AI Read is placed in the main while loop.

How do I configure the VI to read two channels on the same device?

Best regards
/Crister Nilsson
0 Kudos
Message 1 of 2
(2,402 Views)
Hi,

It seem by your explanation that you first configure your board with AI Channel 0 and then reconfigure the board to measure AI Channel 1. You should only use one AI config and in the channel input of that VI specify the channel(s) to measure. This tells the board which channels to measure.

Hope this helps

Regards/ Tony
0 Kudos
Message 2 of 2
(2,402 Views)