Download Agilent Technologies 16440A User`s guide

Transcript
Support Functions
User Function and User Variable
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
20
30
40
50
ASSIGN
OUTPUT
OUTPUT
OUTPUT
END
@Hp4155 TO 800
@Hp4155;":FORM:DATA ASC"
@Hp4155;":TRAC:DEF 'UVAR1',5"
@Hp4155;":TRAC:DATA 'UVAR1',1.1,1.2,1.3,1.4,1.5"
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.
Agilent 4155C/4156C User’s Guide Vol.2, Edition 6
8-7