Section 9: Keithley External Control Interface (KXCI)
Model 4200A-SCS Parameter Analyzer Reference Manual
9-80
4200A-901-01 Rev. C / February 2017
Example 2
This example makes a single measurement in User mode. The program sets up CVU1 to output
30 mV @ 10 MHz AC. The DC voltage is set to 5 V. Once a single measurement is retrieved, the AC
source is set to 60 mV @ 5 MHz and a new reading is acquired.
// Set CVU to User Mode
send(addr, ":CVU:MODE 0", &status);
// Soft Reset card
send(addr, ":CVU:RESET", &status);
// Set measurement model to Cs,Rs
send(addr, ":CVU:MODEL 3", &status);
// Set speed to Quiet
send(addr, ":CVU:SPEED 2", &status);
// Set AC drive level to 30 mV at 10MHz
send(addr, ":CVU:ACV 0.030", &status);
send(addr, ":CVU:FREQ 10E+6", &status);
// Set DC bias level to 5 V
send(addr, ":CVU:DCV 5", &status);
// Select 30 uA measurement range
send(addr, ":CVU:ACZ:RANGE 30E-6", &status);
// Trigger a new measurement, and retrieve it
send(addr, ":CVU:MEASZ", &status);
enter(recvstr, MAXLEN, &len, addr, &status);
// Change the AC source the 60 mV at 5MHz
send(addr, ":CVU:ACV 0.060", &status);
send(addr, ":CVU:FREQ 5E+6", &status);
// Get a new Z-measurement
send(addr, ":CVU:MEASZ", &status);
enter(recvstr, MAXLEN, &len, addr, &status);