This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Indicate number of scans output by hardware


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


The value depends on information from the hardware.


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


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)');

Examine the ScansOutputByHardware property.

ans =