Pause a process, using a NI USB6008

2 visualizaciones (últimos 30 días)
Inti
Inti el 25 de Abr. de 2014
Hello, I have the following problem:
I have two sensors connected to a NI-USB6008 data acquisition device, and one analog output which turns on a flashlight.
The thing is that I need this flashlight to turn on a few seconds after the data is being received, and turn of a few seconds before the process ends.
I know that this device does not support clocked processes, because it has no timer inside, but is there a way that, by using pause or some similar command, I can control when the flashlight turns on and off?
Thanks in advance!
P.S.: I attached the script I'm using. Don't worry about the comments in spanish :)

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by