Pause a process, using a NI USB6008

2 views (last 30 days)
Inti
Inti on 25 Apr 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 :)

Answers (0)

Community Treasure Hunt

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

Start Hunting!