|
|||||||||||||
Old Title: FPGA Case Structure Needs To Display Enum Values
In LabVIEW the case structure can show enum values, while the FPGA case only shows the numeric value. Would like to see the below example capable in FPGA.
That makes more sense. I have updated the title of the idea to reflect this.
Also, there is a way to cast from an integer to an enum. It isn't pretty, and I won't accept it as a "fix" for this idea, but it is a workaround. You have to use clusters in such a way that forces LabVIEW to choose the enum type instead of widening to the integer type.
Why not use a simple subVI to coerce the data types? The subVi input control is of the integer data type and is wired the output indicator which is the enum. This should give you a coercion dot on the enum.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page