Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-channel Analog Input with a circular buffer on PCI-6229

I'm upgrading older code from tradition NI-DAQ to NI-DAQmx in LabVIEW 8.5.1 using a PCI-6229 board.
I'm posting two simplified VIs as an example to my problem. The first one uses a circular buffer to gather data from one AI channel, and it gives me the value I expect (whichever channel I choose: ai0 or ai1). The second attempts to do the same thing but on two channels, and it doesn't seem to work (both boxes give the same value for both channels).
I'm sure it's something simple, but I've run out of ideas and am under a deadline. Thanks!
Download All
0 Kudos
Message 1 of 2
(3,008 Views)
As I posted the last message, it occured to me that the data might be organized in rows rather than columns. I had not questioned this earlier as this part of the code had worked in the earlier version of LabVIEW (6.0) and traditional NI-DAQ. I guess this might have changed with DAQmx or later versions of LabVIEW. Either way, here is the VI that works. I guess no harm done, especially since examples of multichannel AI seem few and far between...
0 Kudos
Message 2 of 2
(2,995 Views)