06-23-2010 07:27 AM
06-23-2010 09:37 PM
06-24-2010 08:35 PM - edited 06-24-2010 08:37 PM
06-27-2010 07:44 AM
03-08-2014 03:01 AM
hi anna can i have you email please because i have some difficulties in exchanging a dxf file into xml file .
03-09-2014 08:15 PM
Usually dxf file has nothing to do with xml file.
Can you explain why you want to do such a rare application?
There sould be a more appropriate solution for your application instead.
03-12-2014 02:45 AM
Hi , well my application consist on commanding a CNC machine and my problem is how to convert DXF files ( containing the form of object I need to have finally) into xyz coordinate so that finally I can command my motor to move in the right directions. The problem I found is that usually DXF files are 2D drawings and have no z coordinate. So i tried to convert a dxf file using NI-Motion Assistant and LabVIEW. After conversion, I found that one of the inputs of the sub-VI movement control is an xml file. Said so, motion assistant simply turns a dxf file in XML and use the result of a standard VI control. So, I did a little research on the dxf-xml conversion. I wound be grateful for any help.
03-13-2014 08:34 PM
Hi,
According to the following document, it seems there must be some specific conversion done by motion assistant when generating LabVIEW code, in order to parse the DXF file into a XML which complies with a specific schema.
http://www.ni.com/white-paper/3718/en/#toc5
I believe that Ann must have made some effort to study both file formats and to build a vi doing this conversion, yet I think this would so far be the best chance we can have.
The DXF file information is provided in the Ann's latest post, and the XML schema is located in the <Motion Assistant>\bin\mxwPlugins\XMLSchema\CAD.xsd.