| Data Acquisition Toolbox | Search  Help Desk |
| LogFileName | See Also |
LogFileName specifies the name of the disk file that data and events are written to. The log file name can be any string. If an extension is not specified, then .daq is used.
To log data and events, you must specify a value for LogFileName. Data and events are logged to a disk file only for analog input objects. For other device objects, data and events cannot be written to a disk file. For all device objects, information can be retrieved for certain events with the EventLog property.
Data and events are written out to the specified file for all channels contained by the analog input object. Just before the data is logged, a header is appended to the start of the file. The header contains all the properties of the analog input object, the date, and the absolute time when the data acquisition started.
Characteristics
| Device Objects | AI |
| Class | Common |
| Access | Read/write |
| Data Type | String |
| Modify while Running | Yes, but not settable while logging to disk. |
Values
The default value is an empty string.See Also
Properties
EventLog, Logging, LogToDisk, LogToDiskMode