Set Up The Battery Application Using Scpi Commands - Keithley Interactive SourceMeter 2450 User Manual

Instrument
Hide thumbs Also See for Interactive SourceMeter 2450:
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument User's Manual

Set up the battery application using SCPI commands

The SCPI code in this example sets the Model 2450 to the source voltage function and measure
current function. The voltage source is set to 1 V and the source limit is set to 460 mA. The voltage,
current, and relative timestamp values are returned. Measurements are made until the voltage
reaches the set level.
In the following example code, notice that some of the code is labeled as "Pseudocode." The code
you use for the pseudocode lines will vary based on the programming environment you use.
Send the following commands for this example application:
SMU
command or
pseudocode
SMU
command
Pseudocode iteration = 1
SMU
command
2450-900-01 Rev. C / December 2013
Commands
*RST
OUTP:SMOD HIMP
SENS:RES:RSEN ON
SOUR:FUNC VOLT
SOUR:VOLT 1
SOUR:VOLT:READ:BACK ON
SOUR:VOLT:RANG 2
SOUR:VOLT:ILIM 460e-3
SENS:FUNC "CURR"
SENS:CURR:RANG 1
OUTP ON
voltLimit = 1.0
current = []
voltage = []
seconds = []
hours = []
while true do:
current[iteration] = READ?
"defbuffer1"
voltage[iteration] = TRAC:DATA?
iteration, iteration,
"defbuffer1", SOUR
seconds[iteration] = TRAC:DATA?
iteration, iteration,
"defbuffer1", REL
Section 8: Rechargeable battery measurements
Description
Reset the instrument.
Turn on high-impedance output mode.
Set to 4-wire sense mode.
Set to source voltage.
Set source level to 1 V.
Turn on source readback.
Set source range to 2 V.
Set the source limit to 460 mA.
Set to measure current.
Set current range to 1 A.
Turn the output on.
Create a variable called iteration and
initialize to 1.
Create a variable called voltLimit and
initialize to 1.
Create an empty array for current
measurements.
Create an empty array for voltage
measurements.
Create an empty array for the time values.
Start a while loop.
Append the current reading to the array
current.
Append the voltage reading to the array
voltage.
Append the time reading to the array
seconds.
8-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents