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);
Pulse generator unit number (input): 1, 2, 3, or 4, depending on system
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
16384 PTRIG3
Example 1
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
Triggers the pulses on pulse generator unit 3 (not units 1 and 2).
Also see
pgu_trig (on page 3-54)
pgu_trig_burst (on page 3-55)