LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion cluster of 4 elements to cluster of 2 elements

Hello

guys

 

Id like to get help fom you guys, im try to convert cluster of 4 elements to cluster of 2 elements .

 

how can I do that?

I show what Im trying to connect111.PNG

 

 

Im using infrared array and I want to count the objects . Ive connect it to analog port arduino and i want it to count the object in the room 

 

Thank you

0 Kudos
Message 1 of 14
(3,715 Views)
That image really does not help. In general, you just unbundle and rebundle.
0 Kudos
Message 2 of 14
(3,706 Views)

999a.PNG

0 Kudos
Message 3 of 14
(3,695 Views)
That still does not help. I have no idea what cluster you want to convert and what you want to convert to. As I said, you can unbundle and bundle but whether the data types match is something only you know. I don't have the arduino toolkit, have no intention of installing it, and don't recognize the other function.
0 Kudos
Message 4 of 14
(3,680 Views)

Thank you let someday answer it then Smiley Happy

0 Kudos
Message 5 of 14
(3,671 Views)

Cappp.PNG

 

This is the probelem guys how can i solve it 

 

Thank you

0 Kudos
Message 6 of 14
(3,663 Views)
An arduino reference has nothing to do with IMAQ.
0 Kudos
Message 7 of 14
(3,657 Views)

For wiring from cluster A to cluster B, try the following:

 

1) For the cluster A output terminal, connect an Unbundle or Unbundle By Name, to gain access to the source elements of cluster A

 

2) For the cluster B input terminal, right-click on it and create a constant, unwire the constant, then use it with Bundle or Bundle By Name to gain access to the destination elements of cluster B

 

3) Cluster A and Cluster B will likely have different elements, but you might be able to wire particular source elements to particular destination elements as needed if they are not too different. This will require an understanding of what the elements are, which is probably beyond the scope of this forum.

 

0 Kudos
Message 8 of 14
(3,634 Views)

@jonhde077 wrote:

Cappp.PNG

 

This is the probelem guys how can i solve it 


No, that's not the problem. You cannot simply "convert" something until the LabVIEW compiler no longer throws an error unless it actually makes sense. If you have four elements and only want to retain two, there are many possible permutations. What are the four elements, what is their datatype, and what do they represent. What kind of data does the other connector expect?

0 Kudos
Message 9 of 14
(3,626 Views)

It would really help if you would attach your code, not a picture.  We're trying to help but you are not supplying enough information for a definite answer.  All we're doing here is guessing using the vague clues you've dropped.  From what you've said so far you do need to do an unbundle then a bundle but I'm not sure exactly what to unbundle or bundle and I don't know what you're trying to do with the resulting data.  Please help us try to help you.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 10 of 14
(3,615 Views)