Possible to use simulated DAQ device in MATLAB?

3 visualizaciones (últimos 30 días)
Joseph Schmitz
Joseph Schmitz el 23 de Feb. de 2014
Comentada: claire el 7 de Mayo de 2014
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 comentario
claire
claire el 7 de Mayo de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by