Network and Remote Operation
R&S
®
FSW
783User Manual 1173.9411.02 ─ 43
# python script created by FSW: 29:11:2017 09:08:53
import visa
# connect to instrument (MU717225)
VisaResourceManager = visa.ResourceManager()
FSW = VisaResourceManager.open_resource("TCPIP::10.124.0.195::INSTR")
# Display update ON
FSW.write("SYST:DISP:UPD ON")
FSW.write("*RST")
FSW.write("INIT:CONT OFF")
FSW.write("SENS:FREQ:CENT 850000000")
FSW.write("SENS:FREQ:SPAN 4000000")
FSW.write("DISP:WIND:SUBW:TRAC:Y:SCAL:RLEV 10")
FSW.write("CALC:MARK:FUNC:POW:SEL ACP")
FSW.write("CALC:MARK:FUNC:POW:PRES S2CD")
FSW.write("SENS:ADJ:LEV;*WAI")
FSW.write("SENS:POW:HSP ON")
FSW.write("TRAC1:DATA? TRACE1")
FSW.query("CALC1:MARK:Y?")
FSW.write("CALC1:MARK:FUNC:POW:RES? CPOW")
# Back to local mode
FSW.write("@LOC")
13.5 Network and Remote Control Settings
Access: [SETUP] > "Network + Remote"
Network settings in secure user mode
Be sure to store all network settings beforeSecureUser Mode is enabled; see Chap-
ter 5.1.7, "Protecting Data Using the Secure User Mode", on page 43.
If the currently stored network settings are not suitable, you must correct them each
time you switch on the R&S FSW in secure user mode, as the settings are not stored
permanently in this case.
The remote commands required to define these settings are described in Chap-
ter 14.10.7, "Configuring the Network and Remote Control", on page 1295.
Step-by-step instructions are provided in Chapter 13.6, "How to Set Up a Network and
Remote Control", on page 797.
● General Network Settings..................................................................................... 784
● GPIB Settings........................................................................................................786
● Compatibility Settings............................................................................................789
Network and Remote Control Settings