How can I limit value for a property ?
For my frequency generator, I would authorize only value between 100 Hz and 1040 MHz.
Have I some way to ensure this from graphical point of view ?
If it's not possible, I could check in my driver, and ...
How to report cleanly this error during a run ?
Can I stop automatically the run from my driver ?
RE: How can I limit value for a property ? - Added by Mutti, Paolo about 9 years ago
In the file relative to the frequency generator under "serverproperties" you can add one of the following lines depending on your needs:
for a range:
<property_range min_property="min_value" max_property="max_value"/>
fro specific values
This entry must be included within the <property></property> tag.