SCPI.HCOPy.IMMediate

Object type

Property (Read only)

Syntax

Value = SCPI.HCOPy.SDUMp.DATA.IMMediate

Description

This command gets print screen image.

Variable

Parameter

Value

Description

Print screen

Data type

Binary (Byte)

Range

-

Preset value

-

Unit

-

Resolution

-

Examples

Dim TmpData() as Byte
Open "C:\Screen.PNG" For Binary As #1
TmpData() = SCPI.HCOPy.SDUMp.DATA.IMMediate
Put #1, , TmpData()
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)

 

'*** Save the screen image to the file

    Age507x.WriteString ":HCOP:SDUM:DATA:FORM PNG", True

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

    PNGdata = Age507x.ReadIEEEBlock(BinaryType_UI1, False, True)

    

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

        Put #1, , PNGdata()

    Close