Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: cd_edwards on December 02, 2011, 09:12:57 PM

Title: programming questions
Post by: cd_edwards on December 02, 2011, 09:12:57 PM
Something ODD I noticed while playing with my LCD DRo plugin. I was attempting to use the runtime variable in the CMach4View structure and noticed that it seems to fluctate between 8 and 5 characters long. I'm curious if this is by design or a bug. Also, the esttime variable doesn't seem to ever get filled.

[108116] comport = 6 Show4th axis = 0
[108116] 0 ?y0?x00X: +000.000
[108116] 1 ?y1?x00Y: +000.000
[108116] 2 ?y2?x00Z: +000.000
[108116] runtime 00:00:00
[108116] runtime 00:00
[108116] runtime 00:00:00

One other question I have is how do I get the velocity value that most screen set's display? is that a calculated value or is it the velocity of the current moving axis.