I would just like to know if this is expected behavior or not.
I have a protocol where I have discreets with numeric values, and instead of showing the Display value it shows the numeric value.
This only happens on the Read parameter, not on the Write parameter that is linked to it.
Is this expected behavior?
Example :
(in this concrete example, if the value received from the device is 0, it should display 1, and it should show 2 if the value received from the device is 1.
In our example it simply displayed the value received from the device, instead of the display value. If you change the Display tag to a textual version (e.g. P1) the display value is also being shown for the Read parameter.)
<Param id="1000" trending="false">
<Name>Testparameter</Name>
<Description>Testparameter</Description>
<Type>read</Type>
<Information>
<Subtext>This is a test of numeric discreets</Subtext>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>1</Display>
<Value>0</Value>
</Discreet>
<Discreet>
<Display>2</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>3</Display>
<Value>2</Value>
</Discreet></Discreets>
</Measurement>
</Param><Param id="1001" setter="true">
<Name>Testparameter</Name>
<Description>Testparameter</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>1</Display>
<Value>0</Value>
</Discreet>
<Discreet>
<Display>2</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>3</Display>
<Value>2</Value>
</Discreet></Discreets>
</Measurement>
</Param>
Hi Filiep,
This does not seem to be the expected behavior. You can create a task for this and we will have a look at what goes wrong.