13: LPT library function reference Model 4200A-SCS Parameter Analyzer
13-128 4200A-901-01 Rev. C / February 2017
seg_arb_waveform
This command creates a voltage segment waveform.
Usage
int seg_arb_waveform(int instr_id, long chan, long NumSeq, long *Seq, double
*SeqLoopCount);
The instrument identification code, such as VPU1 or VPU2
Channel number of the pulse card: 1 or 2
Total number of sequences in waveform definition (512 maximum)
An array of sequences using the sequence number ID
An array of loop values (number of times to output a sequence); loop value range is
Pulsers
4220-PGU
4225-PMU
Pulse modes
Segment Arb
Details
Use this command to create a voltage segment waveform from the sequences defined by the
seg_arb_sequence command. The NumSeq parameter defines the number of sequences that make
up the waveform. The Seq parameter is an array that indicates the identification (ID) number for each
sequence in the waveform. The sequence ID numbers are set by the seg_arb_sequence
command.
You can use this command to configure a waveform that repeats one or more of its sequences with
the SeqLoopCount parameter.
All sequence transitions must be seamless. Seamless means that the voltage level for the last point
in a sequence must equal the voltage level on the first point of the next sequence. The figure below
shows an example of a three-sequence waveform that uses looping (Sequence 1 is repeated). Notice
that the start and stop voltage values between sequences are the same, making it seamless.
Figure 509: Three-sequence waveform (with looping)