05-07-2009 02:14 PM
Hi,
I'm trying to use DAQmx write to pull high the data pins of a USB-2009. I will have a variable number of data lines depending on how many instruments I have connected.
I am using a property node to get the DO.NumLines property, and then using this to initialize a boolean array that should have the same number of data lines as I have input lines (correct?).
However, when I run the code, I get an error -200463... number of lines in the channel: 2 Number of lines in the Data:8. I'm confused, because when I look at the boolean array, it only has 2 elements.
Can anyone give me a suggestion what else to try?
Thanks,
mike
05-07-2009 05:35 PM