LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I restart parameters after one minute of sampling

Highlighted

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
(1,324 Views)
Highlighted

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,329 Views)
Highlighted

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

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 3 of 4
(1,305 Views)
Highlighted

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
(1,304 Views)