LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass semaphore as a reference?

Solved!
Go to solution

I have a semaphore I'd like create a reference for and bundle it into a cluster to pass to a subvi, is this possible? I have tried this and for some reason the reference cluster tied to the subVI has a broken line saying you have connected 2 clusters that mis-match. The typedef cluster has the proper semaphore in it, so I don't know why this won't work. Maybe you can't do this, not sure. Any ideas?

 

Thanks.

0 Kudos
Message 1 of 3
(2,106 Views)
Solution
Accepted by topic author QRP

Yes, you can do this.  If you have a broken wire, that means something just doesn't match up quite right.  Open up the context help.  Pay attention to how your cluster is defined as a datatype, and how the control in the subVI is defined as a datatype.

Message 2 of 3
(2,101 Views)

Great thanks.

0 Kudos
Message 3 of 3
(2,095 Views)