LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can anyone help me?thanks

hello everybody
I want to use an laser scanning confocal microscope to scanning an image of the sample .
To inspect an XY Grid image ,I define A row by row scanning pattern. The first row of the grid is scanned along the x axis from left to right .E very 10um (for example ) a measurement is taken .when the edge of the wafer is reached ,the sensor is moved to the next row by moving along the y axis .The second row of the grid is scanned from right to left .This process continues until the entire grid surface has been scanned .
I use the motion controller to control the stage to excute a point-to-point motion ,and use a photodiode which is connected to a DAQ board to acquire the signal .
I use the labview to design a system to obtain the data from the DAQ board .
I want to keep the data in an ID-array ,and then change into an 2D-array that would be changed into a gray-scale image and be saved .I need a temporal container to keep the 1D-array in the diagram panel.
Can I use the local variable to keep the 1D-array to pass data ?
(I'm very sorry for my poor english.)
thanks !!
soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 1 of 12
(3,767 Views)
I think your main problem is to reconstitute your grey levels array in the right order.
Attached is a small vi that takes a 1D array of U8, and shape it into a 2D array, reverting the even rows to account for the forth and back movement of the scanner. Hope that helps.

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 12
(3,766 Views)
Thank you very much for your help.
But I can't open your vi because the version of my labview is 6.01.
could you please covert it into a picture?:)
thank you
soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 3 of 12
(3,765 Views)
Here it is

CC
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 12
(3,762 Views)
Thanks
but
"I think your main problem is to reconstitute your grey levels array in the right order."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`I'm a little puzzled
Do you mean that I can use the AI Single Scan to replace the AI start and AI read ?
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 5 of 12
(3,734 Views)
I mean that can I place the AI single scan in the for-loop structure,and than write the data in to a 2D-array
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 6 of 12
(3,727 Views)
I mean that can I place the AI single scan in the for-loop structure and then write it into a 2D-array
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 7 of 12
(3,728 Views)


@soslotos wrote:
I mean that can I place the AI single scan in the for-loop structure and then write it into a 2D-array



Of course you can. The best solution would be probably to initialize a 2D array with 0 values, then to replace progressively the array elements with the DAC result. Since the displacement is probably the rate limiting step, this would leave you enough time to display in real time the progressive image construction.

CC
Chilly Charly    (aka CC)
0 Kudos
Message 8 of 12
(3,718 Views)
CC,hank you very much.you are so kind.

soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 9 of 12
(3,708 Views)
CC,thank you very much.you are so kind.

soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 10 of 12
(3,707 Views)