Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Was this topic helpful?