LCX_UserManual_en_08_1.pdf - 第233页

Remote control commands R&S ® LCX Series 233 User Manual 1 179.2260.02 ─ 08 SYSTem:BEEPer[:COMPlete][:IMMediate? // Response: 1 // Disable the acoustic signal SYSTem:BEEPer:WARNing:STATe 0 SYSTem:BEEPer[:COMPlete]:ST…

100%1 / 265
Remote control commands
R&S
®
LCX Series
232User Manual 1179.2260.02 ─ 08
Example: General instrument settings
The example represents the remote control commands for general settings.
*************************************************
// Request information on the instrument configuration,
// up time and restart the instrument.
SYSTem:HW:VERSion?
// Response: 0x3
SYSTem:UPTime?
// Response: "0.08:11:00"
SYSTem:RESTart
*************************************************
// Save instrument default settings in a file
SYSTem:SETTing:DEFault:SAVE "/USB1A/LCX100/Settings/LMeasurementSettings.rds"
*************************************************
// Switch between manual and remote control
SYSTem:RWLock // disables manual control
SYSTem:REMote // switches to remote state
SYSTem:LOCal // enables manual control
*************************************************
// Set the instrument internal calendar and clock
SYSTem:DATE 2021,02,21
SYSTem:DATE?
// Response: 2021,2,21
SYSTem:TIME 10,08,41
SYSTem:TIME?
// Response: 10,8,41
*************************************************
// Adjust the key brightness, e.g. to 70%
SYSTem:KEY:BRIGhtness 0.7
*************************************************
// Set the sound functionality of the beeper.
// Enable a beep on error or warning
SYSTem:BEEPer:WARNing:STATe 1
SYSTem:BEEPer:WARNing[:IMMediate] 1
SYSTem:BEEPer:WARNing:STATe?
Response: 1
// Enable a beep on operation completed
SYSTem:BEEPer[:COMPlete]:STATe 1
SYSTem:BEEPer[:COMPlete][:IMMediate] 1
SYSTem:BEEPer[:COMPlete]:STATe?
// Response: 1
SYSTem subsystem
Remote control commands
R&S
®
LCX Series
233User Manual 1179.2260.02 ─ 08
SYSTem:BEEPer[:COMPlete][:IMMediate?
// Response: 1
// Disable the acoustic signal
SYSTem:BEEPer:WARNing:STATe 0
SYSTem:BEEPer[:COMPlete]:STATe 0
SYSTem subsystem
Remote control commands
R&S
®
LCX Series
234User Manual 1179.2260.02 ─ 08
Example: Network communication settings
The example represents the remote control commands for configuring and activating
the interfaces for remote control.
*************************************************
// Configure the network-related settings
// assign the address information manually
SYSTem:COMMunicate:LAN:DHCP 0
SYSTem:COMMunicate:LAN:ADDRess "10.113.0.104"
SYSTem:COMMunicate:LAN:SMASk "255.255.252.0"
SYSTem:COMMunicate:LAN:DGATeway "10.113.0.1"
SYSTem:COMMunicate:LAN:APPLy
// Reset the network configuration and restart
SYSTem:COMMunicate:LAN:RESet
*************************************************
// Query the MAC address
SYSTem:COMMunicate:LAN:MAC?
// Response: "00-90-B8-21-66-F1"
*************************************************
// Set a user-deined hostname for the instrument
SYSTem:COMMunicate:LAN:HOSTname "RS-LCX2000-123456"
*************************************************
// Request information on the LAN settings
SYSTem:COMMunicate:LAN:DHCP?
// Response: 0
SYSTem:COMMunicate:LAN:ADDRess?
// Response: "10.113.0.104"
SYSTem:COMMunicate:LAN:SMASk?
// Response: "255.255.252.0"
SYSTem:COMMunicate:LAN:DGATeway?
// Response: "10.113.0.1"
SYSTem:COMMunicate:LAN:HOSTname?
// Response: "RS-LCX2000-123456"
// Query the MAC address
SYSTem:COMMunicate:LAN:MAC?
// Response: "00-90-B8-21-66-F1"
*************************************************
// Set the VNC port address and activate VNC access over LAN
SYSTem:COMMunicate:NETWork:VNC:PORt 5900
SYSTem:COMMunicate:NETWork:VNC:STATe 1
// Request information on the VNC port address:
SYSTem:COMMunicate:NETWork:VNC:PORt?
// Response: 5900
SYSTem subsystem