Background Streaming Sequences

This topic includes sequence diagrams for analog input and output in the background.

Sequence for Finite Background Input

This diagram shows the timing sequence for a finite (fixed-size) analog input in the background. It illustrates the interface between a DAQ session and the AsyncIO channel when a user is performing a finite background clocked acquisition using a the session interface.

Sequence for Continuous Background Input with Stop

This diagram shows the timing sequence for a continuous analog input in the background, with a stop request while the device is acquiring data. It illustrates the interface between a DAQ session and the AsyncIO channel when a user is performing a continuous background clocked acquisition, then calls stop while data is being acquired.

Sequence for Finite Background Input with Wait

This use case revisits the finite background acquisition, when all scans have been acquired and the background operation is naturally stopping, and at the same time, the user issues a stop command while the DAQ AsyncIO plugin is in the “WaitingForDoneState.”

Sequence for Finite Background Input with Stop Race

This situation revisits the finite background acquisition, when all scans have been acquired and the background operation is naturally stopping, and at the same time, the user issues a stop command while the DAQ AsyncIO plugin is in the last iteration of the “RunningState.”

Related Topics