HP Water System HP VXI Benutzerhandbuch

Seite von 34
28
Command Reference  
Common Command Reference
This section describes the IEEE-488.2 Common Commands that can be used to 
program instruments in the mainframe.  Commands are listed alphabetically (the 
following table shows the Common Commands listed by functional group).  For 
additional information on any Common Commands, refer to the IEEE Standard 
488.2-1987
.
*CLS
Clear Status Command.  The *CLS command clears all status registers (Standard 
Event Status Register, Standard Operation Event Status Register, Questionable Data 
Event Register) and the error queue for an instrument.  This clears the corresponding 
summary bits (bits 3, 5, & 7) and the instrument-specific bits (bits 0, 1, & 2) in the 
Status Byte Register.  *CLS does not affect the enabling of bits in any of the status 
registers (Status Byte Register, Standard Event Status Register, Standard Operation 
Enable Status Register, or Questionable Data Enable Status Register).  (The SCPI 
command STATus:PRESet does clear the Standard Operation Status Enable and 
Questionable Status Enable registers.)  *CLS disables the Operation Complete 
function (*OPC command) and the Operation Complete Query function (*OPC? 
command).
IEEE 488.2 Common Commands Functional Groupings
Category
Command
Title
General
Instrument 
Status
Macros
Synchronization
*IDN?
*RST
*TST?
*CLS
*ESE 
<mask>
*ESE?
*ESR?
*SRE 
<mask>
*SRE?
*STB?
*DMC 
<name>
,
<cmds>
*EMC 
<state>
*EMC?
*GMC? 
<name>
*LMC?
*PMC
*RMC 
<name>
*OPC
*OPC?
*WAI
Identification Query
Reset Command
Self-Test Query
Clear Status Command
Standard Event Status Enable Command
Standard Event Status Enable Query
Standard Event Status Register Query
Service Request Enable Command
Service Request Enable Query
Status Byte Query
Define Macro Command
Enable Macros Command
Enable Macro Query
Get Macro Query
Learn Macro Query
Purge all Macros Command
Remove individual Macro Command
Operation Complete Command
Operation Complete Query
Wait-to-Continue Command