LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wire enumeration conflict

Unfortunately, I am not able to upload VI as some confidential information.

0 Kudos
Message 21 of 29
(352 Views)

@przemo1526 wrote:

I have watched Tutorial, but still not able fix this issue.

I use Type def. for all constants

przemo1526_0-1720020658872.png

 


 

Showing a random picture is not helpful, especially since it does not even show any constants.. All we can tell that you maybe have a cluster with four items (A name(string), a pattern(enum), a type(enum), and a boolean). Or maybe these are all controls over a raised background decoration, who knows??

 

So you should have exactly two enum type definitions, one for pattern and one for type. Do you?

Then you need to replace all instances of the old diagram constants, controls and indicators with the appropriate the type definition. Don't forget the ones inside clusters.

 

Of course after that, you can also make the cluster (containing two typedefs) a typedef, but it is more important to deal with the enums first.

 

0 Kudos
Message 22 of 29
(335 Views)

I have 2 enum type definition.:one for pattern and one for type.

0 Kudos
Message 23 of 29
(313 Views)

@przemo1526 wrote:

I have 2 enum type definition.:one for pattern and one for type.


So do you still have a problem?

 

Did you really (really!) replace all old diagram constants with the typedef? Do they all have a black triangle in the upper left corner?

0 Kudos
Message 24 of 29
(287 Views)

I am still working on this project.

I have replaced constants which caused error.

Where is this triangle? I can see a pink squares on upper right corner.

 

0 Kudos
Message 25 of 29
(268 Views)

@przemo1526  a écrit :

I am still working on this project.

I have replaced constants which caused error.

Where is this triangle? I can see a pink squares on upper right corner.

 


The black triangle look like this :

PinguX_0-1720604845508.png

 

Could you show us what the pink square look like ? I never heard of it before.

0 Kudos
Message 26 of 29
(266 Views)

przemo1526_1-1720618633884.png

 

 

0 Kudos
Message 27 of 29
(250 Views)

Hi przemo,

 


@przemo1526 wrote:

przemo1526_1-1720618633884.png

 

 


This is the VI icon with its connector pane.

You should know that from your LabVIEW basics course…

 

Both (icon/pane) has NOTHING to do with type-defining an enum (or other control)! (As you know from that basics course!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 28 of 29
(245 Views)

ok, thank you

0 Kudos
Message 29 of 29
(240 Views)