You can perform data logging automatically or interactively.
Complete the following steps to enable automatic data logging.
You also can use the Log at Finish property to enable automatic data logging programmatically.
The first time you log front panel data for a VI, LabVIEW prompts you to name the datalog file. You can use any file extension, for example .dat or .txt, for datalog files. LabVIEW logs data each time you run the VI and appends a new record to the datalog file each additional time you run the VI. You cannot overwrite a record after LabVIEW writes it to a datalog file.
Complete the following steps to perform data logging interactively.
If this is the first time you are logging the front panel data for this VI, LabVIEW prompts you to name the datalog file. Name the file with a .dat file extension.
Note A waveform chart logs only one data point at a time with front panel data logging. If you wire an array to the chart indicator, the datalog file contains a subset of the array the chart displays. |