Remote Control Commands > Power Sensor Measurement Subsystems > SENSe Subsystem > :SENSe[:POWer]:SWEep:HCOPy:DATA?
:SENSe[:POWer]:SWEep:HCOPy:DATA?

Queries the measurement data directly. The data is transferred to the remote client as data stream, e.g. for further processing (see "SCPI Parameters", description of block data).

Readable ASCII data is available for hardcopy language CSV. The representation of the values depends on the selected orientation for the CSV format.

Return values: 
<Data>
block data
Example: SENS:SWE:HCOP:DEV:LANG CSV

selects output format *.csv.

SENS:SWE:HCOP:DEV:LANG:CSV:ORI HOR

selects horizontal orientation

SENS:SWE:HCOP:DEV:LANG:CSV:SEP SEM

selects ";" as the separator between the values

SENS:SWE:HCOP:DEV:LANG:CSV:DPO DOT

selects "." as decimal point

SENS:SWE:HCOP:DATA?

queries the measurement data of the current traces

Response:

#2651009500000;1019000000;1028500000;1038000000 -9.5;-9.7;-6.3;-2.5

The hash symbol # introduces the data block. The next number indicates how many of the following digits describe the length of the data block. In the example the 2 following digit indicates the length to be 65 characters.

Because horizontal representation is selected, a row with all the x-values of the active trace (frequency) follows. The second row contains all the y-values of the active trace (power). The rows end with a new line (each counts as one character).

Note: if more than one trace is active, the third row contains the x values of the second active trace, and so on.

Example: SENS:SWE:HCOP:DEV:LANG:CSV:ORI VERT

selects horizontal orientation

SENS:SWE:HCOP:DATA?

queries the measurement data of the current traces

Response:

#2681009500000;-9.5; 1019000000;-9.7; 1028500000;-6.3; 1038000000;-2.5;

for vertical representation the length of the data block is 68

the first power value, the second row contains the second frequency value of the active trace followed by the second power value, and so on. The rows end with a new line (each counts as one character).

Note: if more than one trace is active, the first row also contains the value pairs of the second active trace, and so on.

Usage: Query only

 


Imprint | Statement of Privacy | Terms & Conditions© 2016 ROHDE & SCHWARZ