10-13-2023 03:16 AM
Hi all,
I found that the GOOP Create Class tool typecasts DVR to U32 in the 64bit version LabVIEW environment. I used to think that "Typecast DVR to Unsigned Integer" is to get the starting memory address of the data dereferenced from the DVR.
If my thought is right, the GOOP Create Class tool typecasts DVR to U64 in the 64bit version LabVIEW. Could anyone kindly explain the right meaning of "Typecast DVR to U32" for me?
Thanks
Godel
Solved! Go to Solution.
10-15-2023 09:44 PM
Hi,
All references (at the moment) are of U32, or actually the number of references you can create are 2^31.
So you can create: 2147483648 DVR references, but also 2147483648 Queues, 2147483648 notifiers,...
Why we store the reference as a number(U32) and not just the DVR ref itself, is to allow the composition pattern.