12-14-2007 03:08 PM
12-14-2007 03:44 PM
There are a couple of things you should do. One, do not use separate AI Acquire functions for each channel. You should be using a single AI function and specify all channels in the list. I don't remember the exact syntax for the old DAQ but I think it's would be something like 0-4 or 0-1,4. Second, you would be better off using lower level functions in a loop instead of the AI Acquire Waveform. The AI Acquire Waveform will do configuration of the DAQ hardware each time you call it. Look at the block diagram of this function and the block diagram of the function of the subVI being called. What you should have is functions like AI Config outside the while loop and the only thing inside would be an AI Read.
12-14-2007 04:01 PM
12-14-2007 05:19 PM
12-14-2007 05:29 PM