Text nodes can't be mutable.
This commit is contained in:
@ -24,6 +24,7 @@ driver shutters = {
|
||||
readable = 1
|
||||
read_command = 'MG @IN[5], @IN[6]'
|
||||
read_function = read_switch_pair
|
||||
mutable = false
|
||||
property 'nxalias' = 'fast_shutter'
|
||||
}
|
||||
var rough_40 = {
|
||||
@ -34,6 +35,7 @@ driver shutters = {
|
||||
write_function = no_write;
|
||||
write_command = '10'
|
||||
allowed = 'in,out'
|
||||
mutable = false
|
||||
property 'nxalias' = 'rough_40'
|
||||
}
|
||||
var rough_100 = {
|
||||
@ -44,6 +46,7 @@ driver shutters = {
|
||||
write_function = no_write;
|
||||
write_command = '11'
|
||||
allowed = 'in,out'
|
||||
mutable = false
|
||||
property 'nxalias' = 'rough_100'
|
||||
}
|
||||
};
|
||||
|
@ -250,7 +250,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
hsetprop ${scobj_hpath}/fast_shutter read_switch_pair ${ns}::read_switch_pair ${scobj_hpath}
|
||||
hsetprop ${scobj_hpath}/fast_shutter control true
|
||||
hsetprop ${scobj_hpath}/fast_shutter data true
|
||||
hsetprop ${scobj_hpath}/fast_shutter mutable true
|
||||
hsetprop ${scobj_hpath}/fast_shutter mutable false
|
||||
hsetprop ${scobj_hpath}/fast_shutter nxsave true
|
||||
hsetprop ${scobj_hpath}/fast_shutter oldval UNKNOWN
|
||||
hsetprop ${scobj_hpath}/fast_shutter klass "collimator"
|
||||
@ -274,7 +274,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
hsetprop ${scobj_hpath}/rough_100 check ${ns}::checkrange ${scobj_hpath}
|
||||
hsetprop ${scobj_hpath}/rough_100 control true
|
||||
hsetprop ${scobj_hpath}/rough_100 data true
|
||||
hsetprop ${scobj_hpath}/rough_100 mutable true
|
||||
hsetprop ${scobj_hpath}/rough_100 mutable false
|
||||
hsetprop ${scobj_hpath}/rough_100 nxsave true
|
||||
hsetprop ${scobj_hpath}/rough_100 values in,out
|
||||
hsetprop ${scobj_hpath}/rough_100 oldval UNKNOWN
|
||||
@ -300,7 +300,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
hsetprop ${scobj_hpath}/rough_40 check ${ns}::checkrange ${scobj_hpath}
|
||||
hsetprop ${scobj_hpath}/rough_40 control true
|
||||
hsetprop ${scobj_hpath}/rough_40 data true
|
||||
hsetprop ${scobj_hpath}/rough_40 mutable true
|
||||
hsetprop ${scobj_hpath}/rough_40 mutable false
|
||||
hsetprop ${scobj_hpath}/rough_40 nxsave true
|
||||
hsetprop ${scobj_hpath}/rough_40 values in,out
|
||||
hsetprop ${scobj_hpath}/rough_40 oldval UNKNOWN
|
||||
|
Reference in New Issue
Block a user