
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
Section 3: LPTLib command reference
S530-900-01 Rev. E / September 2017
3-51
Example
pgu_init(PGU2)
Initializes PGU2 and resets it to default settings.
Also see
None
pgu_load
This command sets the load impedance of a pulse.
Usage
istat = int pgu_load(int
instr_id
, double
load
);
instr_id
The instrument identification code
load
The output (load) impedance in ohms (input)
Details
This command returns a
0
if executed without error; a negative number indicates an error.
The load must be greater than 1 Ω and less than 10 MΩ.
Example
pgu_load(PGU1, 100)
Sets the output impedance of PGU2 to 100 Ω.
Also see
None
pgu_mode
This command sets the pulse mode of the pulse generator.
Usage
istat = int pgu_mode(int
instr_id
, int
mode
);
instr_id
The instrument identification code
mode
The pulse mode of the pulse generator:
•
Single =
0
; single-pulse output
•
Continuous =
1
; continuous stream of pulses
•
Burst =
2
; a burst of a specified number of pulses
Details
This command returns a
0
if executed without error; a negative number indicates an error.
Mode numbers less than 0 and greater than 2 are not accepted.
To stop the generation of continuous pulses and reset the pulse generator to its default state
(single-pulse output), send the
(on page 3-50) command.