LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract value from array (NI Vision)

Hello,

I am a new labview user and I have some problems...
My webcam take a picture of severa coins, the image midified (NI Vision) in order to count how many coins (actually that's circle) are on the picture.
The soft also mesure the diameter of each circle found.
All the data (mainly the circle number and its diameter) are stored on an array.
My problem is that I would like to extract these data in order to relate the diameter to a certain coin (and finily I would be able to know how much there is on the picture Smiley Tongue ).

This is a picture of my problem :



Could you help me please?

Cheers

Thibaut
0 Kudos
Message 1 of 3
(2,929 Views)
Hi zerbault,
it seams like this is an Array of cluster, so you can use the "Index Array" function to get your values. After that use the "unbundle by name" function
to get for example the radius. You can also use a for loop to go through the entire loop.
Mike


Message Edited by MikeS81 on 04-06-2008 08:52 PM
Message 2 of 3
(2,928 Views)
Hi Mike,

A great thank for your effective and quick reply!

Thank you

Thibaut
0 Kudos
Message 3 of 3
(2,919 Views)