Section 2: Using switch matrices Model 4200A-SCS Prober and External Instrument Control
2-34 4200A-913-01 Rev. A December 2020
If the OpenAll parameter is less than one, then the matrix is NOT cleared before making
connections; if OpenAll is 1, then all previous matrix connections are cleared before making the new
connections.
Returned values are placed in the Analyze sheet and can be:
• 0 OK.
• -10000 (INVAL_INST_ID): The specified instrument ID does not exist. This generally means
that there is no instrument with the specified ID in your configuration.
• -10001 (INVAL_PIN_SPEC): An invalid DUT pin number was specified.
• -10003 (NO_SWITCH_MATRIX): No switch matrix was found.
• -10004 (NO_MATRIX_CARDS): No matrix cards were found.
Example
To connect SMU1 to pin 7, SMU2 to pin 8, SMU3 to pin 12, SMU4 to pin 1, ground pin 15, connect the
pulse generator to pin 13, connect the CMTR to pins 9 and 10, and clear the previous connections:
ConnectPins(1, SMU1, 7, SMU2, 8, SMU3, 12, SMU4, 1, GNDU, 15 PGU1, 13, CMTR1, 9,
CMTR1L, 10)