
Remote Commands in the Receiver Application
R&S
®
ESW
679
User Manual 1177.6298.02 ─ 08
STATus:QUEStionable:TRANsducer:PTRansition?
<SumBit>,<ChannelName>
STATus:QUEStionable:TIME:PTRansition
<SumBit>,<ChannelName>
These commands control the Positive TRansition part of a register.
Setting a bit causes a 0 to 1 transition in the corresponding bit of the associated regis-
ter. The transition also writes a 1 into the associated bit of the corresponding EVENt
register.
Suffix:
<n>
.
Parameters:
<SumBit>
Range:
0 to 65535
<ChannelName>
String containing the name of the channel.
The parameter is optional. If you omit it, the command works for
the currently active channel.
15.11
Service Request
The service request routine requires an extended initialization of the instrument in
which the relevant bits of the transition and enable registers are set. In addition the ser-
vice request event must be enabled in the VISA session.
15.11.1
Initiate Service Request
REM ---- Example of initialization of the SRQ in the case
' of errors -------
PUBLIC SUB SetupSRQ()
CALL InstrWrite (analyzer, "*CLS") 'Reset status reporting system
CALL InstrWrite (analyzer, "*SRE 168") 'Enable service request for
'STAT:OPER, STAT:QUES and ESR
'register
CALL InstrWrite (analyzer, "*ESE 60") 'Set event enable bit for
'command, execution, device-
'dependent and query error
CALL InstrWrite (analyzer, "STAT:OPER:ENAB 32767")
'Set OPERation enable bit for
'all events
CALL InstrWrite (analyzer, "STAT:OPER:PTR 32767")
'Set appropriate OPERation
'Ptransition bits
CALL InstrWrite (analyzer, "STAT:QUES:ENAB 32767")
'Set questionable enable bits
'for all events
CALL InstrWrite (analyzer, "STAT:QUES:PTR 32767")
'Set appropriate questionable
'Ptransition bits
CALL viEnableEvent(analyzer, VI_EVENT_SERVICE_REQ, VI_QUEUE, 0)
Service Request