Chapter 2 Command System RIGOL
DG800 Programming Guide 2-21
:HCOPy Commands
The :HCOPy commands are used to set and query the format of the returned image of the screenshot and
execute the screenshot operation.
Command List:
:HCOPy:SDUMp:DATA?
:HCOPy:SDUMp:DATA:FORMat
:HCOPy:SDUMp:DATA?
Syntax
:HCOPy:SDUMp:DATA?
Description
Queries the image of the front panel screen (screenshot).
Return Format
The query returns a definite-length binary data block that contains the image. The block starts with #. For
example, #9000230456BM6\x84\x03\x00......; wherein, "9" following "#" denotes that there are 9
characters (000230456) following behind and they are used to denote the data length.
:HCOPy:SDUMp:DATA:FORMat
Syntax
:HCOPy:SDUMp:DATA:FORMat {BMP|PNG}
:HCOPy:SDUMp:DATA:FORMat?
Description
Sets the format of the returned image of the screenshot to BMP or PNG.
Queries the format of the returned image of the screenshot.
Parameter
Return Format
The query returns BMP or PNG.
Example
:HCOP:SDUM:DATA:FORM BMP /*Sets the format of the returned image of the screenshot to BMP.*/
:HCOP:SDUM:DATA:FORM? /*Queries the format of the returned image of the screenshot and the
query returns BMP.*/