Model 4200A-SCS Parameter Analyzer Reference Manual
Section 8: Keithley User Library Tool (KULT)
4200A-901-01 Rev. C / February 2017
8-61
5. Between the
Place user library module call below
and
Place user library
module call above
comments, call your user module as it is described in
<debugtaskname>.c
. For the
VSweep
user module, you could enter the following code:
Double Imeas;
Double Vforce;
VSweep(0, 5, Imeas, 11, Vforce, 11)
You can also define a UTM in Clarius with your user module, as shown in
module that returns data arrays
(on page 8-28),
Checking the VSweep user module
(on page 8-32).
This generates the file
<UTMname>.ktm
at
C:\s4200\Projects\<projectname>\tests
, which
includes the necessary call to your user module. Open
<UTMname>.ktm
with a text editor, copy the
contents, and paste them into
<debugtaskname>.c
. Using this method ensures that the input
parameters for your user module fit the restrictions set by KULT.
6. In the Build menu, select
Compile
to compile the
<
debugtaskname
>.c
program.
Loading a debug task
To load a saved debug task, use the
load_dt
command-line utility.
c:\>load_dt <
debugtaskname
>
For example, to load the debug task called
VSweepDebug
, enter the following at the command line
prompt:
c:\>load_dt VSweepDebug
Figure 457: Example code generated by the create_dt utility