07-02-2024 09:41 AM
This is just a picture, not a VI and completely useless to troubleshoot.
Why show unbroken code if you problem is with the broken code?
So, what changes did you make? Did you edit the items of the enum? If you would have made it a typedef from the beginning, you would not be in this mess.
07-02-2024 09:53 AM
Sorry I am new to this software
Do you mean Main VI software file not picture ?
I have showed unbroken code by mistake from other source ( original one before changes made)
I have started to add in parallel new Pattern with new Type definition.
07-02-2024 10:05 AM
Thank you this works .I have removed and create a new constant
07-02-2024 10:09 AM
I have another one same type error . What can I do ?
07-02-2024 10:10 AM
@przemo1526 wrote:
Sorry I am new to this software
Then you should not dive into the deep end! Learn the basics first!
@przemo1526 wrote:Do you mean Main VI software file not picture ?
Yes, attach your VI and its dependencies Preferably saved for LabVIEW 2020 or earlier.
@przemo1526 wrote:I have started to add in parallel new Pattern with new Type definition.
I doubt your edited a type definition, because there are almost none so far. Do you even know what a type definition is? The only type definitions I can see on your picture are the diagram constants on the very left ("Hide", "Dialog") as indicated by the black triangle in the upper left corner). Also all your equal comparison (with the red coercion dots!) show that you compare apples and oranges.
07-02-2024 10:13 AM
@przemo1526 wrote:
I have another one same type error . What can I do ?
You need to start with the basic tutorials!
Your subVI connector is a different data type compared to what's wired to it. They need to be the same.
07-02-2024 10:22 AM
@przemo1526 wrote:
I have another one same type error . What can I do ?
You make sure you use the Type def in all constants and Connectors so they all follow any definition changes.
TypeDef | FRC LabVIEW Tutorials
07-03-2024 10:30 AM
I have watched Tutorial, but still not able fix this issue.
I use Type def. for all constants
07-03-2024 11:42 AM
@przemo1526 wrote:
I use Type def. for all constants
You need to use the SAME typedef for ALL constants, controls, and indicators. Don't forget the control assigned to the connector of the subVI.
We can give much more specific help if you would attach your VI (and dependencies, such as the typedefs). Showing us truncated stamp size images is not useful! Go to your toplevel VI and do a "save for previous", 2020 or below, the zip up the resulting folder and attach it here.
07-03-2024 01:38 PM
To get us the LabVIEW files we need to see in order to be maximally helpful, please do the following:
We'll take a look and help you understand what is going on.
Bob Schor