05-28-2012 11:09 AM - edited 05-28-2012 11:15 AM
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.
05-29-2012
06:49 AM
- last edited on
08-07-2025
11:26 AM
by
Content Cleaner
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,
06-07-2012 07:50 AM
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
06-13-2012
05:22 AM
- last edited on
08-07-2025
11:28 AM
by
Content Cleaner
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.