add drivers from l_samenv@samenv

This commit is contained in:
l_samenv
2022-08-22 14:59:00 +02:00
parent 0257120887
commit 078ab80814
18 changed files with 4167 additions and 0 deletions

19
tcl/drivers/k6487.tcl Normal file
View File

@ -0,0 +1,19 @@
# keithley 6487 picoammeter / voltage source
namespace eval k6487 {} {
}
proc stdConfig::k6487 {} {
controller std "\n" 5
prop startcmd "*IDN?"
obj Keithley6487 wr
prop readcmd "SOUR:VOLT?"
prop writecmd "SOUR:VOLT %.12g"
kids "k6487 voltage source" {
node voltrange wr -int
prop read "SOUR:VOLT:RANGE?"
prop write "SOUR:VOLT:RANGE %d"
prop enum 10=10,50=50,500=500
}
}