09-03-2020 10:27 PM
I am planning to create a cnc machine simulation in solid works that is controlled by a labview software. What I want is that I have the g code for a product and I will enter it to labview and the cnc machine will move on the g code path. I want some guidance on how to approach this project.
I am just a beginner in this so any kind of help will be highly appreciated.
09-04-2020 02:14 AM
Hi hassan,
@hassan98 wrote:
I am planning to create a cnc machine simulation in solid works that is controlled by a labview software. What I want is that I have the g code for a product and I will enter it to labview and the cnc machine will move on the g code path. I want some guidance on how to approach this project.
I am just a beginner in this so any kind of help will be highly appreciated.
You should take these steps:
Learn LabVIEW.
Learn G code. (the CNC kind of G, not the LabVIEW kind of G…)
Learn how to control SolidWorks from LabVIEW.
09-04-2020 09:36 AM
I know the basics of these software. What I was hoping for was a similar project, anything related to CNC programming in labview (if someone has done it) so I can get an idea and built on that.
The main problem I am facing is somehow converting G code or a cad/drawing into a command in labview.
09-04-2020 11:25 AM
NI Softmotion (which I think is being discontinued, not 100%) can talk to Solidworks to do simulated toolpaths. AFAIK you can just send it a position target and Solidworks takes care of the interpolation stuff.
From there, it's just a matter of parsing the Gcode. For simple position moves it'd be simple enough to parse each line with Scan from String or similar, since there will only be a handful of Gcode commands to execute (G00 and G01, if memory serves, and a couple more if you're using arc moves).
10-06-2020 11:54 AM
Hello, i am also doing a similar project for as my thesis project, would you mind sharing any documentation with me,
it would be a great help
email: yyyad522@gmail.com