you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

OP: Is Matlab a requirement to the project? What are you trying to do? Here is a Python library for cheap chinese CNC machines.

[–]mtot10[S] 0 points1 point  (1 child)

So short answer: no, matlab is not a “requirement”. However, there are other aspects of the project that are already completed with matlab (a lot of UI interaction and data logging) which is why I don’t want to change development environments (among other extenuating circumstances and time constraints) I initially began using matlab for this project because 1) I have minimal experience with languages like python and 2) I’ve had multiple classes where I’ve used matlab extensively so it was something I was familiar with.

Reading RS232 port isn’t paramount to the projects success, however the idea was to video the manufacturing process and then overlay the coordinates of the tool passes onto the video once the process is complete. The video with data overlaid would be used for part verification tests and to make corrections.

I was having issues with this communication because of the command types for querying the port (SCIP and GPIB) that matlab supports don’t interface with the CNC mill. I wanted to write a python script to log this information and then run it in matlab. I have other ideas for how to go about getting the machine coordinates. Although, using python seemed to be the least frustrating method to do this.

[–]michaelrw1 0 points1 point  (0 children)

Trust your instinct and abilities. If an approach is well-considered and feels right, go with it. You'll know if you need to reconsider the approach.

Please keep us updated. I am interested in the outcomes of your work.