01-31-2012 01:16 PM - edited 01-31-2012 01:16 PM
I have a tab control.
Each tab control has a subpanel.
Each subpanel has a static vi reference attached to it for launching.
I would like the image of the front panel displayed in the subpanel after the program has finished running so that any information that was displayed is still present.
Is there a way to retain all the settings between run's?
02-01-2012 04:53 PM
When you say settings, do you mean controls? If so, you can right click on them and select Data Operations >> Make Current Value Default. That will keep the settings initialized how ever you set them up.
I believe you can use use the Get Front Panel Image VI Method node, similar to the way to run the VI. You can create one by right clicking on the VI reference wire and selecting Method for VI Class >> Front Panel >> Get Image.
I've attached a code snippet of the node. If you want you can just drag the file into your block diagram and it should turn into code.