LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating 3D image using Laser scanner

I am trying to develop a laser scanner and NI DAQ board but I am not good in programming Labview.

 

Can anyone suggest me how to develop the 3D image using Labview.??

 

Yolanta

0 Kudos
Message 1 of 14
(7,625 Views)

Hi yolanta

 

Sounds like an interesting application!  What information will you be ascertaining from you laser scanner and DAQ?

 

To familiarise yourself with the 3D image tools within LabVIEW I would recommend looking at the context help (Push Ctrl-H and hover over function), and detailed help files (available within the context help).

 

  • On the block diagram, right-click and navigate to "Programming > Graphics and Sound > 3D Picture Control" - investigate the VIs contained in this palette.  These are the functions you will most likely use in your application.

If you have any more questions I'd be happy to help out!


Regards,

Peter D

0 Kudos
Message 2 of 14
(7,621 Views)

Also there is a great example which can be found in "Help > Find Examples... > Search > 3D > solarsystem.vi"


Regards,

Peter D

Message 3 of 14
(7,618 Views)

Thanks Peter,

 

I am not good in programming part as I am from Biological background.

 

we were planning to scan human bones intraoperatively to get the 3D images, but then again programming is my weak point


 

0 Kudos
Message 4 of 14
(7,615 Views)

Sounds pretty exciting!

 

There are lots of resources online at NI Support and the Developer's Zone to help you get started.  If you would like some formal training which is much more structured there are several training options.

 

Of course you can always post any questions on the discussion forums and we'll do our best to help!


Regards,

Peter D

Message 5 of 14
(7,606 Views)

Hi Peter

 

Thanks for that help. This is the exact application which I am trying

http://www.youtube.com/watch?v=qmfwPXYO5vM

 

here instead of using encoder attached to the linear actuator can I use quadrature encoder directly attached to the scanner and make it hand held or any positioner say, Lego Mindstorms or something?  Also I dont intend to rotate the target which in this case its Mr potato does. The object has to remain still whereas the scanner should be moved in different positions in order to get the scan. Do u think thats possible?  

 

Also I am not too sure about which encoder to buy for this type.  

 

Thanks for your guidance

 

yolanta

0 Kudos
Message 6 of 14
(7,564 Views)

Constructing a system like this is definitely possible using NI software and hardware.

 

It sounds like your main challenge at the moment will be designing the mechanism for performing the scan.  Do you need a handheld scanner?  The challenge of this is knowing the scanners position in space and its orientation - you might not be able to use an encoder as that tells you rotation from a fixed reference.

 

It might be easier to have a robotic arm - where the encoders on the motors give you the coordinates you will require.  Something like a SCARA robot, although this is not my area of expertise!  You might only need to scan in the XY plane, with your laser giving you the Z coordinate.

 

It might be worth contacting a technical sales representative when you are considering what NI hardware you will need for your hardware control and acquisition.  You will most likely be driving 2 motors, and reading from 2 encoders plus your laser scanner - all of this is acheivable with NI tools.


Regards,

Peter D

0 Kudos
Message 7 of 14
(7,554 Views)

I do have experience in this area.

 

From your posts I suggest you start by scaling back your initial code to just gathering the data and plotting in an XY graph.

 

The acquisition should be hardware timed driven by your encoders with silumtaeous sampling of the encoder count/position.

 

Use trigonomtry to plot in the XY graph.

 

Once you have that behind you you can THEN proceed to plotting it in 3D.

 

Warning!

 

I work with a bunch of Certified LabVIEW Architects and when it comes time to plot in 3-Space, there eyes glaze over.

 

Ben

 

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 14
(7,550 Views)

We have a robotic system to hold the scanner. Only thing is do I need an encoder to interface with the robo arm so as to get the angular position?

 

Also if yes which one shall I go for?


0 Kudos
Message 9 of 14
(7,542 Views)

@yolanta wrote:

We have a robotic system to hold the scanner. Only thing is do I need an encoder to interface with the robo arm so as to get the angular position?

 

Also if yes which one shall I go for?



 

Depends...

 

What kind of precision are you after... length of arms...

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 10 of 14
(7,536 Views)