Number of scans acquired during operation
In the session-based interface, the ScansAcquired property displays the number of scans acquired after you start the operation using startBackground.
The read-only value represents the number of scans acquired by the hardware. This value is reset each time you call startBackground.
Acquire analog input data and display the number of scans acquired.
Create a session, add an analog input channel,
s = daq.createSession('ni'); ch = addAnalogInputChannel(s,'Dev1','ai1','voltage');
See how many scan the session had acquired.
ans = 0
Start the acquisition and see how many scans the session has acquired
ans = 1000