Project

General

Profile

How can I limit value for a property ?

Added by Legay, Eric about 9 years ago

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 ?

Thx


Replies (1)

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
<specific_values value="1,2,3,4,5"/>

This entry must be included within the <property></property> tag.

    (1-1/1)