Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-13
SCPI Commands
:DATA|:TRACe:DEFine
:DATA|:TRACe:DEFine
This command defines (allocates and initializes) a new user variable.
The first parameter specifies the new user variable name. The second parameter
specifies the size of user variable.
A new user variable is allocated with the specified number of data elements. The
user variable is initialized with invalid data.
If the second parameter is omitted, the new user variable size is the number of VAR1
steps for sweep measurement, or the number of the sample points for sampling
measurement mode.
This command does not have query form.
Syntax :DATA | :TRACe:DEFine user_variable_name [ , user_variable_size]
Parameter
When user_variable_name is sent as character parameter type, all alpha characters
are treated as upper case in the 4155C/4156C.
Example OUTPUT @Hp4155;":TRAC:DEF 'Vdata',1024"
Parameter Type Explanation
user_variable_name string or
character
user variable name to define
user_variable_size numeric size of the user variable