
7-6
Agilent 4155B/4156B User’s Guide Vol.2, Edition 5
Data Variable and Analysis Function
Data Variable
User Variable
A user variable is a data variable that is a numeric list, which is passed via GPIB
commands of PAGE:CHANnels:UVARiable and TRACe|DATA subsystems from
an external computer or the Internal IBASIC. For information about the
PAGE:CHANnels:UVARiable and TRACe|DATA subsystems, refer to
GPIB
Command Reference
.
You can perform calculations between measurement results and the numeric list, or
plot the numeric list on the GRAPH/LIST: GRAPHICS screen.
You can define up to six user variables. A user variable consists of the following:
Calculation between variables of different length
If you perform calculation between user variables, or between a user variable and a
measurement data variable, and the number of data are different, the extra data in
the longer variable are invalid.
Example
Following IBASIC program defines a user variable that has 5 data elements:
10
ASSIGN @Hp4155 TO 800
20
OUTPUT @Hp4155;":FORM:DATA ASC"
30
OUTPUT @Hp4155;":TRAC:DEF 'UVAR1',5"
40
OUTPUT @Hp4155;":TRAC:DATA 'UVAR1',1.1,1.2,1.3,1.4,1.5"
50
END
20
Format of data to be transferred is ASCII format.
30
Defines the name of user variable and number of data.
40
Transfers the data.
user variable name
must start with alphabet character and can consist of
maximum six alphanumeric characters. Name must be
unique. Name is case sensitive. For example, VTH is
different from Vth.
data
numeric list.
unit
Optional. Length: 1 to 6 characters.
Valid characters: any characters.
Содержание 4156b
Страница 18: ...Contents 10 Agilent 4155B 4156B User s Guide Vol 2 Edition 5 Contents...
Страница 19: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 1 Measurement Units...
Страница 41: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 2 Measurement Mode...
Страница 75: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 3 Measurement Functions...
Страница 143: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 4 Making a Measurement...
Страница 205: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 5 Analyzing Measurement Results...
Страница 243: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 6 Screen Organization...
Страница 333: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 7 Data Variable and Analysis Function...
Страница 375: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 8 If You Have A Problem...