SAMPle

 

The SAMPle command subsystem operates with the TRIGger command subsystem.

 

The SAMPle subsystem designates the number of readings (count) made for each

 

trigger signal received.

Subsystem Syntax

SAMPle

 

:COUNt <number>MINMAX

 

:COUNt? [MINMAX]

:COUNt

 

 

 

 

SAMPle:COUNt <number>MINMAX designates the number of readings per

 

trigger.

Parameters

Parameter Name

Parameter Type

Range of Values

Default Units

 

 

 

 

<number>

numeric

1 through 50,000MINMAX

none

 

 

 

 

 

 

 

 

Comments MINimum sets 1 reading per trigger. MAXimum sets 50,000 readings per trigger.

If MAX or 50,000 is specified for number, the command executes without error. When an INIT is executed requiring readings to be stored in internal memory, an “Insufficient memory” error is generated to show that the number of readings exceeds the memory available. However, you can execute READ? which returns the readings to the output buffer and does not use internal memory.

A number >50,000 returns Error -222, “Data out of range”.

CONFigure and MEASure set the sample count to 1.

*RST Condition: SAMP:COUN 1

Example Set the Sample Count

CONF:VOLT:DC

Function: DC voltage.

TRIG:SOUR EXT

Trigger source is external BNC on multimeter

SAMP:COUN 10

front panel.

Specify 10 readings per trigger.

READ?

Place multimeter in wait-for-trigger state;

 

make measurement when external trigger is

enter statement

received; send readings to output buffer.

Enter readings into computer.

114 Multimeter Command Reference

Chapter 3

Page 114
Image 114
HP WaterSkis E1312A, WaterSkis E1412A manual SAMPle, COUNt, RST Condition Sampcoun Example Set the Sample Count