If I wanted to display a parameter in the custom variable (L:GAUGE_PARAMETER, number) in a gauge called "My Gauge", I'd write the following XML code:
<Tooltip>My Gauge (%((L:GAUGE_PARAMETER, number))%!d! units)</Tooltip>
If (L:GAUGE_PARAMETER, number) is equal to 15 (for example), then the tooltip will read My Gauge (15 units).
Suppose though I only wanted to display the parameter if another variable (L:GAUGE_ACTIVE, bool) is true (with the gauge only displaying "My Gauge" with no bracketed parameter after it if (L:GAUGE_ACTIVE, bool) is false) -- is there any way of doing that in XML?
Thanks in advance,
George
<Tooltip>My Gauge (%((L:GAUGE_PARAMETER, number))%!d! units)</Tooltip>
If (L:GAUGE_PARAMETER, number) is equal to 15 (for example), then the tooltip will read My Gauge (15 units).
Suppose though I only wanted to display the parameter if another variable (L:GAUGE_ACTIVE, bool) is true (with the gauge only displaying "My Gauge" with no bracketed parameter after it if (L:GAUGE_ACTIVE, bool) is false) -- is there any way of doing that in XML?
Thanks in advance,
George


