EasyManuals Logo

HP 4155A Programmer's Guide

HP 4155A
241 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #101 background imageLoading...
Page #101 background image
Reference: HP Instrument BASIC
ASP-like Commands
DEFINE USER VARIABLE Directive
This directive denes an HP 4155A/4156A user variable, and transfers values
from an IBASIC variable to the user variable.
Directive syntax
DEFUSERVAR
user variable name
,
no of points
,
ibasic variable name
2
,
unit
3
Directive parameter
Parameter Type Explanation
user variable name
string user variable name that you want to dene.You must enclose the name
with single quotes or double-double quotes.
no of points
numeric number of data for the user variable
ibasic variable name
string name of numeric variable or numeric array of IBASIC program. The data
in this variable will be transferred to the user variable
.
unit
string unit of user variable.You must enclose the unit with single quotes or
double-double quotes.
Example
EXECUTE("DEFUSERVAR 'U_var',101,Vth,'V'")
2-36

Table of Contents

Other manuals for HP 4155A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 4155A and is the answer not in the manual?

HP 4155A Specifications

General IconGeneral
BrandHP
Model4155A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals