08-02-2012 09:28 AM
We're starting to explore the unit test framework (UTF) (since it comes with the dev suite now), and I was trying to figure out if there's a way to get the UTF to know about the labels associated with enumeration controls? The UTF seems to know that a given input or output of a VI is an enumeration (the data type gets populated as Enum U16, for example), but it doesn't seem like the label information goes along with that.
Is there a checkbox or clicky-widget I'm missing somewhere?
Thanks -
Tom
08-03-2012 04:50 PM
Have you tried using enum property node? I believe you should be able to obtain the labeled text that way. The following link shows how to extract the strings associated with an enum type.
Regards,
Isaac S.
09-05-2012 11:51 AM
Issac,
When I tried to navigate to the link you suggested I could I got a page load error. Do you have a better link maybe?
Thanks
WireWarrior
09-06-2012 11:55 AM
My apologies please try this link instead:
http://digital.ni.com/public.nsf/allkb/7BD127B0C8AC37D3862571AF004DF697?OpenDocument
Regards,
Isaac S.