Search the Community
Showing results for tags 'enum'.
Found 3 results
variant scoped custom enumerations
Taylorh140 posted a topic in LabVIEW GeneralSo sometimes when you do protocol decoding it is convenient to use a variant to store decoded data. For example you might have a 2 bit enumeration that is decoded like this: 00 -> Good 01 -> Bad 10 -> Ugly 11 -> Catastrophic If you cast the value to an enumeration that contains these values before hand you can see them on the variant control. If you use a Ring you will only see a value. I know that the LV flatten to string contains the enumeration strings but the encoding is a bit of a mystery, although it looks like the openg palette has figured some of it out to some degree. But to me it doesn't look like there is any reason i couldn't generate an enum to use inside the scope of a variant. Has anyone done this, or know how to generate the string for this purpose.
Error 1604 generated on "Set Cell Value"
boochbrain posted a topic in LabVIEW GeneralI ran into this error while developing the project I'm currently working on. I've isolated the cause of the error and I'm able to demonstrate it in a simple VI. Basically, if I make a new selection on an enum or ring, while using the "set cell value" method on a table, error 1604 is generated. I want to understand why this is happening and also be able to fix it. test error 1604.vi
Hi, I need to customize a modern enum in labview 8.6.1. I need to move the increment buttons to the right side of the enum. After moving them to the right side, the decrement button remains in the exact same spot when you resize the enum control, whereas the increment button does what it is supposed to do and moves in conjunction with the control. The problem also exists with the ring control. However, the numerical control functions correctly and both increment and decrement are tied together and move in conjunction with resizing the enum. Grouping is not available when modifying controls. Does anyone have a workaround or fix for this issue? Thanks, Wm