Ni DAQ with Mat lab?

2 visualizaciones (últimos 30 días)
Kelly
Kelly el 3 de Dic. de 2013
Editada: Walter Roberson el 4 de Dic. de 2013
I was given a nidaq 6040E.
Can anyone give me a sample code that do the following? I am familiar with programming, I just need to know how to read and send D/I.
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)

Respuestas (0)

Categorías

Más información sobre Digital Input and Output en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by