How to start multiple analog output on Ni daq device?

4 vues (au cours des 30 derniers jours)
Simon
Simon le 4 Sep 2015
Commenté : Simon le 8 Sep 2015
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 commentaires
Walter Roberson
Walter Roberson le 4 Sep 2015
Are the outputs to go to the same channel or to different channels?
Simon
Simon le 8 Sep 2015
They go to different channels, and trigger at different time.

Connectez-vous pour commenter.

Réponses (1)

Tushar Sinha
Tushar Sinha le 8 Sep 2015
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

Catégories

En savoir plus sur Digital Input and Output dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by