9: Keithley External Control Interface (KXCI) Model 4200A-SCS Parameter Analyzer Reference Manu
9-82 4200A-901-01 Rev. C / February 2017
EX
This command executes a user module using specified parameter values.
Usage
EX UserLibrary UserModule(param1, param2, param3...)
The name of the User Library that contains the module to be run
The name of the User Module to be run
param1, param2,
param3...
The specified input or output parameters, or both, for the user module (function)
Details
Separate parameter values by commas. Do not use quotation marks to enclose strings or names.
For an input parameter, type in the value of the parameter. If the position for an input parameter is left
empty, the default value for the parameter is used.
For an output parameter, leave the space empty (see example below).
When used before the GN or GP commands, you may need to add a delay to allow the execution of
the module to finish.
Example
EX my_2nd_lib VSweep(0, 5, , 11, , 11)
Assume that the following user module (built in KULT) performs a voltage sweep and stores the test
voltages and measured current readings in arrays:
• User Library: my_2nd_lib
• User Model: VSweep
The parameter sequence for the VSweep function is as follows:
Vstart (input), Vstop (input), Imeas (output), NumIPoints (input), Vforce
(output), NumVPoints (input)
This example shows how a user function can be run from the KXCI console using parameters that perform
an 11-point sweep that starts at 0 V and stops at 5 V.
When the KXCI is in the usrlib mode, the example command runs the KULT function.
After execution of the module completes, you can query input or output parameters or both to return the
values. Use GN: get parameter (by name) (on page 9-83) or GP: get parameter (by number) (on page 9-
Also see
AB (on page 9-81)