LCX_UserManual_en_08_1.pdf - 第216页

Remote control commands R&S ® LCX Series 216 User Manual 1 179.2260.02 ─ 08 The query returns the sum of all counts. Example: See Example "Using the binning function" on page 215. Usage: Query only Options:…

100%1 / 265
Remote control commands
R&S
®
LCX Series
215User Manual 1179.2260.02 ─ 08
Example: Using the binning function
The example represents the remote control commands for setting the storage location
of the binning file, and setting the parameters for the binning measurement.
*************************************************
// Upload a user-defined binning file
// Select storage location, file name and
// file extension
// Upload the binning file
// Activate the binning function
HANDler:CONFig:PATH "USB1A/LCX200/binning/binning_1k_nompct.csv"
HANDler[:STATe] 1
*************************************************
// Query the statistic results of the binning measurement
// Query the counts of all bins
HANDler:BIN:STATistic?
// Returns a set of 8 integer values
// Response: 6,125,2,122,0,0,0,2
// Query the number of measured samples since reset
HANDler:BIN:STATistic:COUNt?
// Response: 257 // sum of all counts
*************************************************
// Reset the statistic of the binning measurement
HANDler:BIN:STATistic:RESet
HANDler:BIN:STATistic?................................................................................................. 215
HANDler:BIN:STATistic:COUNt?......................................................................................215
HANDler:BIN:STATistic:RESet.........................................................................................216
HANDler:CONFig:PATH..................................................................................................216
HANDler[:STATe]............................................................................................................216
HANDler:BIN:STATistic?
Queries the number of samples counted in the bins.
The query returns 8 integer values.
Example:
See Example "Using the binning function" on page 215.
Usage: Query only
Options: R&S LCX-K107
Manual operation: See "Counter" on page 115
HANDler:BIN:STATistic:COUNt?
Queries the total number of samples measured since reset
HANDler subsystem
Remote control commands
R&S
®
LCX Series
216User Manual 1179.2260.02 ─ 08
The query returns the sum of all counts.
Example: See Example "Using the binning function" on page 215.
Usage: Query only
Options: R&S LCX-K107
Manual operation: See "Counter" on page 115
HANDler:BIN:STATistic:RESet
Resets the evaluated binning measurement statistics.
Example:
See Example "Using the binning function" on page 215.
Usage: Event
Options: R&S LCX-K107
Manual operation: See "Counter" on page 115
HANDler:CONFig:PATH <File Path>
HANDler:CONFig:PATH? <File Path>
Uploads the binning configuration file.
Parameters for setting and query:
<File Path>
Example: See Example "Using the binning function" on page 215.
Options: R&S LCX-K107
Manual operation: See "Load From File" on page 113
HANDler[:STATe] <Handler State>
Enables the binning measurement.
Parameters:
<Handler State>
Example: See Example "Using the binning function" on page 215.
Options: R&S LCX-K107
Manual operation: See "Enabled" on page 113
11.13 HCOPy subsystem
The HCOPy subsystem contains the commands for requesting information and config-
uring the format of hardcopies.
HCOPy subsystem
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