deviceDesc = dilution preparation resistance reading

Layout dilprep

makenv dilprep -driver dilprep

# lakeshore 370 monitor
makenv tmon -driver 370_lsc -port linse-6837-ts:3001 {
  lsc_sensor samplehtr -channel 1 -sensor raw -excitation 200mV -range 6kOhm -color black
  lsc_sensor sample -channel 3 -sensor raw -excitation 200mV -range 2kOhm -color blue
  lsc_sensor mix -channel 4 -sensor raw -excitation 200mV -range 6kOhm -color cyan
  lsc_sensor stillt -channel 10 -sensor raw -excitation 200mV -range 6kOhm -color orange
  lsc_sensor onek -channel 11 -sensor raw -excitation 200mV -range 6kOhm -color yellow
  lsc_sensor sorb -channel 12 -sensor raw -excitation 200mV -range 632Ohm -color dark_violet
}

# more than one softcal on the same raw value does not work properly
#makenv dil2 -driver softcal /tmon/sample/raw cx198
#makenv dil3 -driver softcal /tmon/sample/raw cx262
#makenv dil4 -driver softcal /tmon/sample/raw cx078
makenv ts -driver softcal /tmon/sample/raw cx078
#makenv sorb -driver softcal /tmon/sorb/raw c270

#GraphAdd dil2 K dil2 brown
#GraphAdd dil3 K dil3 green
#GraphAdd dil4 K dil4 green
GraphAdd ts K T_sample red
#GraphAdd sorb K sorb dark_violet
GraphAdd tmon.sorb.raw Ohm sorb dark_violet
GraphAdd tmon.onek.raw Ohm onek yellow
GraphAdd tmon.stillt.raw Ohm stillt orange
GraphAdd tmon.samplehtr.raw Ohm samplehtr black
GraphAdd tmon.sample.raw Ohm sample blue
GraphAdd tmon.mix.raw Ohm mix cyan

tmon autoscan 1
tmon sample/autorange 0

makenv tslope -driver slope /ts 1
GraphAdd tslope K/min slope 

