EasyManua.ls Logo

R&S FSPN - Programming Examples; Service Request

R&S FSPN
555 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control
R&S
®
FSPN
519User Manual 1179.4363.02 ─ 01
STATus:QUEStionable:ACPLimit:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:EXTended:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:EXTended:INFO:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:FREQuency:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:LIMit<n>:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:LMARgin<n>:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:PNOise:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:POWer:PTRansition <SumBit>,<ChannelName>
STATus:QUEStionable:POWer:DCPNoise:PTRansition <SumBit>,<ChannelName>
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>
.
Window
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.
11.11 Programming Examples
Some advanced programming examples for complex measurement tasks are provided
here.
Service Request....................................................................................................519
11.11.1 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.
11.11.1.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
Programming Examples

Table of Contents

Related product manuals