SCPI.HCOPy.SDUMp.DATA.IMMediate

Object Type

Property (Read Only)

Syntax

Value = SCPI.HCOPy.SDUMp.DATA.IMMediate

Description

This command saves the print screen image on the external PC.

Variable

Parameter

Value

Description

print screen

Data Type

Binary (Byte)

Range

-

Preset Value

-

Unit

-

Resolution

-

Examples

Dim ImgData() as Byte
SCPI.HCOPy.SDUMp.DATA.FORMat = "PNG"
Open "C:\Screen.PNG" For Binary As #1

ImgData() = SCPI.HCOPy.SDUMp.DATA.IMMediate

Put #1, , ImgData()

Close #1

Related Objects

SCPI.HCOPy.SDUMp.DATA.FORMat

Equivalent Key

No equivalent key is available on the front panel.

Equivalent SCPI Command

Syntax

:HCOPy:SDUMp:DATA[:IMMediate]?

Query Response

<Binary><newline><^END>

Example of use (VISA-COM)
    

    Dim ImgData() As Byte
    '*** Save the screen image to the file on PC   
    Age506x.WriteString ":HCOP:SDUM:DATA:FORM PNG", True

    Age506x.WriteString ":HCOP:SDUM:DATA?", True

    Imgdata = Age506x.ReadIEEEBlock(BinaryType_UI1, False, True)

    

    Open "C:\TEST.png" For Binary As #1

        Put #1, , Imgdata()

    Close