01-08-2007 10:54 AM
01-08-2007 12:40 PM
01-08-2007 02:48 PM
01-08-2007 03:08 PM
The segment of code you posted uses a single analog channel and your test file implies 20 channels of DIO. Are you actually using analog in and if so, how would that correspond to the 20 different digital channels in your text file?
If you are really using DIO, then read the text file, convert the column with the 1/0 to a Boolean array or digital word and compare that directly to what you read with a digital read in DAQmx.
01-08-2007 03:34 PM
01-08-2007 03:57 PM