Just exploring the GladeVCP angle and I can not find a way yet to send 
output to Axis like I do with my G code Generators.

I tried:

sys.stdout.write('this is a test')

but the output goes to the terminal where as when I ran that from my G 
code Generator the output went to Axis

http://wiki.linuxcnc.org/uploads/arcgenl18.py

Thanks
JT

On 2/21/2015 9:02 AM, andy pugh wrote:
> On 21 February 2015 at 13:38, John Thornton <[email protected]> wrote:
>
>> Is it possible to add a menu item to Axis with .axisrc to open a python
>> program?
>>
> I never figured out ,axisrc.
>
>
>> Or is it possible to call a python program via a PyVCP button?
>>
> Via MDI_COMMAND and an M-code you can, but it's a bit  unwieldy
>
> Or is it possible with GladeVCP
> Yes, you can have any code you want in the handler for the button press
> event. Many buttons in the examples use the provided MDI-action but it is
> easy to link the button to a handler you have written yourself.
>


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to