Possible to use simulated DAQ device in MATLAB?
2 views (last 30 days)
Show older comments
Hello, I am working on a project which utilizes a NI CompactDAQ with 2 analog acquisition modules. Currently I am having to hook up the CompactDAQ hardware to do software testing as the code requires DAQ hardware to run. I know it is possible to create virtual (or simulated) DAQ hardware utilizing the mydaqmx drivers and the NI measurement and automation explorer. I have went through the necessary steps to set up my virtual DAQ devices as per these instructions from NI:
This works up to a point, as MATLAB recognizes the DAQ hardware as it does when I have physical hardware installed. The problem arises when I try to start the data acquisition in the background, and I receive the following error:
==============================================================================
NI Error -200983: You only can get the specified property while the task is reserved, committed or while the task is running.
Reserve, commit or start the task prior to getting the property. Property: DAQmx_SampClk_Src
Task Name: _unnamedTask<55>
Status Code: -200983
==============================================================================
Does anyone know how to achieve the functionality I desire?
1 Comment
claire
on 7 May 2014
Hi,
I have the same error when I try to add an analog input channel using Vernier hand dynamometer with SensorDAQ.
Have you found a way around it ?
Thanks,
Claire
Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!