Skip to content
Snippets Groups Projects
Commit 84340a3b authored by Martin Killenberg's avatar Martin Killenberg
Browse files

implemented read_only. Tested manually but no automatic test yet.

parent fc9f21ea
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@ namespace ChimeraTK {
}// if name too long
}// if scalar
// set read only mode if configures in the xml file or for output variables
if (!processArray->isWriteable() || !propertyDescription.isWriteable){
doocsPV->set_ro_access();
}
return doocsPV;
}
......
......@@ -7,6 +7,9 @@
<property source="DATA_TYPE_CONSTANT">
<has_history>false</has_history>
</property>
<property source="TO_DEVICE_SCALAR">
<is_writeable>false</is_writeable>
</property>
</location>
<import>/</import>
</device_server>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment