Keithley 4200-SCS Reference Manual page 800

Semiconductor characterization system
Hide thumbs Also See for 4200-SCS:
Table of Contents

Advertisement

Section 9: Keithley External Control Interface (KXCI)
#include <iostream.h>
#include "ieee_32.h"
#define MAXLEN 2048
void main(void)
{
int addr, status, len;
char recv[MAXLEN];
unsigned char spbyte;
addr = 17;
// Initialize card:
initialize(10, 0);
// Set speed to 0.01 PLC, clear buffer, and
// enable service request for data ready:
send(addr, "IT1 BC DR1",&status);
// Channel definition for SMU1; constant common:
send(addr, "DE CH1,'VE','IE',3,3", &status);
// Define SMU2 for VAR2 I sweep:
send(addr, "CH2,'VB','IB',2,2", &status);
// Define SMU3 for VAR1 V sweep:
send(addr, "CH3,'VC','IC',1,1", &status);
// Define SMU 4 to be off:
send(addr, "CH4", &status);
// Define V-sources and V-meters to be off:
send(addr, "VS1;VS2;VM1;VM2", &status);
// Source setup; VAR1 linear sweep from 0 to 1V in 50 mV
// steps, with I-compliance set to 50 mA:
send(addr, "SS VR1,0,1,0.05,50E-3", &status);
// Source setup; VAR2 sweep from 0 uA to 40 uA in 10 uA steps:
send(addr, "IP 10E-6,10E-6,4,3", &status);
// Select list display mode:
send(addr, "SM DM2", &status);
// Trigger start of test:
send(addr, "MD ME1", &status);
// Wait for data ready:
while(!srq());
// Save readings in file named "PROG1":
send(addr, "SV 'D PROG1'", &status);
}
9-54
Return to
Section Topics
Model 4200-SCS Reference Manual
4200-901-01 Rev. S / May 2017

Advertisement

Table of Contents
loading

Table of Contents