How to start multiple analog output on Ni daq device?

조회 수: 4 (최근 30일)
Simon
Simon 2015년 9월 4일
댓글: Simon 2015년 9월 8일
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
Walter Roberson
Walter Roberson 2015년 9월 4일
Are the outputs to go to the same channel or to different channels?
Simon
Simon 2015년 9월 8일
They go to different channels, and trigger at different time.

댓글을 달려면 로그인하십시오.

답변 (1개)

Tushar Sinha
Tushar Sinha 2015년 9월 8일
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

카테고리

Help CenterFile Exchange에서 Digital Input and Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by