From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to store data from channels into constants

Hi

 

I currently have a six channel data acquisition system for LVDTs. The way the process works is we do a calibration run on the LVDTs and store the values we get and then use these baseline values during actual measurement. My question is how do I acquire these values and store them in constants within the program itself ? I know we can write these values to an external excel file or text file but can we store them within the program so that I have them available even if I close and open the program again?

0 Kudos
Message 1 of 4
(2,161 Views)

You can only change the control default value in edit mode. If you need to change the default value you need to save to a file and set the values of the controls from that.

=====================
LabVIEW 2012


0 Kudos
Message 2 of 4
(2,160 Views)

Perhaps this will work for you.

Message 3 of 4
(2,152 Views)

That's a good idea. Keep in mind that this will only work in the development environment.

=====================
LabVIEW 2012


0 Kudos
Message 4 of 4
(2,145 Views)