Here you go...
1. Load file
2. Hit "Simulate"
3.Hit "rew file"
4. Run part
***Dont for get to load the Flash screen then restart Mach
The source file is included...
what I do is grab the two DRo and grab each part split by ":" then do the math
This screen also included the "% completed" so far as well......you can use one of the gauges to represent the amount of time leaft or remaining lines of Gcode
I'm in the middle of some encription code so this is a good start...
horse.onEnterFrame = function() {
var elapsed_array:Array = _root.DRO814.split(":");
var Estimated_array:Array = _root.DRO815.split(":");
for (var i = 0; i<3; i++) {
remaininga = Estimated_array[0]-elapsed_array[0]+':';///days/hours
remainingb = Estimated_array[1]-elapsed_array[1]+':';///minutes
remainingc = Estimated_array[2]-(elapsed_array[2]);//seconds
}
remaining.text = remaininga+remainingb+remainingc;///all formated
};
If your intrested in all that this screen does look at:
*The video is here:
http://alphagraphicdesigns.com/help/Quantum/MachComponents1.0.1.wmv