3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-50 S530-900-01 Rev. E / September 2017
pgu_height
This command sets the peak-to-peak height of the pulse.
Usage
istat = int pgu_height(int instr_id, double height);
The instrument identification code
The pulse height in volts (input)
Details
This command returns a 0 if executed without error; a negative number indicates an error.
The pulse height must be greater than -20 V and less than 20 V.
Example
Sets the height of the pulse on PGU2 to 2 V.
Also see
None
pgu_init
This command initializes communication with the pulse card and sets the pulse generator to a specific set of
default conditions.
Usage
istat = int pgu_init(int instr_id);
The instrument identification code
Details
This command returns a 0 if executed without error; a negative number indicates an error.
The pgu_init command sets the pulse generators to the following states:
• Set to single pulse mode
• Set output impedance to 50 Ω
• Set output polarity to normal
• Enable software triggering
• Set rise time, fall time to 100 ns
• Set pulse delay to 0 s
• Set pulse height to 0.2 V
• Set pulse width to 500 ns