07-29-2008 04:18 AM
07-29-2008 04:22 AM
Hi farhan,
to insert values into the xy graph you have to cluster two arrays and connect the result with the graph. Did you do it? Can you show your code?
Mike
07-29-2008 04:35 AM
hi MikeS81,
Yes I use a Build XY Graph function which outputs a cluster of 2 elements. it takes in X and Y input which i connect the particle count and pixel measurements.
I have attached a screenshot of the code.
thanks
07-29-2008 04:42 AM
07-29-2008 05:42 AM
hello,
i did try using your example however it still does not work. im sure they must be examples where data obtained from particle analysis is shown on graphs.
the problem i am having is the bundle of points to joining to XY graph. can it be that particle count is int32 but the problem is particle measurements which is a 2d array . how do i convert this 2d array to something so it should work on the graph.
07-29-2008 06:05 AM
Hi farhan,
which information from the 2D array do you want to see in your graph?
Mike
07-29-2008 06:18 AM
ok to simlify things again, i am using the IMAQ particle analysis function and am interested in these outputs:
1. number of particles which is Int32
2. Particle Measurements which is a 2D array.
how should i represent the above data on a XY graph.
07-29-2008 06:24 AM
Hi farhan,
that´s what we see from your image. What type of data contains the 2d Array and how do you want to present it in the graph? What do you wanna see in the graph?
Mike
07-29-2008 06:31 AM
07-29-2008 06:34 AM - edited 07-29-2008 06:35 AM
Hi farhan,
can you upload a vi which contains a 2d array with your received values?
Try to help.
Mike