![Ronde & Schwarz 1304.0004K03 Скачать руководство пользователя страница 1011](http://html1.mh-extra.com/html/ronde-and-schwarz/1304-0004k03/1304-0004k03_user-manual_14849871011.webp)
Remote Commands
R&S
®
FPL1000
1011
User Manual 1178.3370.02 ─ 11
STATus:QUEStionable:TEMPerature: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.
10.12.7
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.
10.12.7.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)
'Enable the event for service
Using the Status Register