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

Object type

Property (Read-Write)

Syntax

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

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

Description

This command sets/gets an array of Data that can be exchanged between an external PC and E5071C built-in VBA using GPIB/LAN/USB.

Variable

Parameter

Vnum

Description

Variable Number

Range

1 to 10

Preset value

1

 

Parameter

Data

Description

ā€œnā€ is the number obtained from the value specified with the SCPI.PROGram.VARiable.ARRay(Vnum).SIZE object.

ā€¢ Data(0): The first array data

ā€¢ Data(n-1): The n-th array data

The index of the array starts from 0.

Data Type

Variant type (Variant)

Note

If the data size is not specified, an error occurs when executed.

Examples

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

Related objects

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

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

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

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

Equivalent key

None

Equivalent SCPI command

Syntax

:PROGram:VARiable:ARRay{[1] - 10}:DATA <Data Array>

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

Example of use

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(*)