SCPI.PROGram.VARiable.LONG(Vnum).DATA

Object type

Property (Read-Write)

Syntax

SCPI.PROGram.VARiable.LONG(Vnum).DATA = Value

Value = SCPI.PROGram.VARiable.LONG(Vnum).DATA

Description

This command can be used to exchange Long type data between an external PC and E5071C built-in VBA using GPIB/LAN/USB.

 

The SCPI.PROGram.VARiable.LONG(Vnum).DATA command accepts the values from -2,147,483,648 to 2,147,483,647 as a long type variable. However, the range of scpi command (:PROG:VAR:LONG:DATA) is -65536 to 65536. Therefore, you can exchange the value from -65536 to 65536. If you set the value out of the range by the SCPI.PROGram.VARiable.LONG(Vnum).DATA command, the returned value of :PROG:VAR:LONG:DATA is -65536 or 65536.

Variable

Parameter

Vnum

Description

Variable Number

Range

1 to 10

Preset value

1

 

Parameter

Value

Description

The value of the long integer type

Data type

Long integer type (Long)

Range

-65536 to 65536

Preset value

0

Examples

Dim LngVal As Long
LngVal = 65536

SCPI.PROGram.VARiable.LONG(1).DATA = LngVal
LngVal= SCPI.PROGram.VARiable.LONG(1).DATA

Related objects

SCPI.PROGram.VARiable.ARRay(Vnum).DATA

SCPI.PROGram.VARiable.ARRay(Vnum).SIZE

SCPI.PROGram.VARiable.DOUBle(Vnum).DATA

SCPI.PROGram.VARiable.STRing(Vnum).DATA

Equivalent key

None

Equivalent SCPI command

Syntax

:PROGram:VARiable:LONG{[1] - 10}:DATA <Numeric value>

:PROGram:VARiable:LONG{[1] - 10}:DATA?

Example of use

10 OUTPUT 717;":PROGram:VARiable:LONG1:DATA 65536"
20 OUTPUT 717;":PROGram:VARiable:LONG1:DATA?"
30 ENTER 717;A