S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual Section 3:
S530-900-01 Rev. E / September 2017 3-7
LPTLib commands
addcon
This command adds connections without clearing existing connections.
Usage
int addcon(int exist_connect, int connect1, [connectn, [...]] 0);
A pin number or instrument terminal ID; this instrument or terminal may have been,
but is not required to have been, previously connected with the addcon, conpin,
A pin number or an instrument terminal ID
A pin number or an instrument terminal ID
Details
The S530/S540 has an I-V matrix. The addcon command can be used to make additional
connections on this matrix. I-V connections are direct connections.
When used with the I-V matrix, the addcon command connects every item in the argument list and
there is no real distinction between the exist_connect parameter and the rest of the connection
list. When using the addcon command with the I-V matrix, the command functions like the conpin
command, except previous connections are never cleared.
The value -1 is ignored by the addcon command and is considered a valid entry in the connection
list, as is the exist_connect parameter. There must be at least two parameters with a value other
than -1.
Matrix errors are generated if the following condition is detected:
• A dangerous connection is detected such as connecting a source-measure unit (SMU) high
terminal directly to ground.
Before making the new connections, the addcon command clears all active sources by calling the
devclr command.
Also see
clrcon (on page 3-17)
conpin (on page 3-21)
conpth (on page 3-22)
delcon (on page 3-25)