Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to creat the interface of auto CAD file with labview

 

 Hi

I have been controling  2-axis Piezo motor  with labview. Now I have to use the dwg or dxf file  to move the piezo controller axis. How I can  transform the  dwg or dxf  file into  decimal number 1, -1   to create interface with my labview.

 

0 Kudos
Message 1 of 4
(8,745 Views)

Hi Sting,

 

Welcome to the forums!

 

I'm Oli, one of the Applications Engineers at NIUK.

 

I'm afraid I'm a little unsure of exactly what you are trying to do.  Are you trying to create a visual control that will allow you to control your Piezo motor from a picture or model?  Can you explain exactly what you want to do in more detail?

 

There is no direct way to convert a dwg or dxf file so that it can be used in LabVIEW.  Is this dwg file from a CAD package that you would like to interface with LabVIEW?

 

This example would be a good starting point to simulate using a CAD type file and 3D Picture Control in LabVIEW.

 

Best Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 2 of 4
(8,732 Views)

 

 

Hi Oli

Give example defined to create the  virtual machine in solid work and interface with the lab view through the soft machine. This is complicated  for my project.

 

I want to move my piezo motor according the drawing that  I would define in CAD file. Motion assistant is  another option to control the motor that generate the code in lab view.

I have  been controlling my machine with lab view so I already has an interface with lab view so I don't need the motion controller. Motion assistant require a  motion controller to create the lab view code using CAD.  How I create the  lab view code using motion assistant with out  motion controller.

 2nd If  I create the  virtual  motion controller  and generate code. Can I use  those lab view code directly as an input  to control my machine.

 

 

 

Regards

 

Nusrat

 

0 Kudos
Message 3 of 4
(8,680 Views)

Hi Nusrat,

 

So it sounds like you want to create a CAD drawing and then control your piezo motor via LabVIEW by moving the CAD drawing?  Is that correct?

 

If that is correct - I don't know of a way to do this I'm afraid.  I don't think it's really possible.

 

The only potential way to do this is to use SolidWorks as your CAD program and then convert the SolidWorks drawing into an STL file, which can then be imported into LabVIEW as a 3D picture control.  I can't think of any other way to achieve this.

 

These examples might help you:

 

Connect NI LabVIEW and DS SolidWorks

 

I hope that helps.

Oli
LabVIEW Student Ambassador
National Instruments UK
Message 4 of 4
(8,644 Views)