Mike Parker
2008-06-06 15:40:09 UTC
Hi, ive been looking through the posts but not found anything. Ive got a 1d boolean array. on the rising edge of a clock signal i want it to output the next item in the array to a pin on my digital port. I did the same thing a while ago but with an analogue output and it worked fine, with this it doesnt. Comes up with an error:
Measurements: Specified read or write operation failed, because the number of lines in the data for a channel does not match the number of lines in the channel.
If you are using the Digital Waveform datatype, make sure the number of lines in the digital waveform matches the number of lines in the channel. If you are using boolean data, make sure the array dimension for lines in the data matches the number of lines in the channel.
Number of Lines in Channel: 1Number of Lines in Data: 16
I've attached the code.
many thanks
Mike
serial.vi:
http://forums.ni.com/attachments/ni/70/8980/1/serial.vi
Measurements: Specified read or write operation failed, because the number of lines in the data for a channel does not match the number of lines in the channel.
If you are using the Digital Waveform datatype, make sure the number of lines in the digital waveform matches the number of lines in the channel. If you are using boolean data, make sure the array dimension for lines in the data matches the number of lines in the channel.
Number of Lines in Channel: 1Number of Lines in Data: 16
I've attached the code.
many thanks
Mike
serial.vi:
http://forums.ni.com/attachments/ni/70/8980/1/serial.vi