Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!