12: SCPI command reference 2470 High Voltage SourceMeter Instrument
12-66 2470-901-01 Rev. A / May 2019
[:SENSe[1]]:COUNt
This command sets the number of measurements to make when a measurement is requested.
Type Affected by Where saved Default value
Command and query Recall settings
Instrument reset
Save settings 1
Usage
[:SENSe[1]]:COUNt <n>
[:SENSe[1]]:COUNt <DEF|MIN|MAX>
[:SENSe[1]]:COUNt?
[:SENSe[1]]:COUNt? <DEF|MIN|MAX>
The number of measurements (1 to 300,000)
The DEFault, MINimum, or MAXimum value
Details
This command sets the number of measurements that are made when a measurement is requested.
This command does not affect the trigger model.
This command sets the count for all measure functions.
If you set the count to a value that is larger than the capacity of the reading buffer and the buffer fill
mode is set to continuous, the buffer wraps until the number of readings specified have occurred. The
earliest readings in the count are overwritten. If the buffer is set to fill once, readings stop when the
buffer is filled, even if the count is not complete.
To get better performance from the instrument, use the Simple Loop trigger model template instead
of using the count command.
Example
:TRAC:CLEAR
:COUN 10
:MEAS?
Clear data from the reading buffer.
Set the count to 10.
Make ten measurements.
Returns the last measurement.
Example output:
-5.693831E-05
Read all ten measurements.
Example output:
-7.681046E-05,-2.200288E-04,-9.086048E-05,-6.388056E-05,-7.212282E-05,-4.874761E-0
5,-4.741654E-04,-6.811028E-05,-5.110232E-05,-5.693831E-05