10-10-2016 12:51 AM
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
10-10-2016 12:52 AM
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"
10-10-2016 01:59 AM
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!)
10-10-2016 02:00 AM - edited 10-10-2016 02:01 AM
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!