Hello
I am using NI PCI E series Multifunctional PCI-6071E (MIO-64E-1) DAQ card with LabView 8.01 version and using NI-DAQmx Functions to read the data.
I can not include the code because it is very big. but I include the sub vi. You might need to change some setting in the code (It will read multi channel)
Here what I am doing. This SubVi is working fine when all inputs are connected.
But If I disconnect the inputs to DAQ card then it will give me this error
"
Error -200284 occurred at DAQmx Read (Analog 2D DBL NChan NSamp).vi:5
Possible reason(s):
Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
Property: RelativeTo
Corresponding Value: Most Recent Sample
Property: Offset
Corresponding Value:
Task Name: _unnamedTask<6>"
So when this error accurse my program stuck at DAQmx Read (Analog 2D DBL NChan NSamp).vi subVI. It look like it is waiting for ever even though I have set 5 second timeout.
I thought that if there no inputs at DAQ card it will some garbage value.
Please help me.
Amit
Message Edited by amittpatel@yahoo.com on 11-22-2006 03:20 PM