LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to "merge" two typedef custom controls?

Hi all,
 
I am developing an application with a list of commands that are stored in an "enum" data type.  There are three types of commands that I would like to be able to define in three separate enum custom typedefs, but I would like to create a fourth type that is the equivalent is a C union for these - is there any way to do that?
 
Thanks,
 
Jason
0 Kudos
Message 1 of 2
(2,667 Views)
You might be able to kind of do so under LV 8, with the new Xcontrol functionality.  Create a ring control that has associated code which, upon initial execution, takes the strings from the three typedefs and populates the ring with the combined array of strings.  Since I haven't played with Xcontrols yet, I can't say for certain, but i imagine that that would give you what you're looking for in terms of UI.  You wouldn't get the auto-updating embedded string information that you have with enumerateds, though.
0 Kudos
Message 2 of 2
(2,649 Views)