
Section 3: LPTLib command reference
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-56
S530-900-01 Rev. E / September 2017
pgu_trig_unit
This command triggers a specified pulse generator unit, or units, to output waveforms.
Usage
istat = int pgu_trig_unit(int
instr_id
, int
unit
);
instr_id
Pulse generator unit number (input):
1
,
2
,
3
, or
4
, depending on system
configuration
Details
This command returns a
0
if executed without error; a negative number indicates an error.
To trigger multiple pulse generator units, you can sum the unit numbers designated to the pulse
generators as listed in the following table.
Number
Pulse generator unit
4096
PTRIG1
8192
PTRIG2
16384
PTRIG3
32768
PTRIG4
Example 1
istat = pgu_trig_unit(2)
Triggers pulses on pulse generator unit 2.
Example 2
istat = pgu_trig_unit(12288)
Triggers pulses on pulse generator units 1 and 2.
Example 3
istat = pgu_trig_unit(3)
Triggers the pulses on pulse generator unit 3 (not units 1 and 2).
Also see
(on page 3-54)
(on page 3-55)