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?
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.
That's a good idea. Keep in mind that this will only work in the development environment.