Issue writing to bit 31

Hi all,

I’m experiencing some issues when trying to write to the last bit of a long data type.
Bits 0-30 are working as expected ( see below figure with e.g. bit 29 activated, giving me a value of 536870912 ).


When writing to bit 31, all bits are set, but the value is correct ( see below figure ).


I guess this has to do with the long data type being signed?
Anyone knows if there is a workaround to handle this issue? :crossed_fingers:t3:

Longs are 64-bit, not 32.

I can’t find the right manual page but this one is an indirect “proof”.

Ah, I was using toInt in my read and write expressions on my derived tags, heh… :face_with_peeking_eye:
Changed it to toLong, voilá.

Thanks! :wink: