I am wondering about the implementation of the comedi read command in the VIs I got from the NI site.
One of the VIs is called "acquire waveforms" which calls "comedi read". everything seems to be working fine, but I am very curious about a small part of the comedi read VI.
If you look closely at it, you will see that after reading in the samples using the CIN that just calls read() , there is a formula node that basically asks the VI to save only the first half of the array. I am wondering why this would be so? Does it have to do with the way read() works?
I tried changing the VI so that the all bytes from the read() call are entered into the "data" array. But when I do this, labview gets stuck.
any ideas?