07-31-2015 05:29 PM
Hi,
I've been using some Enum controls and indictators successfully with some shared variables and modbus.
For example:
Item name Value
Off: 0
Startup 1
On 2
Enum setup works great, i dont need to lookup a cheat sheet to convert from the Item name to its Value, i just see the Item name in my control/indictor.
My new variables I'm trying to handle look like this:
Item name Value
Off Code 0x201
Start Code 0x202
On Code 0x001
Any Ideas how i can display the value and the Item name on a front panel. ( for a control and an indicator)
For enums, it looks like the item Values have to go 0,1,2,3,4,5
Solved! Go to Solution.
07-31-2015 05:48 PM
Under the Visible menu there's something called Digital Display (or something like that. I don't have LabVIEW on this computer). Is that what you are looking for?
07-31-2015 05:54 PM
Hi Bill,
I already use the digital display.
The problem is that i cannot enter my own values in the enum properties, labview automatically selects 0,1,2,3,4,5
What if my values are 0x201 , 0x202 ?
James
07-31-2015 05:59 PM
I can use a case structure ( see attached) but this is overkill. Surely there is a way to do this with an indicator/control without making labview for each variable name and value i want to display.
07-31-2015 06:12 PM
I found the solution:
http://digital.ni.com/public.nsf/allkb/79BA4505AE8C755E86256FB2000140B0
use a text ring and unselect sequential tick box
08-01-2015 01:12 AM
Sorry I misunderstood you. Good to see that you found your solution on your own. 🙂