LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO PASS HEX VALUE FROM MAIN PROGRAM VI ENUM, TO SUB VI ENUM

Solved!
Go to solution

Thanks.

Your guess was almost right.

I have a SUB VI that have an Enum Selector to case structure of Hex Values.

I have a main vi that (generates messages in ASCII CODES).

Since the Sub was already made, I had to send a hex parameter from String Field of Calling main vi, '33' hex  to the Sub vi Enum and to case structure of Sub vi.

 

PS. I did right click on the Structure, I don't have a radix option. Labview 2009.

0 Kudos
Message 11 of 13
(979 Views)

@Metachnet wrote:

 

PS. I did right click on the Structure, I don't have a radix option. Labview 2009.


If you right click on a case structure it does have a radix option like Omar shows, even in LV 2009.

 

If you are talking about the numeric control, or a numeric constant, you need to right click Visible Items >> Radix

0 Kudos
Message 12 of 13
(974 Views)

@Metachnet wrote:

PS. I did right click on the Structure, I don't have a radix option. Labview 2009.


I am guessing again, but are you still using the enum with the case structure?

If you use a normal numeric input to your case structure, you will then see the radix optioin.

You might want to post you key select vi so we will not have to guess.

Omar
0 Kudos
Message 13 of 13
(964 Views)