07-04-2024 05:31 AM
Unfortunately, I am not able to upload VI as some confidential information.
07-04-2024 09:39 AM
@przemo1526 wrote:
I have watched Tutorial, but still not able fix this issue.
I use Type def. for all constants
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.
07-08-2024 04:55 AM
I have 2 enum type definition.:one for pattern and one for type.
07-08-2024 11:15 AM
@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?
07-10-2024 04:42 AM
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.
07-10-2024 04:49 AM
@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 :
Could you show us what the pink square look like ? I never heard of it before.
07-10-2024 08:36 AM
07-10-2024 08:46 AM
Hi przemo,
@przemo1526 wrote:
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!)
07-10-2024 08:52 AM
ok, thank you