Remote Commands
R&S
®
FSVA3000/ R&S
®
FSV3000
1202
User Manual 1178.8520.02 ─ 01
//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
CALL viEnableEvent(analyzer, VI_EVENT_SERVICE_REQ, VI_QUEUE, 0)
'Enable the event for service
'request
Programming Examples