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. GXObisValueItem Entries Without MaskSize Appear To Be Interpreted As Bit Flags

GXObisValueItem entries without MaskSize appear to be interpreted as bit flags

By Matt_Plumer , 6 November, 2026
Forums
DLMSDirector

Hello again :),

I have a question about how GXDLMSDirector interprets GXObisValueItem entries in manufacturer OBX settings.

My Values collection contains entries such as:
"<GXObisValueItem>
<Value>0</Value>
<UIValue>Valve open</UIValue>
</GXObisValueItem>
...
<GXObisValueItem>
<Value>64</Value>
<UIValue>Valve closed due to remote or local control</UIValue>
</GXObisValueItem>"

There is no MaskSize defined for these items.
The values are intended as mutually exclusive discrete states. In other words:

actual value = 64
should mean:
Value == 64
and not:
Value contains bit/mask 64

However, GXDLMSDirector appears to interpret these entries using bit/flag semantics and displays them using a CheckedListBox.

I would expect the behavior to be conceptually different depending on whether a mask is defined:
MaskSize not specified / zero:
exact value mapping
received value == GXObisValueItem.Value
MaskSize specified:
bit/mask interpretation
Is the current behavior intentional?

If GXObisValueItem without MaskSize is intended to represent an exact value mapping, it seems that the current UI is treating it as a bit field instead.

Could you please clarify the intended semantics of GXObisValueItem.Value and MaskSize in this scenario?

That's all from me,
Thank you in advance for your replays.

  • 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