Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-105
SCPI Commands
:PAGE:CHANnels:UVARiable:DEFine
:PAGE:CHANnels:UVARiable:DEFine
This command defines the name, size, and unit of a user variable. This command is
the same as the :DATA | :TRACe:DEFINE command. To assign data to the user
variable, you use the :DATA| :TRACe[:DATA] command.
If the specified user variable already exists, this command redefines the user
variable with the new parameters.
A maximum of six user variables can be defined.
At *RST, no user variables are defined.
Syntax :PAGE:CHANnels:UVARiable:DEFine name,unit,size
Parameter
Query response unit,size <newline><^END>
unit is string response data, but does not contain double quote characters at
beginning and end of the string.
size is NR1 response data.
Example OUTPUT @Hp4155;":PAGE:CHAN:UVAR:DEF 'VTH','V',1001"
OUTPUT @Hp4155;":PAGE:CHAN:UVAR:DEF? 'VTH'"
ENTER @Hp4155;A$
Parameter Type Explanation
name string up to 6 alphanumeric characters. The 1st character
must be an alphabet.
unit string up to 6 alphanumeric characters. The null string is
allowed.
size numeric 1 to 10001