User`s guide
8-6 Agilent 4155C/4156C User’s Guide Vol.2, Edition 6
Support Functions
User Function and User 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.
To define a user variable, you define a name and an data size on the CHANNELS: 
USER VARIABLE DEFINITION screen. If desired, you can define a unit, such as 
ms. You can define up to 6 user variables. See example below.
• 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, Gm is different from gm.
• Unit name is optional. Length: 1 to 6 characters. Valid characters: any 
characters.
Example
To define a user variable for mutual conductance gm of an FET, define gm on the 
CHANNELS: USER VARIABLE DEFINITION screen as follows:
NAME UNIT SIZE 
gm S 101










