Data Acquisition Toolbox | ![]() ![]() |
I
ndicate whether data is being logged to memory or to a disk file
Description
Along with the Running
property, Logging
reflects the state of an analog input object.
Logging
can be On
or Off
.
Logging
is automatically set to On
when a trigger occurs. When Logging
is On
, acquired data is being stored in memory or to a disk file.
Logging
is automatically set to Off
when the requested samples are acquired, an error occurs, or a stop
function is issued. When Logging
is Off
, you can still preview data with the peekdata
function provided Running
is On
. However, peekdata
does not guarantee that all the requested data is returned.
To guarantee that acquired data contains no gaps, is must be logged to memory or to a disk file. Data stored in memory is extracted with the getdata
function, while data stored to disk is returned with the daqread
function. The destination for logged data is controlled with the LoggingMode
property.
Characteristics
Usage |
AI, Common |
Access |
Read-only |
Data type |
String |
Read-only when running |
N/A |
Values
{Off} |
Data is not logged to memory or a disk file. |
On |
Data is logged to memory or a disk file. |
Functions
daqread
, getdata
, peekdata
, stop
Properties
![]() | LogFileName | LoggingMode | ![]() |