Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Displaying Mapped UInt8 Values As Read-only Text In GXDLMSDirector

Displaying mapped UInt8 values as read-only text in GXDLMSDirector

By Matt_Plumer , 6 November, 2026
Forums
DLMSDirector

Hello,

first, I would like to say hello to everybody, especially Mikko - kudos to your knowledge and great job that you're doing :). Hope the DLMSDirector forum is right place for me to ask.

I am using GXDLMSDirector 9.0.2508.2701 and I would like to display a descriptive text for a numeric status value defined in manufacturer OBX settings.

For example, the device returns:
UInt8 = 64

and the OBX file contains:
"...<GXObisValueItem>
<Value>64</Value>
<UIValue>Valve closed due to remote or local control</UIValue>
</GXObisValueItem>..."

The desired presentation is simply:
Value: Valve closed due to remote or local control
instead of:
Value: 64

I can achieve the Value -> UIValue mapping using:
<UIValueType>3</UIValueType>
but this displays the value as a CheckedListBox. This is not ideal for a status attribute, especially if the attribute is read-only. (There is also another problem with this, which I'll mention in other post)

I can't get it displayed as a normal read-only TextBox, without a dropdown list or checkboxes, no matter which UIValueType I choose. I will also 'report' it in other post in a broader context.

So, the question is:
Is there currently a supported way to apply the GXObisValueItem.Value -> UIValue mapping while keeping UIValueType=TextBox?
If not, could this be considered as a feature request?

Thank you.

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
  • Displaying mapped UInt8 values as read-only text in GXDLMSDirector
  • Python example can't read date from meter using WRAPPER connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin