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.

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?