LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing data type connection for references to cluster variables with typedef dependence

Hi everybody,

within the attached vi you'll find an example DataTypeRefExample showing a maintenance intensive direct solution as well as a workaround which no longer should be necessary within future Labview versions.

Best regards,

Michael Theumert
0 Kudos
Message 1 of 6
(3,010 Views)

At first read I thought you were posting the "holy grail" of LabVIEW.

Make the control on your sub-VI a type def as well. You will have to maintain the typedef manually but it should work.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 6
(2,999 Views)
Sorry, I just forgot to include some files. Attached to this message you'll find an updated version of the sample vi's as zip archive.

Within this archive you'll also find a closer description in text format.


Message Edited by JensM on 07-09-2007 03:03 PM

0 Kudos
Message 3 of 6
(2,996 Views)
sorry, I now seem to be some sort of confused. just mixed to threads. just forget my last post.
0 Kudos
Message 4 of 6
(2,992 Views)

Hi Ben,

thanks for your quick answer. The solution that you've describe above is in my opinion very inconvenient to maintain,
because in case of changing the main vi's control type-def you'll thereby always have to change the sub-vi type-def
as well.

What I want is to only have to change the cluster type-def.

Best regards,

Michael Theumert

0 Kudos
Message 5 of 6
(2,989 Views)

Make the control used to pass in the reference to the sub-VI a typedef in additionl to the cluster, and use that typedef in all of the sub-VI's.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(2,985 Views)