LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO RUN A PROGRAM FOR A FIXED PERIOD OF TIME

I WANT TO RUN A PROGRAM WHICH IS AIMED AT SENDING AN ANALOG OUTPUT FROM THE DAQ FOR A CALCULATED  PERIOD
OF TIME. THE PROGRAM RUNS EVERY TIME A HIGH PULSE IS DETECTED AT AN INPUT CHANNEL.THAT IMPLIES IT HAW TO RUN OVER AND OVER AGAIN FOR SOME DEFINED TIME......HOW TO GO ABOUT IT???? 
0 Kudos
Message 1 of 2
(2,532 Views)
First you should fix your keyboard. I think the caps-lock key is stuck. 😉
 
What you want to do is easy, but first you need to define better what you want. Who calculates the period of time? What should happen if a high pulse is detected and the program is already running? Should it ignore the pulse or extend the current run time? etc.....
 
Also, typically the program should always run, but perform a certain task for a certain period of time triggered by an event. A non-running program cannot etect a high pulse, for example.
Message 2 of 2
(2,524 Views)