Property (Read-Write)
SCPI.PROGram.VARiable.ARRay(Vnum).SIZE = Value
Value = SCPI.PROGram.VARiable.ARRay(Vnum).SIZE
This command sets/gets the size of an array of Data, specified by SCPI.PROGram.VARiable.ARRay(1-10).DATA, that can be exchanged between an external PC and E5071C built-in VBA using GPIB/LAN/USB.
Parameter |
Vnum |
Description |
Variable Number |
Range |
1 to 10 |
Preset value |
1 |
Parameter |
Value |
Description |
The value of data size |
Data Type |
Long integer type (long) |
Range |
1 to 40002 |
Preset value |
402 |
Resolution |
1 |
Dim Var1(2) As Long
Dim Var2 as Variant
Dim ArraySize as Long
ArraySize=3
Var1(1) = 2
Var1(2) = 56
SCPI.PROGram.VARiable.ARRay(1).SIZE = ArraySize
SCPI.PROGram.VARiable.ARRay(1).DATA = Var1
Var2= SCPI.PROGram.VARiable.ARRay(1).DATA
SCPI.PROGram.VARiable.ARRay(Vnum).DATA
SCPI.PROGram.VARiable.DOUBle(Vnum).DATA
SCPI.PROGram.VARiable.LONG(Vnum).DATA
SCPI.PROGram.VARiable.STRing(Vnum).DATA
None
:PROGram:VARiable:ARRay{[1] - 10}:SIZE <Data Array Size>
:PROGram:VARiable:ARRay{[1] - 10}:SIZE ?
10 OUTPUT 717;"PROG:VAR:ARR2:SIZE 4"
20 OUTPUT 717;"PROG:VAR:ARR2 1.0,2.0,3.0,4.0"
30 OUTPUT 717;"PROG:VAR:ARR2?"
40 ENTER 717;A(*)