Is there a way to print a message to AXIS?
16 Feb 2012 20:20 #17730
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
Will to command work from a terminal? If so did you set the file permissions to execute?
John
John
Please Log in or Create an account to join the conversation.
- beltramidave
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 4
16 Feb 2012 20:43 #17731
by beltramidave
Replied by beltramidave on topic Re:Is there a way to print a message to AXIS?
John,
Yes, the M112 files an executable. When I try to run the M112 file "in terminal", something flashes up on the screen and then disappears before I can make out if it is my message file or not.
Dave
Yes, the M112 files an executable. When I try to run the M112 file "in terminal", something flashes up on the screen and then disappears before I can make out if it is my message file or not.
Dave
Please Log in or Create an account to join the conversation.
16 Feb 2012 21:40 #17732
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
Just type the command
eog /home/ubuntu/emc2/nc_files/stopmessage.png
in the terminal window and see what happens.
John
eog /home/ubuntu/emc2/nc_files/stopmessage.png
in the terminal window and see what happens.
John
Please Log in or Create an account to join the conversation.
- beltramidave
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 4
16 Feb 2012 21:49 #17733
by beltramidave
Replied by beltramidave on topic Re:Is there a way to print a message to AXIS?
That worked. The message popped right up. Now what?
Please Log in or Create an account to join the conversation.
16 Feb 2012 23:15 #17736
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
Are you running 8.04?
John
John
Please Log in or Create an account to join the conversation.
- beltramidave
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 4
16 Feb 2012 23:19 #17737
by beltramidave
Replied by beltramidave on topic Re:Is there a way to print a message to AXIS?
No. It is 10.04 LTS
When running from terminal, I also got this error message:
(eog:11910): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed
ubuntu@ubuntu:~$
But the message window that I wanted still came up.
When running from terminal, I also got this error message:
(eog:11910): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed
ubuntu@ubuntu:~$
But the message window that I wanted still came up.
Please Log in or Create an account to join the conversation.
16 Feb 2012 23:26 #17738
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
Try
#!/bin/sh
John
#!/bin/sh
John
Please Log in or Create an account to join the conversation.
- beltramidave
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 4
16 Feb 2012 23:36 #17740
by beltramidave
Replied by beltramidave on topic Re:Is there a way to print a message to AXIS?
Same result...both trying to run the program and running in terminal.
Please Log in or Create an account to join the conversation.
17 Feb 2012 00:29 - 17 Feb 2012 00:30 #17741
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
My image displays fine even though I get a couple of error messages from eog in 10.04
Issuing a M110 in the MDI window also works for me (after I restart Axis so it "knows" about the M110 file).
John
john@D510MO:~/emc2/nc_files$ ls
examples Fwd.png M110 ngcgui_lib
john@D510MO:~/emc2/nc_files$ ./M110
(eog:17333): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed
(eog:17333): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed
Issuing a M110 in the MDI window also works for me (after I restart Axis so it "knows" about the M110 file).
John
Last edit: 17 Feb 2012 00:30 by BigJohnT.
Please Log in or Create an account to join the conversation.
- beltramidave
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 4
17 Feb 2012 00:43 #17742
by beltramidave
Replied by beltramidave on topic Re:Is there a way to print a message to AXIS?
I haven't had any luck getting it to appear in MDI either. I have always restarted AXIS after every change to be sure.
Being new to this, I don't really know what your "code" is telling me, but the error messages look similar to what I was getting in terminal.
I really appreciate all of your help on this. I'm not sure what else to try. When I first started this search, I was looking for a way to have a pop up box similar to that when a tool change is called. Then I saw this thread and it looked like it would work just fine for my application.
I just wonder if it has anything to do with the fact that I am running this from the LiveCD.
Dave
Being new to this, I don't really know what your "code" is telling me, but the error messages look similar to what I was getting in terminal.
I really appreciate all of your help on this. I'm not sure what else to try. When I first started this search, I was looking for a way to have a pop up box similar to that when a tool change is called. Then I saw this thread and it looked like it would work just fine for my application.
I just wonder if it has anything to do with the fact that I am running this from the LiveCD.
Dave
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds