07-27-2011 11:28 PM
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.
07-27-2011 11:38 PM
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.
07-28-2011 01:39 AM
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.