LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comedi read command and acquire waveforms VIs

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?
0 Kudos
Message 1 of 2
(2,463 Views)
Hello:

This question belongs in the Measurement Hardware Driver Delvelopment Kit (DDK) Forum located here:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=8&RFORMNUMBER=3&RHIDETAG=TRUE&UCATEGORY_0=_321&UCATEGORY_S=0

The Comedi driver set is supported by www.comedi.org but you might get some answers from the DDK Forum as well.

Sincerely,

Brooks B
Applications Engineer
0 Kudos
Message 2 of 2
(2,463 Views)