06-03-2015 04:49 AM
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?
06-03-2015 06:18 AM
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
06-05-2015 03:31 AM
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
06-05-2015 03:51 AM
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.
06-05-2015 06:46 AM
Great to hear that you solved it! 🙂
//Anton
06-05-2015 07:37 AM
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.