Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Kelly
Kelly 2013 年 12 月 4 日
閉鎖済み: Walter Roberson 2013 年 12 月 4 日
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