-SCS Parameter Analyzer Reference Manual  Section 13: 
LPT library function reference 
 
4200A-901-01 Rev. C / February 2017  13-129 
 
Example 
 
seg_arb_waveform(PMU1, 1, 3, Seq_Num, Seq_Loop_Count); 
This function configures channel 1 of the PMU for a single three-sequence Segment Arb
 waveform (as 
shown in the figure in the Details). This example assumes that the three sequences shown in the figure 
have already been defined by the seg_arb_sequence command. 
The arrays for the waveform are: 
int Seq_Num[3] = {2, 3, 1}; 
double Seq_Loop_Count[3] = {1, 1, 2}; 
Also see 
seg_arb_sequence (on page 13-125) 
 
setmode (LLEC) 
This command sets the number of iterations for load-line effect compensation (LLEC) for the PMU. 
Usage 
int setmode(int instr_id, long modifier, double value); 
 
The instrument identification code of the pulse generator: PMU1, PMU2, and so on 
Parameters to set maximum iterations tolerance windows: 
•  KI_PXU_LLC_MAX_ITERATIONS: Maximum iterations 
•  KI_PXU_CH1_LLC_TOLERANCE: Acceptance window (Ch 1) 
•  KI_PXU_CH2_LLC_TOLERANCE: Acceptance window (Ch 2) 
•  KI_PXU_CH1_LLC_OFFSET: LLEC Offset (Ch 1) 
• 
: LLEC Offset (Ch 2) 
Values to set maximum iterations and tolerance window: 
•  Maximum number of iterations: 1 to 1000; typical setting is 20 to 30 iterations 
•  Acceptance window: 0.0001 to 1 (0.01% to 100%); typical range is 0.001 to 
0.01 (0.1% to 1%). The typical value is 0.003 (0.3%). 
•
  Offset value: Value is in volts 
 
Pulsers 
4225-PMU 
Pulse mode 
Standard