How to start multiple analog output on Ni daq device?

Hello
I'm trying to use Ni daq device to output multiple signals. The signals are not started at same time, instead, some of them are sine wave signals which run for several seconds, while others are single pulses which triggered by external input. The sine wave signals keeps outputting throughout the session, while whenever there's a trigger signal, the ni daq device must give a short output. I tried many ways to fulfill this function. Anyway, the problem is that I can't output other signals when the sine wave signal is outputting. Matlab warns the device has been reserved and the new output signal can't be start. Is there any way I can use to solve this problem?
Thank you

2 个评论

Are the outputs to go to the same channel or to different channels?
They go to different channels, and trigger at different time.

请先登录,再进行评论。

回答(1 个)

Hi Simon
There are some NI devices which allow you to do only one hardware-timed analog output task.
You can refer to the link below for more information on the same: http://digital.ni.com/public.nsf/allkb/2C45C3DC484FF730862570E7007CCBD4
The above link also talks about the "Error -50103 - specified resource is reserved" error which is analogous to the warning you are getting.
Thanks, Tushar

类别

帮助中心File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

提问:

2015-9-4

评论:

2015-9-8

Community Treasure Hunt

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

Start Hunting!

Translated by