|
Re: Labview logging
This task is sometime done by writing the values of all of the controls and indicators to an INI file when the program is terminating. This INI file can then be read when the program is started again as part of an initialization step. LabVIEW includes a nice collection of high level VIs for reading and writing INI files. You can find these VIs in Programming>>File I/O>>Configuration File VIs.
An example of INI file use is the TETRIX Motor Configurator. When the TMC is closing is dumps the contents of the currently displayed DC motor and Servo configurations to an INI file. This file is read at startup to display the last opened configurations.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
|