Note: This example uses VIs from the OpenG Libraries, which can be downloaded using VI Package Manager .In order to programmatically load front panel data from a previous run of a VI, you will need to implement two pieces of code. The first piece detailed here writes the front panel data to a configuration file at the end of your VI's execution. The second piece loads the values from that configuration file at the beginning of the VI's execution.
You will want to make sure this code executes at the very end of your program to ensure the values recorded are those on the front panel at the end of the VI's run.
You will want to make sure this code executes at the very beginning of your program to ensure the values are loaded before any other code executes.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.