03-06-2007 05:12 PM
03-07-2007 01:21 AM
03-13-2007 11:18 PM
Error -200278 occurred at DAQmx Read (Analog 2D DBL NChan NSamp).vi:1
Possible reason(s):
Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be available.
Specify a position and offset which selects a sample up to, but not beyond, the final sample acquired. The final sample acquired can be determined by querying the total samples acquired after an acquisition has stopped.
Attempted to Read Sample: 0
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value:
Task Name: _unnamedTask<3F36>
03-13-2007 11:27 PM
03-14-2007 12:19 AM
What is the 'sample rate' and 'samples to read' values that you have set?
Althrough you are trying to perform continous acquisition, from you picture, it seems you are doing it wrong
Why have you put all the functions inside the while loop??
Put these functions outside the while loop: DAQmx create virtual channel, DAQmx timing , DAQmx start
Only DAQmx read must be inside while loop for continous acq
03-14-2007 12:41 AM
03-14-2007 01:03 AM
03-14-2007 01:05 AM