Remote Commands
R&S
®
FSW
1378
User Manual 1173.9411.02 ─ 43
CALC:MATH (TRACE1-TRACE2)
CALC:MATH:POS 100
//Calculates the linear difference between the measured and average values.
//The resulting trace is displayed at the top of the diagram.
//--------------Performing the Measurement---------------------
INIT;*WAI
//Initiates a new measurement and waits until the last sweep has finished.
//---------------Retrieving Results----------------------------
TRAC:DATA? TRACE1
TRAC:DATA? TRACE2
TRAC:DATA? TRACE3
TRAC:DATA? TRACE4
//Returns one power value per sweep point for each trace.
TRAC:DATA:X?
//Returns one frequency value per sweep point for each trace.
14.15.2
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.
14.15.2.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
Programming Examples
Содержание FSW Series
Страница 1: ...R S FSW Signal and Spectrum Analyzer User Manual User Manual Version 43 1173941102 2...
Страница 16: ...Contents R S FSW 16 User Manual 1173 9411 02 43...
Страница 1388: ...Maintenance R S FSW 1388 User Manual 1173 9411 02 43 c If necessary remove any excess moisture with a dry soft cloth Cleaning...