Main Content
startForeground
(Not recommended) Start foreground operations
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Version History.
Syntax
Description
startForeground(
starts operations of
the session object, s
);s
, and blocks MATLAB® command line and other code until the session operation is complete.
[
returns the data acquired, timestamps relative to the time the operation is
triggered, and a trigger time indicating the absolute time the operation was
triggered.data
,timeStamps
,triggerTime
]
= startForeground(s
);
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010bSee Also
Functions
daq.createSession
|addAnalogInputChannel
|addAnalogOutputChannel
|addDigitalChannel
|startBackground