Section 9: Keithley External Control Interface (KXCI)
Model 4200A-SCS Parameter Analyzer Reference Manual
9-58
4200A-901-01 Rev. C / February 2017
Program 3: Retrieving saved data (system mode)
The following program demonstrates how to retrieve readings that are saved in a data file. In Program
1, SMU3 performed 80 measurements. The 80 current readings were then saved in a data file named
'PROG1'
.
The following program assumes that data file
'PROG1'
already exists. This data file is created by
Program 1.
MAXLEN = 2048;
addr = 17;
// Initialize card:
initialize(10, 0);
// Load data saved in file named "PROG1":
send(addr, "GT 'D PROG1'", &status);
// Output data; 'IC' is the measure channel (SMU3) used by
// Program 1:
send(addr, "DO 'IC'", &status);
// Obtain data:
enter(recv, MAXLEN, &len, addr, &status);
GPIB error messages
KXCI error messages and numbers are shown in the following table.
KXCI error messages
Error No.
Error Message
-999
-998
-997
-996
-995
-994
-993
-992
-991
-990
-989
-988
-987
-986
-985
-984
"IEEE32.DLL GPIB driver is not loaded."
"Unable to initialize shared memory."
"Could not establish communication with console."
"GPIB address not sent as argv[1]."
"GPIB address not in 0<= addr <= 31."
"Could not find configuration file."
"GPIB argument error."
"GPIB command error."
"Illegal setup error."
"Trigger Master card not found."
"Command not valid on this page."
"Instrument not mapped."
"Skipping instrument."
"Unsupported command received."
"Unsupported file format error."
"Could not open specified file."