Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-132
4200A-901-01 Rev. C / February 2017
Also see
(on page 13-132)
(on page 13-146)
(on page 13-152)
(on page 13-162)
arb_file
This command loads a waveform from an existing full-arb waveform file.
Usage
int arb_file(int
instr_id
, long
chan
, char *
fname
);
instr_id
The instrument identification code of the pulse card: VPU1, VPU2, and so on
chan
Channel number of the pulse card:
1
or
2
fname
The name of the waveform file; the name must be in quotes
Details
Use this command to load a waveform from an existing full-arb
.kaf
waveform file into the pulse
card. You can load a full-arb waveform for each channel of the pulse card. Once loaded, use
pulse_output
to turn on the appropriate channel, and then use
pulse_trig
to select the trigger
mode and start (or arm) pulse output.
When specifying the
fname
, include the full command path with the file name. Existing
.kaf
waveforms are typically saved in the
ArbFiles
folder at the following command path location:
C:\s4200\kiuser\KPulse\ArbFiles
You can create a full-arb waveform using KPulse, and then save it as a
.kaf
waveform file (refer to
(on page 10-1) for details).
You can modify a waveform in an existing
.kaf
file using a text editor or KPulse.
Example
arb_file(VPU1, 1, "C:\\s4200\\kiuser\\KPulse\\ArbFiles\\SINE.kaf")
This example loads a full-arb file named
SINE.kaf
(saved in the
ArbFiles
folder) into the pulse card for
channel 1.
Also see
(on page 13-131)
(on page 13-146)
(on page 13-152)
(on page 13-165)
(on page 13-162)