inputSingleScan
(Not recommended) Acquire single scan from all input channels
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Version History.
Description
returns an immediately acquired single scan from each input channel in the session as a
1-by-data
= inputSingleScan(s
);n
array of doubles. The value is stored in
data
, where n
is the number of input channels
in the session.
Tip
To acquire more than a single scan, use startForeground
.
[
returns an immediately acquired single scan from each input channel in the session as a
1-by-data
,triggerTime
]
= inputSingleScan(s
);n
array of doubles. The value is stored in
data
, where n
is the number of input channels
in the session and the MATLAB® serial date timestamp representing the time the data is acquired is
returned in triggerTime
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010bSee Also
Functions
startForeground
|daq.createSession
|addAnalogInputChannel
|addCounterInputChannel
|addDigitalChannel