Jump to content

shamloo

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by shamloo

  1. attachicon.gifGet Enum String.png

    Could it be the "Get Strings from Enum__ogtk.vi" that you're looking for?

    Neville D told me I should have OpenG installed on my labview to be able to look for that function. Once I have install it, I can confirm what you said.

    By the way, I ended up changing all enums to rings to make it possible to programmatically translate the items in the control to various languages.

  2. One trick that I use a lot in my UIs is to use a ring control whose strings get initialized from the strings array of an enum. I use the OpenG, "Get Enum String Values" VI to get the list of strings from the enum's type descriptor info and then pass this to the ring's Strings[] property.

    Jim, where is "Get Enum String Values" VI? I googled it and tried to find it on LAVAG without success.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.