04-15-2007 10:50 PM
04-16-2007
03:50 AM
- last edited on
10-23-2025
03:08 PM
by
Content Cleaner
You would have to perform continuous acquisition
Look at example vi's shipped with LabVIEW and you will understand how to use 'DAQmx timing' function, to set scan rate and perform continuous acquisition
Find Examples>> Hardware input and output>> DAQmx>>Analog Measurement>>Voltage folder will have the relevant examples
Also read this link to understand DAQmx functions
or you could start off using DAQ assistant for continuous acquisition
04-16-2007 09:27 PM
I am now getting the following errors and I don't understand why I am getting them:
Error 1:
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: Current Read Position
Property: Offset
Corresponding Value:
Task Name: _unnamedTask<6>
Error 2: (Only Sometimes I get this one)
The specified resource is reserved error....
04-17-2007 01:10 AM - edited 04-17-2007 01:10 AM
for Error 1: which vi are you using?? what is the values that you have set for 'scan rate' and 'number of samples to read' ??
Regarding error 2, This error is the result of a resource conflict when two DAQmx tasks are attempting to perform the same type of operation. With multiplexed data acquisition boards, only one analog input and one analog output task can be run at the same time. This is the case because all analog input channels require use of the same channel multiplexer and sample clock. Thus, in order to perform multiple channel acquisition, all channels must be included in the same task.
read this link
Message Edited by devchander on 04-17-2007 01:11 AM