LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enumeration conflict

I am getting an enumeration conflict with the averaging type input of the fractional octave analysis VI.
"You have two or more enumeration data types wired together, but the enumerations are different. The list of items in the enumerations must be exactly the same."

The problem is that I only want to give the user 2 options - exp or linear, I don't want option 2 or 3, just 0 or 1. Howe can I force this VI to accept my input?


Message 1 of 6
(9,073 Views)

Hi

It's not the right way to force the vi to accept your enumeration type. I'd suggest you creating a case structure and wire you enum to it. Inside the case structure you can place the enumeration of the vi.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 6
(9,063 Views)
There is an option of programmatically disable items on front panel control (attached)
Sergey
0 Kudos
Message 3 of 6
(9,055 Views)

Enumerations are for the programmer, not the user.  It is best to decouple the enumeration type from the user interface, and then typecast back to an enumeration to run the function.  This decoupling will allow for a more manageable code.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 4 of 6
(9,052 Views)

In my vi it shown that You have two or more enumeration data types wired together, but the enumerations are different. The list of items in the enumerations must be exactly the same. But  I don't know what should I do. How can I disable or change this error. I'm a new user.

 

0 Kudos
Message 5 of 6
(8,275 Views)

duplicate post

 

required information is in the other thread.

0 Kudos
Message 6 of 6
(8,250 Views)