Reference: HP Instrument BASIC
ASP-like Commands
READ DATAVARIABLE Directive
This directive gets values of specied HP 4155A/4156A data variable, and
stores the values in an IBASIC variable.
Directive syntax
READDATAVAR
data variable name
,
ibasic variable name
)
Directive parameter
Parameter Type Explanation
data variable name
string name of the data variable of HP 4155A/4156A. Y
ou must enclose the
name with single quotes or double-double quotes. Name is case sensitive
.
ibasic variable name
string name of numeric variable or numeric array of IBASIC program.
ibasic variable name
is not case sensitive.
Example
EXECUTE("READDATAVAR 'V1',V")
EXECUTE("READDATAVAR ""V1"",v")
2-35