Automatic distribution is a toggle button. I added these rows on startup. How can I change this so its a toggle rather than static text?
<Param id="18006">
<Name>Automatic Distribution</Name>
<Description>Automatic Distribution</Description>
<Type>read</Type>
<Interprete>
<RawType>numeric text</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
<DefaultValue>0</DefaultValue>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>Disabled</Display>
<Value>0</Value>
</Discreet>
<Discreet>
<Display>Enabled</Display>
<Value>1</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="18016">
<Name>Automatic Distribution</Name>
<Description>Automatic Distribution</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
<DefaultValue>0</DefaultValue>
</Interprete>
<Display>
<RTDisplay>false</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>Disabled</Display>
<Value>0</Value>
</Discreet>
<Discreet>
<Display>Enabled</Display>
<Value>1</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
Hi Samita,
Looking at the tags of your parameters the reason why you don't see the togglebutton is because you have the RTDisplay set to false for the write parameter
To see it you just need to set this tag for the write to true
<RTDisplay>true</RTDisplay>
Also, the DefaultValue tag does not work on columns only on stand-alone parameters, so you can remove this from both the read and write.
You can find some info here
DefaultValue element | DataMiner Docs