Contact us

Live Chat with Tek representatives. Available 6:00 AM - 4:30 PM

Call

Call us at

Available 6:00 AM – 5:00 PM (PST) Business Days

Download

Download Manuals, Datasheets, Software and more:

DOWNLOAD TYPE
MODEL or KEYWORD

Feedback

Remote Operation: How can I program a SourceMeter Instrument to Measure Resistance?

Question :

Remote Operation: How can I program a SourceMeter Instrument to Measure Resistance?

Answer :

How can I program a SourceMeter Instrument to Measure Resistance?

The MANUAL resistance measuring mode of the Model 2400 allows the user to select a source of voltage or a source of current. If current is sourced then voltage is measured. If voltage is sourced then current is measured. The value of the source is also user defined. This mode allows very tight control over the resistance measurement.

Below are tables illustrating the SCPI command syntax and the VXI/PnP driver syntax for accomplishing a 4-wire resistance measurement by sourcing 5mA at a voltage compliance of 2 volts:

SCPI Command
Command Description

*RST

Reset Model 2400

:SENSE:FUNCTION 'RES'

Set to resistance function

:SENSE:RES:MODE MANUAL

Set mode of resistance to manual

:SENSE:RES:RANGE 200

Range to 200 ohms

:SOURCE:FUNCTION CURRENT

Source current

:SOURCE:CURRENT:RANGE 0.01

Range of current is 10mA

:SOURCE:CURRENT 0.005

Source 5mA

:SYSTEM:RSENSE ON

Turn on remote sense (four wire)

:SENSE:VOLT:PROT 2

Set voltage compliance to 2V

:FORMAT:ELEMENTS RES

Only return resistance for reading

:OUTPUT ON

Enable the output

:READ?

Trigger and get reading

custom code to read the data

Retrieve data

:OUTPUT OFF

Disable output

VXI/PnP Driver Command
Command Description

Ke24xx_init(GPIB0::24::INSTR, model, session)

Open a session to SourceMeter at address 24

Ke24xx_reset(session)

Reset the SourceMeter

Ke24xx_ConfigureSourceLevel(session, _

KE24XX_SOURCE_CURRENT_FUNCTION, _

sourceLevel, _

KE24XX_SOURCE_LEVEL_TRIGGERED)

Select Source I

Source 'sourceLevel' Amps

Source when triggered

Ke24xx_ConfigureSourceCompliance(session, _

KE24XX_SOURCE_CURRENT_FUNCTION, _

sourceCompliance)

Again, source current

voltage not to exceed souceCompliance volts

Ke24xx_ConfigureSourceMode(session, _

KE24XX_SOURCE_CURRENT_FUNCTION, _

KE24XX_SOURCE_FIXED_MODE, _

KE24XX_SOURCE_DC_SHAPE, _

sourceRange)

Again, source current

source a single value (fixed)

Shape parameter really only for 2430 Pulse mode, otherwise set to DC_SHAPE

Set the range to use to when sourcing the current

Ke24xx_ConfigureRESSense(session, _

KE24XX_200_OHMS_RANGE, _

speed, _

KE24XX_MANUAL_OHMS, _

VI_TRUE)

Use the 200 ohm range

speed = NPLC setting

Manual Ohms mode

offset compensation ON.

Ke24xx_EnableRemoteSensing(session, VI_TRUE)

turn on remote sense (four wire)

Ke24xx_SelectSenseFunc(session, VI_FALSE, VI_FALSE, VI_TRUE)

only return resistance for the reading (4th parameter)

Ke24xx_EnableSourceOutput(session, True)

Enable the output

Ke24xx_Read(session, KI24XX_READ_RESISTANCE, numReadings, reading)

Trigger and get reading. Value returned in last parameter

Ke24xx_EnableSourceOutput(session, False)

Disable output

Ke24xx_close (session)

close this session

 

 

 

 

 

 

 

 

 

 


This FAQ Applies to:

Product Series: 2400 Graphical Series SMU

Product:

FAQ ID 69606

View all FAQs »