LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update enum control with typedef

Hello,

 

I'm trying to update enum control , with enum TypeDef.

But there is a conflict. 

Is it possible at all to connect this two elements?

Is there any solution?

 

Best regards.

0 Kudos
Message 1 of 3
(777 Views)

You need to replace your control with the type def as well.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(746 Views)

The control and constant are incompatible: The constant is an enum with 2 elements and the control is an enum with no elements.

Just replace the control with an instance of the typedef (right-click on the control, select "Replace -> Select a Control ..." then browse to the typedef file).

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 3
(743 Views)