Code Examples - Keithley 4200-SCS Reference Manual

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

Advertisement

Section 9: Keithley External Control Interface (KXCI)

Code examples

Example1
The following code segment sets CVU1 to perform a system mode sweep of DC voltage from 5 V
to 10 V in 1V steps. After the test completes, the Z, DCV, F, timestamps, and status values are
queried. The forcing function is then changed to perform a List Sweep of DC voltage (2V, 4V, 3V,
5 V, 7V) and the test is run again with all other test conditions as previous.
// Set CVU to System Mode
send(addr, ":CVU:MODE 1", &status);
// Soft Reset card
send(addr, ":CVU:RESET", &status);
// Set measurement model to Z, theta
send(addr, ":CVU:MODEL 0", &status);
// Set speed to Normal
send(addr, ":CVU:SPEED 1", &status);
// Set AC drive level to 45 mV at 7MHz
send(addr, ":CVU:ACV 0.045", &status);
send(addr, ":CVU:FREQ 7E+6", &status);
// Set DC bias level to 10 V
send(addr, ":CVU:DCV 10", &status);
// Select 1mA measurement range
send(addr, ":CVU:ACZ:RANGE 1E-3", &status);
// Turn off open/short/load compensation an set
// cable len to 1.5 m
send(addr, ":CVU:CORRECT 0,0,0", &status);
send(addr, ":CVU:LENGTH 1.5", &status);
// Set test function to DC Voltage sweep from 5 to 10 V
send(addr, ":CVU:SWEEP:DCV 5,10,1", &status);
// Set 1s delay between points
send(addr, ":CVU:DELAY:SWEEP 1.0", &status);
// Start the test
send(addr, ":CVU:TEST:RUN", &status);
// Monitor the spoll byte for test completion
WaitForTestCompletion();
// Query all the data
send(addr, ":CVU:DATA:Z?", &status);
enter(recvstr, MAXLEN, &len, addr, &status);
send(addr, ":CVU:DATA:VOLT?", &status);
enter(recvstr, MAXLEN, &len, addr, &status);
send(addr, ":CVU:DATA:FREQ?", &status);
9-102
Return to
Section Topics
Model 4200-SCS Reference Manual
4200-901-01 Rev. S / May 2017

Advertisement

Table of Contents
loading

Table of Contents