Hi
Is there a way in the QAction code that can dynamically change the units and decimals of another parameter?
e.g., I have a parameter A which i can enter the units string, such as: m, dB, %, C deg etc
And i have a QAction which can dynamically assign the units string stored in parameter A to Parameter B so the Parameter B has the units which is defined by parameter A.
Is that possible?
Thanks
Hi peng fei,
As far as I know this is not possible. For this case you will need to create parameters for each specific measurement. However, it is possible to convert dynamically the units for the same measurement (see dynamic units) For example, the units for a parameter that displays a bit rate can be converted dynamically to Kbps, Mbps, Gpbs.
Hope it helps.
It's possible to override the visible properties of a parameter from a QAction with the following method: NT_UPDATE_DESCRIPTION_XML
This supports updating parameter descriptions, min and max range and step size. From DataMiner 10.2.5/10.3.0 onward, unit overriding is also supported.
This method applies only for the individual element. The updated parameter will not be updated on other elements.