S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual Section 3: LPTLib command
S530-900-01 Rev. E / September 2017 3-57
pgu_width
This command sets the width of a pulse.
Usage
istat = int pgu_width(int instr_id, double width);
The instrument identification code
The pulse width in seconds (input)
Details
This command returns a 0 if executed without error; a negative number indicates an error.
The width must be greater than 250 ns and less than 999 ms.
Example
istat pgu_width(PGU2, 10e-06)
Sets the pulse width on PGU2 to 10 µs.
Also see
pgu_period (on page 3-52)
pgu_range (on page 3-53)
pgu_trig (on page 3-54)
pgu_trig_burst (on page 3-55)
pgu_trig_unit (on page 3-56)
pulseX
This command directs a sourcing instrument to force a voltage or current at a specific level for a predetermined
length of time.
Usage
int pulsei(int instr_id, double forceval, double time);
int pulsev(int instr_id, double forceval, double time);
The instrument identification code; this may be SMUn with a pulseV or pulseI
command, or
n
The level of voltage in volts or current in amperes to force; see Details
The pulse duration in seconds; for example, a time of 0.5 initiates a time of 0.5 s,
and a time of 2.0e-2 initiates a time of 20 ms; the minimum practical time for a
source-measure unit (SMU) source is dependent on the voltage or current level
being sourced and the impedance of the device under test (DUT)
Details
The forceval parameter can be positive or negative. For example, sending pulsev(SMU1, 10.0,
10e-3) generates +10 V for 10 ms, and sending pulsei(SMU1, -1.5e-3, 10e-3) generates
-1.5 mA for 10 ms.
The ranges of current and voltage available vary with the instrument type. For more detailed
information, refer to the hardware manuals of the instruments in your system.