134
« on: May 21, 2018, 04:03:21 AM »
Hi Steve,
Ok, I'll look into using that method. Since there's no 'Radio button' group in Mach4, there's no obvious way to turn off an LED that is now inactive unless you force it off directly. In the situation I have, the radio buttons set different values for the jog step increments so you can't just link them to a source.
I hear what you're saying about using the underlying data, but that's hard to find. Again, in the example I have, I want to use a script to mimic several functions such as the one that selects a particular preset jog increment for the jog. That's easy to do when it's selectable from a drop down list, but I can't see a way to accomplish that from a script. Maybe it's in the documentation about how to do this, but I can't find it. I also can't find out where the increment ends up after its been selected, so I can't link a text box to the current jog value.
So in general, to a newbie, there are many obstacles to doing what at first glance ought to be trivial, but it appears to be more difficult. I see there's a partial listing of some of the internal variables, but I really think there should be a complete one for cases such as this.
I know writing documentation sucks, but it would save a lot of heartache for those of us who don't have access to the source to just look this stuff up.