Property (Read-Write)
SCPI.PROGram.VARiable.LONG(Vnum).DATA = Value
Value = SCPI.PROGram.VARiable.LONG(Vnum).DATA
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.
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 |
Dim LngVal As Long
LngVal = 65536
SCPI.PROGram.VARiable.LONG(1).DATA = LngVal
LngVal= SCPI.PROGram.VARiable.LONG(1).DATA
SCPI.PROGram.VARiable.ARRay(Vnum).DATA
SCPI.PROGram.VARiable.ARRay(Vnum).SIZE
SCPI.PROGram.VARiable.DOUBle(Vnum).DATA
SCPI.PROGram.VARiable.STRing(Vnum).DATA
None
:PROGram:VARiable:LONG{[1] - 10}:DATA <Numeric value>
:PROGram:VARiable:LONG{[1] - 10}:DATA?
10 OUTPUT 717;":PROGram:VARiable:LONG1:DATA 65536"
20 OUTPUT 717;":PROGram:VARiable:LONG1:DATA?"
30 ENTER 717;A