In this section:
Introduction .............................................................................. 8-1
Develop and use user libraries ............................................... 8-13
Copy user libraries and modules from a 4200-SCS ............... 8-13
Enabling real-time plotting for UTMs ...................................... 8-14
KULT Tutorials ....................................................................... 8-15
Advanced KULT features ....................................................... 8-49
Creating project prompts ........................................................ 8-63
Introduction
You can use the 4200-COMPILER, which is Microsoft
®
Visual C++
®
compiler, to create, modify, and
debug KULT modules, including user library and user modules. It allows you to develop test
subroutine libraries using the full capabilities of C-language programming.
If 4200-COMPILER was ordered with your 4200A-SCS system, the software is installed by Keithley
Instruments. You can also purchase the 4200-COMPILER later. Refer to document number
PA-1030,
Compiler Installation Instructions
, for detail on how to install.
The Keithley User Library Tool (KULT) is a tool you can use to create and manage user libraries. A
user library is a collection of one or more user modules. User modules are C programming language
subroutines, also called functions. User libraries are created to control instrumentation, analyze data,
or perform any other system automation task programmatically. Once a user library has been
successfully built using KULT, its user modules can be executed using the Clarius software tool.
KULT provides a simple user interface that helps even a novice programmer to effectively enter code,
compile a user module, and build a user library. KULT also provides management features for the
user library, including menu commands to copy modules, copy libraries, delete modules, and delete
library menu commands. KULT manages user libraries in a structured manner. You can create your
own user libraries to extend the capabilities of the 4200A-SCS without requiring a software upgrade
from Keithley.
To execute a KULT user module in Clarius, you create a Clarius user test module (UTM) and connect
it to the user module. Once this user module is connected to the UTM, the following occurs each time
Clarius executes the UTM:
•
Clarius dynamically loads the user module and the appropriate user library directory (
usrlib
).
•
Clarius passes the user-module parameters (stored in the UTM) to the user module.
•
Data generated by the user module is returned to the UTM for interactive analysis.
Section 8
Keithley User Library Tool (KULT)