IEEE-488.2 Common Command Quick Reference

IEEE-488.2 Common Command Quick Reference

The following table lists the IEEE-488.2 Common (*) Commands that can be executed by the HP E1418A D/A module. For more information about Common Commands, consult ANSI/IEEE Standard 488.2-1987.

Note These commands apply to many instruments and are not documented in detail here.

Command

Title

Description

 

 

 

 

 

 

*CLS

Clear status registers

Clears the event registers and request for OPC flag.

 

 

 

*ESE <mask>

Event status enable

Sets bits in the Event Status Enable Register.

 

 

 

*ESE?

Event status enable query

Queries the Event Status Enable Register.

 

 

 

*ESR?

Event status register query

Queries and clears the contents of the Standard Event Status Register.

 

 

 

*IDN?

Identification query

Returns the identification string of the module.

 

 

 

*OPC

Operation complete

Sets the Request for OPC flag when all pending operations have been

 

 

completed. Also sets the OPC bit in the Standard Event Register.

 

 

 

*OPC?

Operation complete query

Returns a 1 to the output queue when all pending operations are complete.

 

 

 

*RST

Reset

Disables all outputs. Rewrites calibration data from FLASH to RAM. Sets all

 

 

outputs to 0. Sets, if not jumpered, all outputs to voltage mode. Enables

 

 

trigger with source IMM.

 

 

 

*SRE <mask>

Service request enable

Sets the Service Request Enable bits and corresponding Serial Poll Status

 

 

Byte Register bits to generate a service request.

 

 

 

*SRE?

Service request enable query

Queries the Service Request Enable Register.

 

 

 

*STB?

Read status byte query

Queries the Status Byte Register.

 

 

 

*TST?

Self-test query

Performs the internal self-test. Disables all outputs. Sets all outputs to 0.

 

 

Returns the first error found in a 16-bit integer. See page 103.

 

 

 

*WAI

Wait to continue

Waits until all relays are settled and the idle trigger state is reached.

 

 

 

*TRG

Trigger

Causes an immediate trigger.

 

 

 

*DMC

Define macro

Defines a macro.

 

 

 

*GMC?

Menu query

Gets the results of a menu query.

 

 

 

*PMC

Purge macros

Purges all macros from memory.

 

 

 

*LMC?

List macros

Lists macros by name.

 

 

 

*EMC <n>

Enable macro

Enables execution of macro n.

 

 

 

*EMC? <n>

Enable macro query

Queries execution state of macro n.

 

 

 

*RMC

Remove macros

Removes all macros.

 

 

 

 

 

 

106 HP E1418A SCPI Command Reference

Chapter 3