Program 3: Retrieving Saved Data (System Mode); Gpib Error Messages - Keithley 4200A-SCS Reference Manual

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Section 9: Keithley External Control Interface (KXCI)

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
"IEEE32.DLL GPIB driver is not loaded."
-998
"Unable to initialize shared memory."
-997
"Could not establish communication with console."
-996
"GPIB address not sent as argv[1]."
-995
"GPIB address not in 0<= addr <= 31."
-994
"Could not find configuration file."
-993
"GPIB argument error."
-992
"GPIB command error."
-991
"Illegal setup error."
-990
"Trigger Master card not found."
-989
"Command not valid on this page."
-988
"Instrument not mapped."
-987
"Skipping instrument."
-986
"Unsupported command received."
-985
"Unsupported file format error."
-984
"Could not open specified file."
9-58
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017

Advertisement

Table of Contents
loading

Table of Contents