I have a relatively large number of controls (~250) in a VI that is being used as a front end to 40 channels of AI. These controls are used to set ranges, coupling, names, #scans, scan rate, etc. for each of the channels. I would like to be able to compile this VI as a stand-alone application and be able to read and save various control settings other than the defaults.
I have found some references in the Discussion Forum regarding some techniques for accomplishing this but they all involve wiring up local variables for each of the controls.
Is there any function in Labview that stores the values of ALL controls to a single file with a single function call?
Also, what is the benefit to using a
configuration file and reading/writing configuration keys? My approach in the past has been to simply create read locals for all of the controls, collect them into a cluster and write the cluster to a binary file using the regular file I/O functions. To recall the setup, I then read the binary file and unbundle the cluster into write locals for the various controls.
The problem that I'm having now is that with the huge number of read/write locals, I'm getting some strange file i/o behavior in the VI.
Thanks,
RGA