LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing type defined Modern enums to System

Is there a way to convert a Modern enumerator control to a System enumerator if it's type defined?  I am trying to create some configuration screens that allow a user to change settings associated with DAQ.  The default DAQ type defined enums are in the Modern style, but I want them to be System.  The controls are not strict typedefs so I should be able to change their visual properties without changing their data.  However, if I try to replace one of these controls with the System equivalent, I lose all its data.

0 Kudos
Message 1 of 3
(2,802 Views)

How are you doing it now?

 

If I have an enum, go to the front panel, right click, Replace, then navigate to the System Enum, I find the appearance changes and all the data remains intact.

0 Kudos
Message 2 of 3
(2,799 Views)

Ahh, nevermind.  It turns out the control I was trying to edit 'was' a strict type definition.  It's not ideal to have to modify the type definition in this case as it is an NI addon that is in the vi.lib folder, so the change won't take affect on other PCs.  I'll have to notify the appropriate folks at NI about this, as the type def certainly should not be a strict type def.

0 Kudos
Message 3 of 3
(2,795 Views)