ScansOutputByHardware

Indicate number of scans output by hardware

Description

In the session-based interface, the ScansOutputByHardware property displays the number of scans output by the hardware after you start the operation using startBackground.

    Tip   The value depends on information from the hardware.

Values

This read-only value is based on the output of the hardware configured for your session.

Example

Display Scans Output by Hardware

Generate data on an analog output channel and to see how many scans are output by the hardware.

Create a session and add an analog output channel.

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

Queue some output data and start the generation.

s.queueOutputData(linspace(-1, 1, 1000)');
startForeground(s);

Examine the ScansOutputByHardware property.

s.ScansOutputByHardware
ans =

                 1000
Was this topic helpful?