05-24-2014 07:13 AM
Hello folk,
I am facing unexpected error in wire connection.
I am trying to connect array of cluster (3 elements) with waveform graph but my wire stay broken. I try to connect this array of cluster to terminal of subvi which leads me to following error
For reference I have attached my subvi here with.
Solved! Go to Solution.
05-24-2014 09:21 AM - edited 05-24-2014 09:29 AM
I don't see any "array of cluster" anywhere on the VI you have attached, so please be more specific. You should probably also include the calling VI with the broken wire.
Where is the data coming from? Since the terminal of both graphs are on the left side of the connector pane, they should probably be controls (=inputs to the subVI). One of them is an indicator. Do a right-click...change to control to fix that.
The clusters would need to be very specific, consisting of two scalars and an 1D array (x0, dx, [data], in exactly that cluster order). Any other array of clusters will not work, of course.
05-24-2014 10:20 AM
This is what I get from the LabVIEW help:
All VIs that implement a method must have the same connector pane pattern.
To correct this error, compare the connector pane patterns of both this VI and the VI of an ancestor class that implements this method.
Interesting Googling the phrase though - I came up with this link which might be of use as a "desktop reference."
05-24-2014 02:46 PM
Graph terminals support many data types, but once you have it as a connector, it no longer changes automatically when you wire some other supported type. Attach your calling VI with the broken wire and we'll tell you how to fix it. Simple as that.
05-25-2014 08:49 AM
The VI you attached is not broken. Hard to say where your trouble is.
The word "method" in the error message suggests that you are using LabVIEW classes in an object-oriented setup, but I don't see evidence of that.
Post something that is broken.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
05-25-2014 10:41 AM
jatinpatel1489@gmail.com wrote:
I try to connect this array of cluster to terminal of subvi which leads me to following error
This VI does not match other VIs in the method; connector pane patterns are different
For reference I have attached my subvi here with.
As I already said, this is only the subVI, but since the problem is with using this subVI inside another VI, you need to attach both so we can reproduce the problem. In order to help, you need to attach everything needed to troubleshoot.
Most likely you have a connector type problem. One of the terminal expects an array of waveforms. You need to go to the subVI and temporarily connect the correct array of clusters to the terminal so it switches over to the other supported type (you might have to turn it into an indicator temporarily: right-click...change to indicator). Once the graph terminal has morphed into the new type, delete the cluster again, change back to control if it was a control, and save the subVI.
05-28-2014 12:18 AM
by mistake I kept it as control. Silliest mistake that noone does and post on forum.
@altenbach wrote:
I don't see any "array of cluster" anywhere on the VI you have attached, so please be more specific. You should probably also include the calling VI with the broken wire.
Where is the data coming from? Since the terminal of both graphs are on the left side of the connector pane, they should probably be controls (=inputs to the subVI). One of them is an indicator. Do a right-click...change to control to fix that.
The clusters would need to be very specific, consisting of two scalars and an 1D array (x0, dx, [data], in exactly that cluster order). Any other array of clusters will not work, of course.