3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-52 S530-900-01 Rev. E / September 2017
Example
Sets PGU2 to the continuous pulse mode.
Also see
pgu_init (on page 3-50)
pgu_offset
This command sets the peak-to-peak height and DC offset of the pulse.
Usage
istat = int pgu_offset(int instr_id, double amplitude, double offset);
The instrument identification code
The peak-to-peak amplitude in volts (input); a positive number
The DC offset of the pulse in volts (input); a positive or negative number
Details
This command returns a 0 if executed without error; a negative number indicates an error.
The amplitude and offset combined must be greater than -20 V and less than +20 V.
Example
Sets the peak-to-peak amplitude and DC offset on PGU1.
Also see
None
pgu_period
This command sets the period of a pulse.
Usage
istat = int pgu_period(int instr_id, double period);
The instrument identification code
The pulse period in seconds (input)
Details
This command returns a 0 if executed without error; a negative number indicates an error.
Example
Sets the pulse period of PGU1 to 200 ns.
Also see
pgu_trig (on page 3-54)