This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

dt.uint64
#3
Sorry, it was my mistake.

I´m trying to do that:

valH = 0xFF00
valL = 0

val = bit.bor(bit.lshift(valH, 16), valL)

grp.update("32/1/4",val)  --dt.uint32
grp.update("32/1/5",val)  --dt.int32


In "32/1/4" it write "-16777216"
In "32/1/5" it write "0"

But when i write it in a dt.int64 and I change it to an dt.uint32, it shows right value "4278190080". If I write again, it shows "0" in dt.uint32.
Reply


Messages In This Thread
dt.uint64 - by DGrandes - 08.07.2022, 09:30
RE: dt.uint64 - by admin - 08.07.2022, 09:35
RE: dt.uint64 - by DGrandes - 08.07.2022, 10:04
RE: dt.uint64 - by admin - 08.07.2022, 10:52
RE: dt.uint64 - by DGrandes - 08.07.2022, 11:13
RE: dt.uint64 - by manos@dynamitec - 19.02.2024, 23:40
RE: dt.uint64 - by admin - 20.02.2024, 06:30
RE: dt.uint64 - by manos@dynamitec - 20.02.2024, 08:33
RE: dt.uint64 - by admin - 20.02.2024, 09:01
RE: dt.uint64 - by manos@dynamitec - 20.02.2024, 09:38
RE: dt.uint64 - by admin - 20.02.2024, 09:46
RE: dt.uint64 - by manos@dynamitec - 20.02.2024, 10:08
RE: dt.uint64 - by admin - 20.02.2024, 10:13
RE: dt.uint64 - by manos@dynamitec - 20.02.2024, 11:01

Forum Jump: