ScansQueued

Indicate number of scans queued for output

Description

In the session-based interface, the ScansQueued property displays the number of scans queued for output queueOutputData. The ScansQueued property increases when you successfully call queueOutputData. The ScansQueued property decreases when the hardware reports that it has successfully output data.

Values

This read-only value is based on the number of scans queued.

Example

Display Scans Queued

Queue some output data to an analog output channel and examine the session properties to see how many scans are queued.

Create a session and add an analog output channel.

s = daq.createSession('ni');
ch = addAnalogOutputChannel(s,'Dev1','ao1','voltage');

Queue some output data and call the ScansQueued property to see number of data queued.

s.queueOutputData(linspace(-1,1,1000)');
s.ScansQueued
s.ScansQueued
ans =

                 1000

See Also

Functions

queueOutputData