LCX_UserManual_en_08_1.pdf - 第235页

Remote control commands R&S ® LCX Series 235 User Manual 1 179.2260.02 ─ 08 ************************************************* // Set the USB interface protocol: INTerfaces:USB:CLASs "TMC" INT erfaces:USB:CL…

100%1 / 265
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
Remote control commands
R&S
®
LCX Series
235User Manual 1179.2260.02 ─ 08
*************************************************
// Set the USB interface protocol:
INTerfaces:USB:CLASs "TMC"
INTerfaces:USB:CLASs.................................................................................................. 235
SYSTem:BEEPer:WARNing:STATe.................................................................................. 236
SYSTem:BEEPer:WARNing[:IMMediate].......................................................................... 236
SYSTem:BEEPer[:COMPlete]:STATe............................................................................... 236
SYSTem:BEEPer[:COMPlete][:IMMediate]........................................................................236
SYSTem:COMMunicate:LAN:ADDRess............................................................................237
SYSTem:COMMunicate:LAN:APPLy................................................................................ 237
SYSTem:COMMunicate:LAN:DGATeway..........................................................................237
SYSTem:COMMunicate:LAN:DHCP.................................................................................237
SYSTem:COMMunicate:LAN:DISCard..............................................................................237
SYSTem:COMMunicate:LAN:EDITed?..............................................................................237
SYSTem:COMMunicate:LAN:HOSTname.........................................................................238
SYSTem:COMMunicate:LAN:MAC?.................................................................................238
SYSTem:COMMunicate:LAN:RESet.................................................................................238
SYSTem:COMMunicate:LAN:SMASk............................................................................... 238
SYSTem:COMMunicate:NETWork:VNC:PORT..................................................................238
SYSTem:COMMunicate:NETWork:VNC[:STATe]............................................................... 239
SYSTem:COMMunicate:NETWork:VNC:PORT..................................................................239
SYSTem:COMMunicate:NETWork:VNC[:STATe]............................................................... 239
SYSTem:DATE.............................................................................................................. 239
SYSTem:HW:VERSion?..................................................................................................240
SYSTem:KEY:BRIGhtness.............................................................................................. 240
SYSTem:LOCal..............................................................................................................240
SYSTem:REMote........................................................................................................... 240
SYSTem:RESTart...........................................................................................................240
SYSTem:RWLock...........................................................................................................241
SYSTem:SETTing:DEFault:SAVE.................................................................................... 241
SYSTem:TIME...............................................................................................................241
SYSTem:UPTime?......................................................................................................... 241
INTerfaces:USB:CLASs <USB class>
Selects the USB communication class.
Parameters:
<USB class> CDC | TMC
CDC
Uses the virtual communication port protocol, that enables you
to emulate serial ports over USB.
TMC
Uses the protocol for communication with USB devices.
Example: See Example "Network communication settings" on page 234.
Manual operation: See "USB Class" on page 166
SYSTem subsystem
Remote control commands
R&S
®
LCX Series
236User Manual 1179.2260.02 ─ 08
SYSTem:BEEPer:WARNing:STATe <En-/Disable warning beep>
Activates the R&S LCX to create an acoustic signal on errors and warnings.
The query returns the current state.
Parameters:
<En-/Disable warning
beep>
1 | 0 | ON | OFF
*RST: 1|ON
Example: See Example "General instrument settings" on page 232.
Manual operation: See "Error Beep" on page 135
SYSTem:BEEPer:WARNing[:IMMediate]
Activates that the R&S LCX issues a beep on error or warning immediately.
Parameters:
<state> 1 | 0 | ON | OFF
*RST: ON | 1
Example: See Example "General instrument settings" on page 232.
Usage: Event
Manual operation: See "Error Beep" on page 135
SYSTem:BEEPer[:COMPlete]:STATe <En-/Disable operation complete beep>
Activates the R&S LCX to create an acoustic signal on a completed operation.
The query returns the current state.
Parameters:
<En-/Disable
operation complete
beep>
1 | 0 | ON | OFF
*RST: ON | 1
Example: See Example "General instrument settings" on page 232.
Manual operation: See "Error Beep" on page 135
SYSTem:BEEPer[:COMPlete][:IMMediate]
Activates that the R&S LCX issues a beep after operation complete immediately.
The query returns the current state.
Parameters:
<boolean> 1 | 0 | ON | OFF
*RST: ON | 1
Example: See Example "General instrument settings" on page 232.
Usage: Event
SYSTem subsystem