start
R2026bStart background operation for DataAcquisition
interface
Description
start( starts background operation for the
d)DataAcquisition interface d. When the input
acquisition and output generation begin depends on channel configuration and preloaded
output data:
If the interface has only input channels, the acquisition begins immediately and acquires scan data for the default scan duration of
1second. Use thereadfunction to access the acquired data.If the interface has only output channels, generation begins immediately if data is already queued with the
preloadfunction. If no data is queued, background data generation begins when you make data available with thewritefunction.If the interface has both input and output channels, the input acquisition begins and ends at the same time as the output generation, resulting in the same number of scans. Output generation begins if there is queued data with
preloador if you make data available withwrite.
start( runs the background
operation continuously until you call d,"Continuous")stop. Preloaded output data is
sent to the output channels once. You must call write to continue
providing output data. If the interface has input channels, use read to
access acquired data while the operation is running.
start( generates periodic
output by repeating the data provided by d,"RepeatOutput")preload or
write until you call stop. The interface
d must have output channels. The function automatically repeats data
without needing additional calls to write.
start(
starts the finite background operation by specifying the span in duration or number of
scans. If the interface has only input channels, acquisition runs for the specified span. If
the interface has output channels, the function ignores the specified span and determines
the number of scans from the amount of queued output data.d,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2020a
See Also
Functions
Topics
- Generate Signals in Background
- Generate Signals in Background Continuously
- Generate Data Continuously in Background Using NI Devices
- Acquire Data Continuously in Background Using NI Devices
- Log Analog Input Data to a File Using NI Devices
- Communicate with I2C Devices and Analyze Bus Signals Using Digital IO
- Generate Pulse Width Modulated Signals Using NI Devices
- Acquire Continuous Audio Data
- Create an Echometer Using Audio Measurements
- Acquire Data from Two Devices at Different Rates