# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent driver mercury_level = { vendor = oxford; device = mercury; protocol = std; class = environment; simulation_group = environment_simulation; add_args = '{id 99}' make_args = 'id' group Level = { priv = user; type = float; readable = 15; var Nitrogen = { read_command = 'READ:DEV:DB5.L1:LVL:SIG:NIT:LEV'; permlink = 'L.S01'; } var Helium = { read_command = 'READ:DEV:DB5.L1:LVL:SIG:HEL:LEV'; permlink = 'L.S02'; } } code read_function rdValue = { @ scan [lindex [split "$data" ":"] end] "%g" data } }