LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the Dataarray of the Circle Data

Hi,

i built this Labviewproject to count and measure particles from a picture. To show the number of particles wasn't a big problem. But now i'm trying to extract the radius from the CircleData-Array so i can multiplicate it with a factor. In the Vision-assistant the array is like

labview.JPG

 

array.JPG

so i'm trying with part-array to get the 4th row but it only gives me the 4th column. And the Transposition of the Array doesn't work cause of wrong dimensions. Do you have any advice for me, how i can solve this problem? Thank you for your help.

Greetings.

0 Kudos
Message 1 of 2
(2,512 Views)

Hi Johannes,

 

I modified your VI and attached it. I think this will solve your current problem.

 

The trick is: you are not getting a 2D-array (with columns and rows), but an 1D-array containing a cluster of 4 elements. 

 

 

count_modified.png

 

I hope this helps, but I recommend you to attend a LabVIEW course if you need to dig deeper into LabVIEW.

 

Kind regards

Heinz

Message 2 of 2
(2,451 Views)