LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Type Defs and Event Structures

I'm updating some older LV 6.1 code. The front panel consists of controls within a cluster which is controlled by a Type Definition. Members of this cluster trigger an event structure. If I should make a change to my type definition, like adding another control to it, the corresponding frames in the event structure lose their connection to that control. Ha anyone seen this before? Any help appreciated!
0 Kudos
Message 1 of 7
(3,166 Views)
Could you upload the (original 6.1) code?

I don't fully understand what you mean.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 7
(3,144 Views)
Thanks for the reply. I've attached two pictures of the event structure which is acting on the events that occur within a cluster which is controlled by a type def. The picture called 'good' shows the normal  event structure. If I make a change to the type def, the picture called 'bad' shows what happens to the event structure. Note that the event connections have dissappeared.


Download All
0 Kudos
Message 3 of 7
(3,115 Views)
More importantly, are you updating this in LabVIEW 6.1 or into a newer version of LabVIEW? I ask because in 8.2 if you're creating an event case to a specific element of a cluster the event case name is of the form "<ClusterName>.<ElementName>":Value Change.
0 Kudos
Message 4 of 7
(3,060 Views)
This vi must stay in 6.1 because of customer requirements
0 Kudos
Message 5 of 7
(3,057 Views)
Is that typedef a normal one or a strict one? Have you tried chaning it to a strict-typedef and then change its contents? Plese observe while doing so, still the problem gets reproduced and then update here.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 7
(3,016 Views)
I've tried both loose and strict type defs, both give the same result
0 Kudos
Message 7 of 7
(2,990 Views)