LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I restart parameters after one minute of sampling

Hello,

I need to restart my parameters showed in the front panel every one minute of data sampling.

 

I need this to be automatically instead to go to the Edit tab and select the "Reinitialize values to default"

 

Thanks

 

0 Kudos
Message 1 of 4
(997 Views)

Hello,

I need to restart my parameters showed in the front panel every one minute of data sampling.

 

I need this to be automatically instead to go to the Edit tab and select the "Reinitialize values to default"

 

 

 

0 Kudos
Message 2 of 4
(1,002 Views)

Hi castrol,

 

there's a method of the VI to ReInit all FP elements to their default values - use it…

 

I guess there should be a better way to reach your goal: What about state machines? And/or producer-consumer scheme for proper data and command handling?

 

(I moved your second post into this thread, no need to post twice!)

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 3 of 4
(978 Views)

http://digital.ni.com/public.nsf/allkb/08E7DDAE66A7D02C86256DDA00630E75

 

However, a more professional approach is to use configuration files to store input parameters and update them between runs of your exe application (a properly programmed application should end up as an exe).

 

Edit: and yes,  you should really use a state machine!

0 Kudos
Message 4 of 4
(977 Views)