background image

Viewing the measurements on the front-panel graph

To view the insulation resistance measurements on the front-panel graph while the output is on:
1.  Press the MENU key.
2.  Under Views, select Graph.

Set up the application using SCPI commands

The following SCPI commands make insulation resistance measurements by sourcing 20V and measuring the resistance. The Simple 
Loop trigger model template is used to make 10 measurements at 100ms intervals.

Send the following commands for this example application:

Command

Description

*RST
ROUT:TERM REAR
SOUR:FUNC VOLT
SOUR:VOLT 20
SOUR:VOLT:ILIM 0.01
SENS:FUNC “CURR”
SENS:CURR:RANG:AUTO
ON SENSE:CURR:UNIT OHM
TRIG:LOAD:LOOP:SIMP 10, 0.1
OUTP ON
INIT
*WAI
:TRAC:DATA? 1, 10, “defbuffer1”, READ, REL
:OUTP OFF

Reset the Model 2450.
Select the rear-panel terminals for the measurement.
Set to source voltage.
Output 20V.
Set a 10mA source limit.
Set the instrument to measure current.
Set the current range to autorange.
Set the instrument to measure resistance.
Use the Simple Loop trigger model to make 10 measurements at 100ms.
Turn the output on.
Initiate readings.
Wait for the measurement to finish.
Read the resistance and time values from 

defbuffer1

.

Turn the output off.

Set up the application using TSP commands

NOTE:

 The following TSP code is designed to be run from 

Keithley Instruments Test Script Builder (TSB). TSB is 
a software tool included on one of the CD-ROMs that 
came with your Model 2450. You can install and use 
TSB to write code and develop scripts for TSP-enabled 
instruments. Information about how to use TSB is in 
the online help for TSB and in the “Introduction to TSP 
operation” section of the 

Model 2450 Reference Manual

.

 

To use other programming environments, you may need 
to make changes to the example TSP code.

By default, the Model 2450 is configured to use the SCPI 

command set. You must select the TSP command set before 
sending TSP commands to the instrument.

To enable TSP commands:

1.  Press the MENU key.
2.  Under System, select Settings.
3.  Select the button next to Command Set and select TSP.
4.  You are prompted to reboot. Select Yes.

The following TSP commands make insulation resistance 

measurements by sourcing 20V and measuring the resistance. 

The Simple Loop trigger model template is used to make 10 
measurements at 100ms intervals. After the code is executed, the 
measurement results are displayed in the Instrument Console of 
Test Script Builder.

Send the following commands for this example application:

--Reset the instrument reset()
--Set up the measure function smu.measure.func = smu.
FUNC_DC_CURRENT smu.measure.unit = smu.UNIT_OHM smu.
measure.terminals = smu.TERMINALS_REAR smu.measure.
autorange = smu.ON smu.measure.nplc = 1
--Set up the source function. smu.source.func = smu.
FUNC_DC_VOLTAGE smu.source.ilimit.level = 0.1
smu.source.level = 20
--Turn on the source output and take readings. 
trigger.model.load(“SimpleLoop”, 10, 0.1) smu.source.
output = smu.ON trigger.model.initiate()
--Wait for the measurements to complete. 
waitcomplete()
--Parse index and the data into three columns. for i = 
1, defbuffer1.n do
print(i, “\t”, defbuffer1[i], “\t”, defbuffer1.
relativetimestamps[i])
endç
--Turn off the output. smu.source.output = smu.OFF

Reviews: