LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I repeat the same program automatically with a time-plan?

Hello Everyone,
 
I have a question here.
 
I want to start the same program more time, but I would like to define the number of repetitions and time delay between each repetition with a dialog windows.How can I do that? 

e.g. I want to repeated the same program for 4 times, first time this program will be started by press "Start", second time it will be started in 10 seconds after the first start, the third time it will be started in 16 seconds after the first start and last time ist in 30 seconds after the first start.
 
With which node can I do that?
 
Regart,
 
Johnny
0 Kudos
Message 1 of 4
(3,044 Views)

Hi Johnny,

is it a LabView program? If yes you can create a "vit" of your program and load this dynamically. Load it in a for loop and connect an array to it with the time information. Connect the time value to a wait block. If no use also a for loop but use the "System Exec.vi" instead of the "Open VI Reference".

Mike

0 Kudos
Message 2 of 4
(3,043 Views)
yes, it is a LabVIEW programm.
0 Kudos
Message 3 of 4
(3,040 Views)

Hi,

try something like this.

Mike

0 Kudos
Message 4 of 4
(3,035 Views)