At 10:31 AM -0800 1/18/04, PJ M wrote:
...>The OpenG toolkit has a "Set Enum String Value" VI ...

One can also just use the "Scan From String" primitive with the enum type def constant as the "default value 1" and the string you want to set as "input string". This way "output 1" will return the enum type def with the "input string" value.

Ouch! How could I have missed that? As long as you watch the error output for error 85 (the string is not an element of the enum), it works great. Even in LV 5.1, which is as far back as I have on this machine.


Thanks to this forum, I'm getting less stupid every day.

--
        EnWirementally,
        Paul F. Sullivan

----------------------------------------------------

        SULLutions              (781)769-6869
        "when a single discipline is not enough"

visit http://www.SULLutions.com

----------------------------------------------------




Reply via email to