You are viewing a single comment's thread.

view the rest of the comments →

[–] ZenoOfElea 0 points 1 point (+1|-0) ago 

Wait, are you writing software that runs the CNC or are you configuring what the CNC is producing (with software)? Because if it's the later, your a machinist and not a programmer.

For a sense of scale, just the model definition of a program that size would be thousands of lines of code. Automatized unit testing. for every function written, there should be at least three unit tests: a pass, a fail, and an exception. If you're writing your software to the SOLID principle, the 'S' is "Single Responsibility Principle. A class should have one, and only one, reason to change. Every class is responsible for exactly one thing." so your function shouldn't have much more then three tests.

But it doesn't sound like an error, the 6000 vote shift came when transferring the data not during the operation of the voting collection or tabulation.

[–] screamingrubberband [S] 0 points 1 point (+1|-0) ago 

From another comment:

G code is a small part of my job.

I primarily write statistical analysis routines, gauge feedback handling, and spindle and axis drive motor load monitoring, and turn that into api calls to the machine to tweak feeds and speeds in real-time, and as well as direct manipulation of offsets. I jump back and forth between VB and C for this. As I stated, I write computer software in my personal life as well, including a small cad program for a customer that would generate g code from circles and lines, and a title that was carried by the Macininist's Ready Reference for a number of years.

I am a programmer.

or are you configuring what the CNC is producing (with software)? Because if it's the later, your a machinist and not a programmer.

I don't think you know what question you want to ask. If you mean "Do I write G code using cad cam software" then yes, I do that as well. I also write it by hand.

But somebody who writes g code to make a machine cut a part is not a machinist. A machinist is someone who can make a part without needing a CNC to do it. Calling a button-pusher or CNC programmer a 'machinist' is an insult to actual machinists.

[–] Hand_of_Node ago 

Well answered.