How to start multiple analog output on Ni daq device?

5 visualizzazioni (ultimi 30 giorni)
Simon
Simon il 4 Set 2015
Commentato: Simon il 8 Set 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 Commenti
Walter Roberson
Walter Roberson il 4 Set 2015
Are the outputs to go to the same channel or to different channels?
Simon
Simon il 8 Set 2015
They go to different channels, and trigger at different time.

Accedi per commentare.

Risposte (1)

Tushar Sinha
Tushar Sinha il 8 Set 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

Categorie

Scopri di più su Digital Input and Output in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by