Owner's manual

Table Of Contents
BIT 4882 030507 A-1
APPENDIX A - SCPI COMMON COMMAND/QUERY DEFINITIONS
A.1 INTRODUCTION
This appendix defines the SCPI common commands and queries used with the BIT 4882 and BIT
4882-F Interface Cards. Common commands and queries are preceded by an asterisk (*) and are
defined and explained in paragraphs A.2 through A.15, arranged in alphabetical order. Table A-1
provides a quick reference of all SCPI common commands and queries used in the Interface Card.
A.2 *CLS — CLEAR STATUS COMMAND
*CLS
Syntax: *CLS
Description: Clears status data. Clears the error queue of the instrument. Forces power supply to “operation
complete idle” and “operation complete query” state. Clears all Event Registers summarized in Status
Byte Register without affecting the corresponding Enable Registers: Standard Event Status Register
(ESR), Operation Status Event Register, Questionable Status Event Register, and Status Byte Regis-
ter (STB). Related commands: *OPC *OPC?. (See example, Figure A-1.)
A.3 *ESE — STANDARD EVENT STATUS ENABLE COMMAND *ESE
Syntax: *ESE <integer> where <integer> = positive whole number: 0 to 255 per Table A-2.
Default Value: 0
Description: This command programs the standard Event Status Enable register bits. The contents function
as a mask to determine which events of the Event Status Register (ESR) are allowed to set the ESB
(Event Summary Bit) of the Status Byte Register. Enables the Standard events to be summarized in
the Status Byte register (1 = set = enable function, 0 = reset = disable function). All of the enabled
events of the standard Event Status Enable register are logically ORed to cause ESB (bit 5) of the Sta-
tus Byte Register to be set (1 = set = enable, 0 = reset = disable)
. (See example, Figure A-1.)
TABLE A-1. IEEE 488.2 COMMAND/QUERY INDEX
COMMAND PAR. COMMAND PAR.
*CLS A.2 *SRE, ? A.10, A.11
*ESE, ? A.3, A.4 *STB? A.12
*ESR? A.5 *TRG A.13
*IDN? A.6 *TST? A.14
*OPC, ? A.7, A.8 *WAI A.15
*RST A.9
TABLE A-2. STANDARD EVENT STATUS ENABLE REGISTER AND STANDARD
EVENT STATUS REGISTER BITS
CONDITION NU NU CME EXE DDE QUE NU OPC
BIT 76543210
VALUE1286432168421
NU (Not Used)
CME Command Error
EXE Execution Error
DDE Device Dependent Error
QUE Query Error
OPC Operation Complete