Specifications
*CLS
Clear Status Command. The *CLS command clears all status event registers
(Standard Event Status Event Register, Standard Operation Status Event Register,
Questionable Data Event Register) and the instrument’s error queue. This clears the
corresponding summary bits (bits 3, 5, & 7) in the Status Byte Register. *CLS does
not affect the enable bits in any of the status register groups. (The SCPI command
STATus:PRESet does clear the Operation Status Enable and Questionable Data
Enable registers.) *CLS disables the Operation Complete function (*OPC
command) and the Operation Complete Query function (*OPC? command).
*DMC <name>,<cmd_data>
Define Macro Command. Assigns one or a sequence of commands to a named
macro.
The command sequence may be composed of SCPI and/or Common commands.
The <name> parameter may be the same as a SCPI command, but may not be the
same as a Common command. When a SCPI named macro is executed, the macro
rather than the SCPI command is executed. To regain the function of the SCPI
command, execute *EMC 0 command.
The <cmd_data> parameter is sent as arbitrary block program data (see page 180).
*EMC
Enable Macro Command. When <enable> is non-zero, macros are enabled. When
<enable> is zero, macros are disabled.
*EMC?
Enable Macro query. Returns either 1 (macros are enabled) or 0 (macros are
disabled).
*ESE <mask>
Standard Event Status Enable Register Command. Enables one or more events in the
Standard Event Status Register to be reported in bit 5 (the Standard Event Status
Summary Bit) of the Status Byte Register. Enable an event by specifying its decimal
weight for <mask>. To enable more than one event (bit), specify the sum of the
decimal weights. The C-SCPI type for <mask>isint16.
Bit # 7 6 5 4 3 2 1 0
Weighted Value
128 64 32 16 8 4 2 1
Event
power-On User
Request
Command
Error
Execution
Error
Device Dependent
Error
Query
Error
Request
Control
Operation
Complete
312 Chapter 6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










