deviceDesc = lamp oven control (from manuel knecht)

makenv tt -driver flctrl -port ldm-flamp-ts:3002 {
  voltscale 15
  min_resist 0.01
  max_resist 100
}

catch {
#  tt toutmax 335
  tt prop 0.001
}

GraphAdd tt.t1 K T1
GraphAdd tt.t2 K T2
#GraphAdd tt.t3 K T3
#GraphAdd tt.t4 K T4
GraphAdd tt.target K T_set
GraphAdd tt.t1.raw mV V1
GraphAdd tt.t2.raw mV V2
#GraphAdd tt.t3.raw mV V3
#GraphAdd tt.t4.raw mV V4
#GraphAdd tt.tref K_2
#GraphAdd tt.tout K_2
GraphAdd tt.power W power
GraphAdd tt.htr % htr
GraphAdd tt.resist Ohm resist
GraphAdd pv mbar p_vac
#GraphAdd tt.s1 i s1
#GraphAdd tt.s2 i s2
GraphAdd tt.i_htr A

GraphAdd tt.slope K/min
GraphAdd tt.sramp K/min
GraphAdd tt.powerset W
GraphAdd tt.powerprop W
GraphAdd tt.maxpower W
GraphAdd tt.tout K T_wall

tt t1/curve type-k
tt t2/curve type-k
#tt t3/curve type-k
#tt t4/curve type-k
tt ctrlchan 1
tt ramp 99

makenv current -driver irfcurrent -port ldm-flamp-ts:3001
makenv pv -driver pfeiffertpg -port ldm-flamp-ts:3005
#makenv pv -driver pfeiffertpg -port asm142:3001

GraphAdd current.i1 A
GraphAdd current.i2 A
GraphAdd current.i3 A
GraphAdd current.i4 A
GraphAdd current.ib A
