09-07-2020 11:23 AM
Hi all,
I want to create a shared variable that the data type is a cluster stored in a library belongs to the same project to keep the connection with the type def as the photo below shows.
The picture below show a shared variable that the data type is a Enum stored in library (CommonLLB.lvlib).
Thanks.
09-07-2020 10:52 PM - edited 09-07-2020 10:52 PM
Hi,
Taken from this forum discussion.
You can use a cluster as a shared variable type. First you have to convert your cluster into a custom control by right-clicking on your cluster and select Advanced>>Customize. Then save the cluster as .ctl file. In the shared variable dialog, choose "Custom" for the data type and select your .ctl file.
09-08-2020 04:18 AM
I know this method but the variable loses the link with the cluster in the library, because the cluster will be saved outside this library.
I'm looking for another method.