Stanford Research Systems Model SR630 Thermocouple Monitor
This commit is contained in:
@ -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
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user