Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to use matlab to control the Digital input and outout of ni daq?

1 vue (au cours des 30 derniers jours)
Kelly
Kelly le 4 Déc 2013
Clôturé : Walter Roberson le 4 Déc 2013
I want to do the following with matlab
If detect digital signal iniput from port 0 line 0 (Sensor)
wait 100ms
send digital signal output to port 0 line 1 (LED)
wait 100ms
send the inverse siganl to port 0 line 1 (turn off LED)
it should runs continuously.
There should be a line of code where I can send/recieve D/I and D/O right? I need that line please.
Thanks

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by