Skip to content

Keithley4200AtvGeneral

clrscn()#

This command clears the measurement scan tables associated with a sweep.

When a single sweepX command is used in a test sequence, there is no need to program a clrscn command because the execut command clears the table. The clrscn command is only required when multiple sweeps and multiple sweep measurements are used in a single test sequence.


delay(int)#

This command provides a user-programmable delay in a test sequence

Name Description
delayMs: The duration of the delay in milliseconds

The delay command can be called anywhere in the test sequence.


disable(int)#

This command stops the timer and sets the time value to zero (0).

Name Description
instrId: The instrument identification code of the timer module (TIMERn)

Timer reading is also stopped. Sending disable(TIMERn) stops the timer and resets the time value to zero (0).


enable(int)#

This command provides correlation of real time to measurements of voltage, current, conductance, and capacitance.

Name Description
instrId: The instrument identification code of the timer module (TIMERn)

Sending enable(TIMERn) initializes and starts the timer and allows other measurements to read the timer. The time starts at zero (0) at the time of the enable call.


getinstid(string,int@)#

This command returns the instrument identifier (ID) from the instrument name string.

Name Description
idstring: The instrument name string
instrId: The instrument identification code
Returns
instrId : int The instrument identification code
Example
    # get instrument id for CVU1
    cvuId = k4200.getinstid("CVU1", 0)

getinstname(int,string@,int)#

This command returns the instrument name string from the instrument identifier (ID).

Name Description
instrId: The instrument identification code
idString: The returned instrument name string
maxStrLength:
Returns
idString : string The returned instrument name string

Identify()#

Returns the ID string of the device.

Name Description
Returns:
idString : string The ID string: ATV,Product name,Serial number,Product version

scnmeas()#

This command makes a single measurement on multiple instruments at the same time.

This command behaves like a single point sweep. It makes a single measurement on multiple instruments at the same time. Any forcing or delaying must be done before calling scnmeas. smeasX, sintgX, or savgX must be used to set up result arrays just as is done for a sweep call. Each call to scanmeas adds one element to the end of each array.

Calls to scnmeas may be mixed with calls to sweepX, and all results are appended to the result arrays in the same way multiple sweepX calls behave.


setmode(int,int,double)#

This command sets operating modes

Name Description
instrId: The instrument identification code of the CVU: CVU1
mode: Specific operating characteristic to change; see table in Details
val: Parameter value for the modifier

The setmode command allows you to control certain instrument-specific operating characteristics. A special instrument ID named KI_SYSTEM is used to set operating characteristics of the system. The following table describes setmode modifier parameters that are supported for KI_SYSTEM.

modifier value                        comment
KI_TRIGMODE KI_MEASX
KI_INTEGRATE
KI_AVERAGE
KI_ABSOLUTE
KI_NORMAL
Redefines all existing triggers to use a new method of measurement.
KI_CVU_MEASURE_SPEED KI_CVU_SPEED_FAST Fast measurements (higher noise).
KI_AVGNUMBER value Number of readings to make when KI_TRIGMODE is set to KI_AVERAGE.
KI_AVGTIME value(in units of seconds) Time between readings when KI_TRIGMODE is set to KI_AVERAGE.

The following KI_SYSTEM modifier parameters are accepted, but do no operations in the 4200A-SCS. They are included for compatibility so that existing S530 or S600 programs that use setmode can be ported to the 4200A-SCS without generating errors.

• KI_MX_DEFMODE
• KI_HICURRENT
• KI_CC_AUTO
• KI_CC_SRC_DLY
• KI_CC_COMP_DLY
• KI_CC_MEAS_DLY

The following setmode modifier parameters are supported for SMU instruments


sintgi(int,int)#

This command makes an integrated current measurement for every point in a sweep

Name Description
instrId: The instrument identification code of the measuring instrument
arraySize:
Returns
results : double[] The floating-point array where the results are stored

Use this command to create an entry in the measurement scan table. During any of the sweeping commands, a measurement scan is performed for every force point in the sweep. During each scan, a measurement is made for every entry in the scan table. The measurements are made in the same order in which the entries were made in the scan table.

The sintgX command sets up the new scan table entry to make an integrated measurement. The measurement results are stored in the array, specified by the result parameter. Each time a measurement scan is made, a new measurement result is stored at the next location in the results array. If the scan table is not cleared, making multiple sweeps will continue to add new measurement results to the end of the array. Care must be taken that the results array is large enough to hold all measurements that are made before the scan table is cleared. The scan table is cleared by an explicit call to the clrscn command or implicitly when the devint or execut command is called.


sintgv(int,int)#

This command makes an integrated voltage measurement for every point in a sweep

Name Description
instrId: The instrument identification code of the measuring instrument
arraySize:
Returns
results : double[] The floating-point array where the results are stored

tstsel(int)#

This command enables or disables a test station.

Name Description
teststation: The test station number: 0 or 1

tstsel is normally called at the beginning of a test program. tstsel(1) selects the first test station and loads the instrumentation configuration