08-25-2023 03:11 PM
Hello everyone,
I'm trying to unpack a Tab control reference from a Typedef, but I get the following message when I put the probe after the unbundle:
Not A Refnum
Refnum (in hex): 0x00000000
The direct reference gives the following value on the probe and it works:
Class name: TabControl
Control label: Tab
Refnum (in hex): 0xED0007DE
Owning VI: Untitled 5
The procedure I follow to create the typedef is the following:
I don't know what is happening, my Labview version is 2021 SP1. Could anyone help me, please??
Solved! Go to Solution.
08-25-2023 10:10 PM
Try this:
08-28-2023 01:12 AM
Hello George,
What I want to avoid is passing the reference on the lower part. That's why I'm creating the TypeDef. I want to use the unbundle by name with the property node on the lower part.
After looking to your solution I've been thinking that maybe an initialization of the tab control reference is required. Could anyone explain why is required this initialization?
Cheers.
08-28-2023 02:13 AM
Hi IPach,
@IPach wrote:
Hello George,
What I want to avoid is passing the reference on the lower part. That's why I'm creating the TypeDef. I want to use the unbundle by name with the property node on the lower part.
After looking to your solution I've been thinking that maybe an initialization of the tab control reference is required. Could anyone explain why is required this initialization?
Because a typedefinition is just what the name says: a definition of a datatype - but not of a data value!
So you need to initialize the cluster values with actual values, like the reference of your tab container…
08-28-2023 02:40 AM
Thanks for the explanation GerdW, as you see I'm a rookie in labview! 🙂