diff --git a/site_ansto/instrument/config/environment/temperature/srs_sr630.sct b/site_ansto/instrument/config/environment/temperature/srs_sr630.sct new file mode 100644 index 00000000..8c5bb0ec --- /dev/null +++ b/site_ansto/instrument/config/environment/temperature/srs_sr630.sct @@ -0,0 +1,43 @@ +# Stanford Research Systems SR630 Thermocouple Monitor +# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent +driver stanford_sr630 = { + vendor=StanfordResearchSystems; device=SR630; + protocol=std; + class=environment; + simulation_group = environment_simulation; + + group = { + priv = user; + var id = { + readable = 10; + type = text; + read_function = read_id; + read_command = ""; + } + var senor_01 = { + readable = 10; + type = float; + read_function = readSensor; + read_command = "1"; + } + var senor_02 = { + readable = 10; + type = float; + fetch_function = getSensor; + read_function = readSensor; + read_command = "2"; + } + } + code read_id = { + @TCL + @END + } + code getSensor = { + @TCL + @END + } + code readSensor = { + @TCL + @END + } +}