LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I store front panel values on LabVIEW RT

I have a program that auto launches on a PXI. Is there any way to store the front panel values, so that the program starts up again with the last values that were used? The ini file method will not work because I am using LabVIEW RT.

Regards,
S G
Certified LabVIEW Architect, Certified TestStand Architect, Certified Professional Instructor
0 Kudos
Message 1 of 3
(3,090 Views)
I don't think it can be done directly, but one solution would be to log the front panel values to a file on disk whenever appropriate, then when your program starts up, the first step would be to read that file and initialize all values to those in the file.

Hope this helps,
Greg
Message 2 of 3
(3,090 Views)
The best way to initialize inputs in RT is to use constants, or use the Communication Wizard in LabVIEW 7.0 to create a VI that initializes communication to the code running on the RT target. This becomes your user interface. One final suggestion is to use the Operate>>Make Current Values Default feature that is available in RT also.
0 Kudos
Message 3 of 3
(3,090 Views)