Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-198
4200A-901-01 Rev. C / February 2017
Programming example #5
(on page 13-197), but the Delay is set to 0 s, and an array of
delay values is used for the sweep (0.5 s, 0.25 s, 0.5 s, and 0.25 s).
double result1[4], result2[4], forceArray[4], delayArray[4];
setfreq(CVU1, 100e3); /* Set AC drive frequency to 100 kHz. */
setlevel(CVU1, 15e-3); /* Set AC drive voltage to 15 mV RMS. */
setauto(CVU1); /* Select auto measure range. */
smeasz(CVU1, KI_CVU_TYPE_CPGP, KI_CVU_SPEED_NORMAL, result1, result2);
/* Configure CpGp measurements. */
adelay(4, delayArray); /* Call a delay array for asweepv. */
asweepv(CVU1, 4, 0, forceArray); /* Configure and perform sweep. */
devint(); /* Reset CVU. */
LPT commands for switching
These LPT commands are used with the Series 700 Switching System, the 4200A-CVIV Multi-Switch,
and the 4225-RPM.
addcon
This command adds connections without clearing existing connections.
Usage
int addcon(int
exist_connect
, int
connect1
, [
connectn
, [...]] 0);
exist_connect
An instrument terminal ID; this instrument or terminal may have been, but is not
required to have been, previously connected with the
addcon
,
conpin
, or
conpth
command
connect1
A pin number or an instrument terminal ID
connectn
A pin number or an instrument terminal ID
Details
addcon
can be used to make additional connections on a matrix.
addcon
will connect every item in
the argument list together, and there is no real distinction between
exist_connect
and the rest of
the connection list.
addcon
behaves like the
conpin
command, except previous connections are
never cleared.
The value
-1
will be ignored by
addcon
and is considered a valid entry in the connection list.
However,
exist_connect
may not be
-1
.
With the row-column connection scheme, only one instrument terminal may be connected to a pin.
Before making the new connections, the
addcon
command clears all active sources by calling the
devclr
command.
Also see
(on page 13-199)
(on page 13-199)
(on page 13-200)
(on page 13-204)