LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server and Clusters

I have been using VI Server in my most recent application. I use multiple VIs with the same wiring layout and they all follow the strictly typed VI reference. The major input/output item to the VIs called by VI server is a cluster of different elements. Recently, I decided that I should type def the cluster so that I don't have to change every single instance of the cluster if I find I need to add something to it.

 

I updated every cluster instance, but when I tried to update the VI server stuff there are coercion dots that will not go away. I tried updating the statically linked reference, but this did not get rid of the coercion dots associated with the cluster on the Call By Reference Node. Any idea what causes these coercion dots and how I can get rid of them?

 

Thanks.

0 Kudos
Message 1 of 3
(2,398 Views)
Additionally, here is the section of code I am having trouble with...
0 Kudos
Message 2 of 3
(2,392 Views)

zenthoef wrote:

 

I tried updating the statically linked reference,


I don't have LabVIEW in front of me at the moment, but I don't think the VI reference coercion is a problem. As for the cluster, the most likely reason is that the type wasn't updated. The easiest thing to do is probably to drag one of the dynamically called VIs into the static reference and then disconnect it. I think you need to do that by selecting the disconnected type from the context menu.

 

You should also make sure that the cluster going into the node is also linked to the typedef.


___________________
Try to take over the world!
Message 3 of 3
(2,373 Views)