Section 13: LPT library function reference Model 4200A-SCS Parameter Analyzer Reference Manual13-162 4200A-901-01 Rev. C / February 2017The maximum pulse width that can be set depends on the selected period for the pulse. For example,if the period is set for 500 ns, the maximum pulse width that can be set for the fast speed is 490 ns(500 ns − 10 ns = 490 ns).The pulse width setting takes effect immediately during continuous pulse output. Otherwise, the widthsetting takes effect when the next trigger is initiated. The pulse_trig command is used to triggercontinuous or burst output.Examplepulse_width(VPU1, 1, 250e-9)Sets the pulse width for channel 1 to 250 ns.Also seepulse_period (on page 13-148)pulse_range (on page 13-149)pulse_source_timing (on page 13-116)pulse_trig (on page 13-152)seg_arb_defineThis command defines the parameters for a Segment Arb ® waveform.Usageint seg_arb_define(int instr_id, long chan, long nsegments, double *startvals,double *stopvals, double *timevals, long *triggervals, long *outputRelayVals);instr_id The instrument identification code of the pulse card, such as VPU1 or VPU2chan Channel number of the pulse card: 1 or 2nsegments The number of values in each of the arrays (1024 maximum)startvals An array of start voltage values for each segment (in volts)stopvals An array of stop voltage values for each segment (in volts)timevals An array of time values for each segment (20 ns minimum)triggervals An array of trigger values:• Trigger low: 0• Trigger high: 1outputRelayVals An array of values to control the high endurance output relay:• Open: 0• Closed: 1