Possible to use simulated DAQ device in MATLAB?
7 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
claire
2014 年 5 月 7 日
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
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Acquisition Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!