05-29-2013 09:25 AM
Dear LabVIEW Forum members,
With reference to the attached vi (at the very bottom section of Block Diagram) I have used two 'Collector' blocks within the 'Control & Simulation Loop' to capture data that has been run within the simulation loop. These collectors are then ported outside to a small 'For' loop whereby I manipulate the data. I then need to display the result on a graph as well as in an array indicator as shown.
There are some signal incompatibilities that I'm not sure how to correct. Does anyone have any ideas ?
Solved! Go to Solution.
05-30-2013 07:47 PM
Hello Bunnykins,
The reason you're getting broken wires is because your data types aren't compatible. You're attempting to subtract a cluster from a double. (note the different colored wires)
You'll need to unbundled the cluster, which is returned from your second collector, before you can use its contents in mathematic functions, similarly to how you unbundled them from the first collector.
You can find more information on working with Clusters and Arrays in LabVIEW here: http://www.ni.com/white-paper/7571/en