Section 3: LPTLib command reference
pgu_current_limit
This command sets the maximum amount of current that the pulse generator unit (PGU) channel can supply
because of the pulse amplitude and load impedance.
Usage
istat = int pgu_current_limit(int instr_id, double limit);
intstr_id
limit
Details
This command returns a 0 if executed without error; a negative number indicates an error.
Example
pgu_current_limit(PGU2, 1e-3)
Sets the current limit of PGU2 to 1 mA.
Also see
pgu_load
(on page 3-51)
pgu_delay
This command sets the amount of time to wait after a trigger signal or command is received before outputting a
pulse (trigger delay time).
Usage
istat = int pgu_delay(int instr_id, double delay_time);
instr_id
delay_time
Details
This command returns a 0 if executed without error; a negative number indicates an error.
Example
istat = pgu_delay(PGU1A,0.0);
...
istat = pgu_delay(PGU1B,10e-06);
istat = pgu_trig();
Also see
pgu_period
(on page 3-52)
pgu_range
(on page 3-53)
pgu_trig
(on page 3-54)
3-48
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
The instrument identification code of the PGU
The current limit value
The instrument identification code of the pulse generator
The trigger delay time in seconds (input)
Set channel 1 to have no pulse delay.
Set channel 2 to trigger a pulse after a delay of
10 µs.
S530-900-01 Rev. E / September 2017