Rst – reset command, Sre – service request enable register command – Teledyne LeCroy WaveStation SCPI Command Reference Manual User Manual
Page 14

WaveStation SCPI
*RST – Reset Command
DESCRIPTION
The *RST command initiates a device reset. The *RST sets all eight traces to the
GND line and recalls the default setup.
SYNTAX
*RST
RELATED
*CAL, *RCL
*SRE – Service Request Enable Register Command
DESCRIPTION
The *SRE command sets the Service Request Enable register (SRE). This command
allows the user to specify which summary message bit(s) in the STB register will
generate a service request.
A summary message bit is enabled by writing a ‘1’ into the corresponding bit
location. Conversely, writing a ‘0’ into a given bit location prevents the associated
event from generating a service request (SRQ). Clearing the SRE register disables
SRQ interrupts.
The *SRE? query returns a value that, when converted to a binary number,
represents the bit settings of the SRE register. Note that bit 6 (MSS) cannot be set
and its returned value is always zero.
SYNTAX
*SRE <value>
<value> : = 0 to 255
QUERY SYNTAX
*SRE?
RESPONSE
*
SRE <value>
EXAMPLE 1
The following instruction allows an SRQ to be generated as soon as the MAV
summary bit (bit 4, i.e. decimal 16) or the INB summary bit (bit 0, i.e., decimal 1) in
the STB register, or both,are set. Summing these two values yields the SRE mask
16+1 = 17.
*SRE?
Return:
*SRE 17
12
922829 Rev C