05-04-2009 07:41 AM
Hi
I have a problem with the DAQ-Assistent in Labview. I use Labview 8.6
I set the mode to "n samples to read", samples to read to "2k" and the rate to "100Hz"
Now i expected that the Program will read the signal with 100 Hz for 20 seconds. But the measurement is over after 1.25 seconds.
Where´s the fault.
If I raise the samples to read to about 50k there´s an error.
200284 at DAQmx Read
How can I solve the problem?
Thank you
Michael
05-05-2009 02:43 AM
Hey Michael,
i simulate a DAQmx device in MAX and tested it out and the data acquisition time was as expected (20 seconds)
If you want acquire a lot of samples you will run in the timeout.
http://digital.ni.com/public.nsf/allkb/FEF778AD990D5BD886256DD700770103?OpenDocument
I will test it out with a real hardware if you could post the type of the DAQmx device.
Therefore its nessecary to use the low level daqmx function to set the timeout higher.
For more info about low level programming please take a look at:
http://zone.ni.com/devzone/cda/tut/p/id/2835
Kind regards,
Elmar