LCX_UserManual_en_08_1.pdf - 第218页
Remote control commands R&S ® LCX Series 218 User Manual 1 179.2260.02 ─ 08 Example: see Section 1 1.13, "HCOPy subsystem" , on page 216. Usage: Query only 1 1.14 LOG subsystem The LOG subsystem contains th…

Remote control commands
R&S
®
LCX Series
217User Manual 1179.2260.02 ─ 08
Example: Using the HCOPy function
The example represents the remote control commands for prints of the screen.
****************************************
// Query the screenshot parameters
:HCOPy FORMat?
// Response: PNG
:HCOPy:SIZE:X?
// Response: 800
:HCOPy:SIZE:Y?
// Response: 540
:HCOPy:DATA?
// Response: screenshot in raw data format
HCOPy:DATA?.............................................................................................................. 217
HCOPy:FORMat?.......................................................................................................... 217
HCOPy:SIZE:X?............................................................................................................ 217
HCOPy:SIZE:Y?............................................................................................................ 217
HCOPy:DATA?
Queries the current display content (screenshot) in binary (raw data) format.
Example:
see Section 11.13, "HCOPy subsystem", on page 216.
Usage: Query only
HCOPy:FORMat? <format>
Returns the file format used for saving a screenshot.
Parameters for setting and query:
<format> PNG
PNG
Portable Network Graphic
Example: see Section 11.13, "HCOPy subsystem", on page 216.
Usage: Query only
HCOPy:SIZE:X?
Queries the width (horizontal dimension) of the screenshot.
Example:
see Section 11.13, "HCOPy subsystem", on page 216.
Usage: Query only
HCOPy:SIZE:Y?
Queries the height (vertical dimension) of the screenshot.
HCOPy subsystem

Remote control commands
R&S
®
LCX Series
219User Manual 1179.2260.02 ─ 08
Example: Logging data settings
The example represents the remote control commands for configuring the logging
mode.
****************************************
// Configure the logging function.
// Deactivate logging mode to set the parameters:
****************************************
:LOG:STATe OFF
****************************************
// Configure the parameters:
// select 10 min time interval, SPAN mode, start time and duration.
:LOG:INTerval 300
:LOG:MODE SPAN
:LOG:STIMe 2020,5,1,13,30,00
:LOG:DURation 150
// :LOG:MODE COUNt
// :LOG:COUNt 100
****************************************
// Query the data logging settings
:LOG:MODE?
// Response: SPAN
:LOG:FNAME?
// Response: 'log-20210225T105014.455.csv', EXT
:LOG:INTerval?
/// Response 300
:LOG:STIMe?
// Response: 2020,5,1,13,30,00 // 2020-05-01, 13:30 pm
:LOG:DURation?
// Response: 150 // 2 h 30 min,0 s
:LOG:COUNt?
// Response: 100
:LOG:COUNt? MIN
// Response: 1
:LOG:COUNt? MAX
// Response: 1000000
****************************************
// Start and stop logging data
:LOG[:STATe] ON
:LOG[:STATe]?
// Response: 1 // logging data is activated
****************************************
// Restart logging of a new measurement
LOG subsystem
