11-21-2013 11:12 AM
I have a VI which is controlling a number of solenoid drives via software enabled switches. Is it possible to set the default position of these switches. For example everytime I turn the model on I would like the heater gun switch to be on (in the UP position) with the hydraulic supply off (in the DOWN position). I have tried setting the required default positions and saving the VI but they always default to the same position.
Thanks.
Richard
Solved! Go to Solution.
11-21-2013 11:21 AM
Hello r.youden,
The option you're looking for is Edit>>Make Current Values Default. This will "lock in" the current front panel values as the defaults when the VI is opened. This can also be configured programmatically via property nodes.
Regards,
11-21-2013 11:50 AM
Thats perfect.
Thanks
11-21-2013 12:02 PM
It is often better to select the desired controls first so only those get specific default values. For example if you also have a large graph with megabytes of data, setting it to default would greatly increase the size of the VI file.