Data Acquisition Toolbox | ![]() ![]() |
Starting the Device Object
You start a device object with the start
function. For example, to start the analog input object ai
,
After start
is issued, the Running
property is automatically set to On
, and both the device object and hardware device execute according to the configured and default property values.
While you are acquiring data with an analog input object, you can preview the data with the peekdata
function. peekdata
takes a snapshot of the most recent data but does not remove data from the engine. For example, to preview the most recent 500 samples acquired by each channel contained by ai
,
Because previewing data is usually a low-priority task, peekdata
does not guarantee that all requested data is returned. You can preview data at any time while the device object is running.
![]() | Acquiring and Outputting Data | Logging or Sending Data | ![]() |