
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
Section 3: LPTLib command reference
S530-900-01 Rev. E / September 2017
3-53
pgu_range
This command sets the voltage range of a pulse generator channel.
Usage
istat = int pgu_range(int
instr_id
, double
range
);
instr_id
The instrument identification code
range
The voltage range of the pulse (input);
5
or
20
Details
This command returns a
0
if executed without error; a negative number indicates an error.
Example
pgu_range(PGU2, 20)
Sets the voltage range of the PGU2 to 20 V.
Also see
(on page 3-49)
(on page 3-52)
(on page 3-53)
(on page 3-57)
pgu_rise
This command sets the rise time of a pulse.
Usage
istat = int pgu_rise(int
instr_id
, double
rise_time
);
instr_id
The instrument identification code
rise_time
The rise time in seconds (input)
Details
This command returns a
0
if executed without error; a negative number indicates an error.
The rise time must be greater than 10 ns and less than 33 ms.
Example
pgu_rise(PGU1, 50e-9)
Sets the pulse rise time of PGU1 to 50 ns.
Also see
(on page 3-49)
(on page 3-53)
(on page 3-54)