09-02-2013 04:29 AM - edited 09-02-2013 04:31 AM
Hello, i have a problem. I need to multiply two signals and then do an integral of it. Because my signals coming out from cluster, they are strings, so after multiplying i cannot wire it to integral 'block'. Can anyone help me how to convert it and wire correctly? U can see what i am talking about at screenshot.
Solved! Go to Solution.
09-02-2013 04:41 AM
They are NO strings.
LV simply uses a very similar color for clusters and strings, bnut the wire form is different.
Besides, multiplication does not work with strings at all.
And it only works with clustes if
What your code does is that both arrays in the two clusters are getting multiply... which multiplies each value in each array.
As the integral function only accepts a single array, there is a datatype mismatch.
What you have to do is to compute the integral for each array, so it might be better to multiply the arrays explicitly instead of using the cluster...
Norbert