LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enum data items dynamically

hi all i am doing som applidcation in labview. in my programme .if iselect one data item of one enum.can i change dyanmically /the option of another enum dataitems.plese tell me
 
0 Kudos
Message 1 of 11
(6,993 Views)


jabili wrote:
hi all i am doing som applidcation in labview. in my programme .if iselect one data item of one enum.can i change dyanmically /the option of another enum dataitems.plese tell me
 



Yes, you can change the other enum's dataitems dynamically.

Try using the [Strings] property to achieve what you want...

Happy season ahead!

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 11
(6,980 Views)
You CANNOT change the string value of enums during runtime.

You CAN change the string values of rings during runtime.  If you want to dynamically change the values of a pulldown, you must use a ring control, not an enum.
0 Kudos
Message 3 of 11
(6,969 Views)
On a second read it actually sounds like the user is trying to change the value displayed in the second enum based on the value of the first enum. IF that's the case, you just need to write the value using a local variable of the second enum (or the "Value" property node).
Message 4 of 11
(6,967 Views)

Hi jabili,

Sorry for misleading you... Smiley Sad

Hi Mathew,

Thanks for correcting my mistake! Smiley Happy

But, I thnk, smercurio_fc has hit the bull's eye. Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
Message 5 of 11
(6,939 Views)
thanks  to both of them
 
0 Kudos
Message 6 of 11
(6,900 Views)

Remember that enums are for the programmer to make code more readable.  So changing an enum at runtime makes little sense. Enums just map an integer list to a text name. Text boxes and string arrays are better suited for updating a user interface list although enums are nice to use on the interface they are not dynamic at runtime.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 7 of 11
(6,883 Views)
Thank u for responding . i have duobt i.e  the Ring controller support the Labview Pda module ? i want more information regarding which functions are support the  Labview Pda module?
Message 8 of 11
(6,769 Views)
Jabili, all the information for PDA and Touch Panel can be found in the LabVIEW Help. Navigate to PDA Module or Touch Panel Moduel >> Creating Touch Panel VIs >> Supported Methods or Supported Properties, and navigate to PDA Module or Touch Panel Moduel >> Creating Touch Panel VIs >> Designing PDA and Touch Panel UI >> Controls and Indicators >> Unsupported Controls and Indicators. You can also select each particular control or indicator to see what functionality is supported by each.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 9 of 11
(6,678 Views)
hi thanking sir for responding, i posted already the eunms data change the dynamically its not ,r instead of enums i used the ring controller for changing the user view of text. it works fine on the pc . my qustion is same thing work on Pda or not? plz clarify my doubt
0 Kudos
Message 10 of 11
(6,397 Views)