LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal incompatibilities

Solved!
Go to solution

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 ?

0 Kudos
Message 1 of 2
(2,313 Views)
Solution
Accepted by topic author bunnykins

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

 

 

Applications Engineer
National Instruments
CLD Certified
Message 2 of 2
(2,283 Views)