Hi Laura,
Your suggestion has put me in the right direction, however on following your instruction and that in the example, i got the following error which i dont know how to fix. find below the error:
Possible reason(s):
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: 6
Number of Lines in Data: 1
Many Thanks
Yemi