Hcopy commands, Hcopy:sdump:data, Hcopy:sdump:data:format – RIGOL DG1000Z Series User Manual
Page 40: Hcopy commands -28

RIGOL
2-28
DG1000Z Programming Guide
:HCOPy Commands
The :HCOPy commands are used to set or query the format of the image returned of the screenshot
operation and execute the screenshot operation.
Command List:
:HCOPy:SDUMp:DATA?
Syntax
:HCOPy:SDUMp:DATA?
Description
Query the image displayed on the front panel screen (screenshot).
Explanation
command to query the image displayed on
the front panel screen.
Return Format
The query returns a definite-length binary data block containing the image. The
block starts with #. For example,
#9000230456BM6\x84\x03\x00......; wherein, “9” following “#” denotes that the 9
characters following (000230456) are used to denote the data length.
Related
Command
:HCOPy:SDUMp:DATA:FORMat
Syntax
:HCOPy:SDUMp:DATA:FORMat BMP
:HCOPy:SDUMp:DATA:FORMat?
Description
Set the format of the image returned of the screenshot operation to BMP.
Query the format of the image returned of the screenshot operation.
Return Format
The query returns BMP.
Example
:HCOP:SDUM:DATA:FORM BMP /*Set the format of the image returned of the
screenshot operation to BMP*/
:HCOP:SDUM:DATA:FORM? /*Query the format of the image returned of
the screenshot operation and the query
returns BMP*/