Section 8: Keithley User Library Tool (KULT)
Model 4200A-SCS Parameter Analyzer Reference Manual
8-6
4200A-901-01 Rev. C / February 2017
Includes tab area
The Includes tab, shown below, lists the header files used in the user module. This area can be used
to add
#include
and
#define
statements to the presently open user module.
Figure 421: Default Includes tab area
By default, KULT automatically enters the
keithley.h
header file into the Includes tab. The
keithley.h
header file includes the following frequently used C-programming interfaces:
•
#include <stdio.h>
•
#include <stdlib.h>
•
#include <string.h>
•
#include <math.h>
•
#include "windows.h"
In most cases, it is not necessary to add items to the Includes tab area, because
keithley.h
provides access to the most common C functions. However, in some cases, both of the following may
apply:
•
You do not want to include
keithley.h
•
You want to include only the header files specifically needed by your user module, and all of the
user modules on which it depends.
If so, you must minimally include the following header files and
#define
statements to properly
compile and build user modules and user libraries:
#include "lptdef.h"
#include "lptdef_lowercase.h"
#include "kilogmsg_proto.h
#include "ktemalloc.h"
#include "usrlib_proto.h"
#define PTexit _exit
#define exit Unsupported Syntax
#define abort Unsupported Syntax
#define terminate Unsupported Syntax