Chapter 2 Command Summary

HP 53131A/132A Command Summary

Table 2-1. IEEE 488.2 Common Commands

Mnemonic

Command Name

Function

 

 

 

*CAL?

Calibration

Causes the Counter to perform an internal interpolator self-

 

 

calibration and returns a response that indicates whether or

 

 

not the instrument completed the self-calibration without

 

 

error.

*CLS

Clear Status

Clears Status data structures (Event Registers and Error

 

 

Queue).

*DDT <arbitrary block>

Define Device Trigger Command

Defines either INIT, FETC?, READ?, or nothing to be

 

 

executed when the Counter receives a GET or *TRG

*DMC <string>,

Define Macro Command

command.

 

<arbitrary block>

 

Assigns a sequence of zero or more commands/queries to a

 

 

macro label.

*EMC <NRf>

Enable Macro Command

No query form.

Enables and disables expansion of macros.

 

 

*EMC?

Enable Macro Query

Non-zero value enables; zero value disables.

Queries whether macros are enabled.

*ESE <NRf>

Standard Event Status Enable

Sets the Standard Event Status Enable Register.

*ESE?

Standard Event Status Enable

 

 

Query

Queries the Standard Event Status Enable Register.

*ESR?

Event Status Register Query

Queries the Standard Event Status Register.

*GMC? <string>

Get Macro Contents Query

Queries the current definition of a currently defined macro

 

 

label.

*IDN?

Identification Query

Queries the Counter identification.

*LMC?

Learn Macro Query

Queries the currently defined macro labels.

*OPC

Operation Complete

Causes Counter to set the operation complete bit in the

 

 

Standard Event Status Register when all pending

 

 

operations (see Note) are finished.

*OPC?

Operation Complete Query

Places an ASCII “1” in the Output Queue when all

 

 

pending operations (see Note) are completed.

 

 

 

Note: Pending operations include measurements in progress.

2-22

Programming Guide