From 6070706571d51705a25f12d80f1759c8265b2118 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Tue, 2 Sep 2014 12:00:56 +1000 Subject: [PATCH] Stanford Research Systems Model SR630 Thermocouple Monitor --- .../environment/temperature/srs_sr630.sct | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 site_ansto/instrument/config/environment/temperature/srs_sr630.sct 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 + } +}