LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

terminals different type array cluster

I'm experiencing the following error message "You have connected two terminals of different types." Normally it's easy to find the solution, but the catch is that the sink and source are both the same: 1D array of cluster of 5 elements. See VI.

 

What am I doing wrong here, and how do I fix it?

 

Download All
0 Kudos
Message 1 of 6
(3,244 Views)

The problem is the Control of the Estimate Position VI is not an array of your cluster.  If you disconnect the wire going into that VI, the error "goes away".  Fix Estimate Position.

 

Bob Schor

0 Kudos
Message 2 of 6
(3,221 Views)

As Bob says the issue seems to be within the Estimate Position VI. Can you find the problem? If not, you could post the VI here so that I can take  a look at it. 

 

//Anton Sundqvist

0 Kudos
Message 3 of 6
(3,165 Views)

Hi Anton,

 

I fixed the problem. There was a mistake on my part in Estimate Position VI where I accidentally interpreted a String as a double in a cluster, hence why I couldn't use the cluster.

0 Kudos
Message 4 of 6
(3,153 Views)

Great to hear that you solved it! 🙂

 

//Anton

0 Kudos
Message 5 of 6
(3,135 Views)

A tip for you.

 

Index Array is resizable.  You don't need to drop 3 index arrays and wire up a 0, 1, and 2 to get the first 3 elements.

 

Drag the bottom border down.  Now you can have 3 different outputs from the same array.  You won't even need to wire up the indices because by default they will start at 0 and be in order from there.

Message 6 of 6
(3,120 Views)