Skip to content

IOC for Keithley 2600B Series SourceMeter Instrument

Notifications You must be signed in to change notification settings

NSLS-II-CSX/keithly2600B

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

keithly2600B

IOC for Keithley 2600B Series SourceMeter Instrument

This ioc is currently under developmemnt. Signifiant changes will occur.

Initialization commands are currently needed. These are executed using telnet with the IOC off.

`telnet 10.23.3.63 5025`

then enter the commands

200mA i limit (0.2 AMPS) Keithley inputs/outputs in Amps! (driving i)

or (driving v) 2V v limit keither input/output in Volts

For Basic setup, paste following commands into telnet session (or send via asyn)

###CHECK SETTINGS
print(smua.sense)
print(smua.measure.autozero)
print(smua.source.func)
## power cycle default (or reset()) = ?,2,1  (? depends on what you told it)
print(smua.source.leveli)
## current when source on (AMPS)


###INITIALIZE

smua.reset()
smua.sense = smua.SENSE_REMOTE
## SHOULD PRINT 1.00 here for 4wire
#
smua.measure.autozero = 2
## 0 off,1 on, 2 autodecide the reference
#
smua.source.func = smua.OUTPUT_DCAMPS
## 0 current 1 volts
#
###########-- Set source range to auto.
smua.source.autorangei = smua.AUTORANGE_ON
###########-- Set current source to 0.003A.
smua.source.leveli = 1e-4
###########-- Set voltage limit to 10 V.
smua.source.limitv = 10
###########-- Set voltage range to 10 V.
smua.measure.rangev = 10  



print(smua.sense)
#1 for 4 wire
print(smua.measure.autozero)
# 0 off,1 on, 2 autodecide the reference
print(smua.source.func)
# 0 current (A) 1 voltage

BOOK EXAMPLE with modification change v & measure I:

#commands to input 
#BOOK EXAMPLE with modification  change v and measure I:

###########-- INITIALIZE 
###########-- Restore Series 2600B defaults.
smua.reset()
###########-- Select voltage source function.
smua.source.func = smua.OUTPUT_DCVOLTS
print(smua.source.func)
#should be 1
###########-- Set source range to auto.
smua.source.autorangev = smua.AUTORANGE_ON
###########-- Set voltage source to 5 V.
smua.source.levelv = 5
###########-- Set current limit to 10 mA.
smua.source.limiti = 1e-2
###########-- Set current range to 10 mA.
smua.measure.rangei = 1e-2  
###########-- Turn on output.
smua.source.output = smua.OUTPUT_ON
###########-- Print and place the current reading in the reading buffer.
print(smua.measure.i(smua.nvbuffer1),smua.measure.v(smua.nvbuffer1),smua.measure.r(smua.nvbuffer1))


 
############-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
print(smua.measure.i(smua.nvbuffer1),smua.measure.v(smua.nvbuffer1),smua.measure.r(smua.nvbuffer1))``

now change i & measure v

##now change i and measure v
smua.reset()
###########-- Select voltage source function.
smua.source.func = smua.OUTPUT_DCAMPS
print(smua.source.func)
#should be 0
###########-- Set source range to auto.
smua.source.autorangei = smua.AUTORANGE_ON
###########-- Set current source to 0.003A.
smua.source.leveli = 3e-3
###########-- Set voltage limit to 6 V.
smua.source.limitv = 6
###########-- Set voltage range to 6 V.
smua.measure.rangev = 6  
###########-- Turn on output.
smua.source.output = smua.OUTPUT_ON
###########-- Print and place the current reading in the reading buffer.
print(smua.measure.i(smua.nvbuffer1),smua.measure.v(smua.nvbuffer1),smua.measure.r(smua.nvbuffer1))

smua.source.leveli = 3e-1
print(smua.measure.i(smua.nvbuffer1),smua.measure.v(smua.nvbuffer1),smua.measure.r(smua.nvbuffer1))
######### measures 1e-1 mA because 
############-- END OF INITIALIZE

A few more controls.

############-- A few more controls.
############-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
print(smua.measure.i(smua.nvbuffer1),smua.measure.v(smua.nvbuffer1),smua.measure.r(smua.nvbuffer1))
 
####
#
#  MUCK UP SETTINGS?
smua.reset()
 
###
#
#2 wire, 4 wire, calibrate(for calibration)
print(smua.sense)
# 0 = 2wire
# smua.sense = smua.SENSE_LOCAL
# 1 =  4wire
# smua.sense = smua.SENSE_REMOTE
# 2 = calibration
# smua.sense = smua.SENSE_CALA
 
 

About

IOC for Keithley 2600B Series SourceMeter Instrument

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published