Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by