-SCS Parameter Analyzer Reference Manual Section 13:
LPT library function reference
4200A-901-01 Rev. C / February 2017 13-131
LPT commands for pulse source only (PG2)
Use the following instrument ID (identification) for LPT commands for the PGU and PMU:
• 4220-PGU: The instrument ID is VPU (VPU1, VPU2, and so on)
• 4225-PMU: The instrument ID is PMU (PMU1, PMU2, and so on)
The 4220-PGU and 4225-PMU support the pulsing and external triggering commands of the
obsolete 4205-PG2.
arb_array
This command is used to define a full-arb waveform and name the file.
Usage
int arb_array(int instr_id, long ch, double TimePerPt, long length, double
*levelArr, char *fname);
The instrument identification code, such as VPU1 or VPU2
The pulse card channel:
or
Sets the time interval between waveform points: 20 ns to 1 s
The number of waveform points (values): 262,144 maximum
An array of voltage values for each point in the waveform (see Details)
A name for the full-arb waveform
Pulse modes
Full Arb
Details
A Full Arb waveform can be defined for each pulse card channel. A Full Arb waveform is made up of
user-defined points. A time interval is set to control the time between the waveform points.
This command is used to define the number of points in a waveform, the time interval between points,
and the voltage value at each point. The maximum number of waveform points for each channel is
262,144.
The load time for a full-arb waveform is proportional to the number of points. The total time to load
full-size full-arb waveforms for both channels is around one minute.
Once loaded, use pulse_output to turn on the appropriate channels, and then use pulse_trig to
select the trigger mode and start (or arm) pulse output.
For additional information on this pulse mode and an example of a Full Arb waveform, refer to
Full arb
waveform (on page 5-59).
.kaf waveform file for KPulse: You can copy the arbitrary waveform data defined by the arb_file
command into a .kaf file. Use a text editor to format the file. You can then import the .kaf file into
KPulse. By default, .kaf waveform files for KPulse are saved in the ArbFiles folder at the command
path location C:\s4200\kiuser\KPulse\ArbFiles. Refer to KPulse (on page 10-1
) for details on
using KPulse.