06-15-2010 05:44 PM
I have a subvi that the user uses to edit some settings used by the main vi. ie, click a settings button, and the subvi pops up.
Anyway, the subvi reads a text file to load the previously saved settings. Question is, should the elements of the text file be put into a control or indicator? The user needs to be able to edit the values on the subvi panel, and then save them again. Seems I can do this with both controls or indicators.
-Mike
Solved! Go to Solution.
06-15-2010 06:00 PM
KSU Flyer wrote:
Seems I can do this with both controls or indicators.
Not quite. Indicators cannot be changed by a user when the VI is running. So, in your case you'd want to use controls. When you read the file for the saved values you can simply update the values of the controls using local variables or property nodes. Be careful about race conditions with local variables.
06-15-2010 06:02 PM
06-15-2010 06:42 PM