HP (Hewlett-Packard) E1459A Network Router User Manual


 
70 HP E1459A SCPI Command Reference
IEEE 488.2 Common Commands
The following table lists the IEEE 488.2 Common Commands listed by functional group that
can be executed by the HP E1459A Digital Input / Interrupt Module. However, commands
are listed alphabetically in the reference. Example are shown in the reference when the com-
mand has parameters or returns a non-trivial response; otherwise, the command string is as
shown in the table. For additional information, refer to IEEE Standard 488.2-1987.
Command Title Description
*CLS Clear Status Registers Clears all STATus event registers and clears the error queue.
*ESE <mask> Event Status Enable Sets the bits in the Event Status Enable Register. <mask> has a range of 0 through 255 and
must be entered in decimal format.
*ESE? Event Status Enable Query Returns the current programmed value of the Event Status Enable Register.
*ESR? Event Status Register Query. Queries and clears contents of the Standard Event Status Register.
*IDN? Identification query Returns the (unquoted) identification string: HEWLETT-PACKARD,E1459A/Z2404B,0,
revision
*OPC Operation Complete This command always immediately sets the operation complete bit (bit 0) in the Standard
Event Register because there are never any pending operations.
*OPC? Operation Complete Query This command always returns a 1 since there are never any pending operations.
*RCL<
state
> Recalls stored instrument state
from memory
Recalls the specified stored instrument state where <
state
> has a value of 0 through 9. The
following conditions or settings are saved/recalled: debounce time, positive edge detect,
positive edge mask, negative edge detect, negative edge mask, QUEStionable and OPERation
PSUMmary Status Enable Registers, QUEStionable and OPERation Status Event Register,
QUEStionable and OPERation PORT Status Event Register, QUEStionable and OPERation
PSUM Status Event Register.
*RST Resets the module Resets the module to the settings shown in the "Power-On and Reset State" table following the
individual common command descriptions.
*SAV<
state
> Save state to memory Saves the present instrument state in the specified memory location (1 to 9). Refer to *RCL.
*SRE <
mask
> Service Request Enable Sets the bits in the Service Request Enable Register. <mask> has a range of 0 through 255
and must be entered in decimal format.
*SRE? Service Request Enable Query Returns the current programmed value of the Service Request Enable Register.
*STB? Status Byte Returns the current value of the Status Byte Register.
*TRG Bus Trigger *TRG is not supported on the HP E1459A.
*TST? Self-Test Returns "0" if self-test passed. Returns "1" if read of ID register (00
h
) failed, returns "2" if read
of Device Type Register (02
h
) failed, "20
n
" if interrupt test on Port
n
failed. Instrument state
returned to the power-on / reset state after *TST?
*WAI Wait to Complete Prevents execution of commands until the No Operation Pending message is true. Since each
command is fully executed at the time of execution, the No Operation Pending message is
always true and the *WAI command always immediately executes when received.
*EMC <
n
> Enable Macro Enables execution of macro <
n
>.
*EMC? <
n
> Enable macro query Queries execution state of macro <
n
>.
*RMC Remove macros Deletes all macros.
*LMC? List macros Lists macros by name.
*DMC Define macro Defines a macro.
*GMC? Menu query Gets results of menu query.
*PMC Purge macros Purges all system macros.