For some reason, I can't seem to get channel names (from MAX) to work correctly when doing a buffered AI data acquisition. I'm sure the channels are named right because I can do a single AI scan and the data is reported correctly for one channel.
In the buffered AI data acquistion, the problem occurs when I wire the array of strings to the AI CONFIG function. If I don't use channel names and just manually enter the channels in the array of strings function and set the Device to 2 in the AI CONFIG, everything works fine. See the attached VI for what I have that is working now. However, if I change the text in the array of strings function (the only thing outside of the sequence structure in my VI) to channel names in MAX and take out the Device 2 setting in AI CONFIG, the VI reports all channels as having a value of zero. Its like they're not being read or something and the default is zero.
Any ideas? Thanks