- Posts: 1931
- Thank you received: 394
Gmoccapy - A new screen for linuxcnc
- newbynobi
- Offline
- Moderator
-
Less
More
10 years 11 months ago #66092
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Dabit,
I checked the code of smartprobe and the offsetpage-widget and I am pretty sure I know where the problem is.
Smartprobe does write to the file while probing, Parameter 5070 and 5061 - 5069 and offsetpage-widget reads periodically from the same file parameter the offsets for the different coordinate systems (parameter 5229 - 5381)
There is by sure a race conflict, smartprobe have the file opened and blocked, while offsetpage tries to read from it.
So IMHO the offsetpage-widget should have the reading in a try: except: way.
Chris Morley does mantain the gladevcp widget.
Norbert
I checked the code of smartprobe and the offsetpage-widget and I am pretty sure I know where the problem is.
Smartprobe does write to the file while probing, Parameter 5070 and 5061 - 5069 and offsetpage-widget reads periodically from the same file parameter the offsets for the different coordinate systems (parameter 5229 - 5381)
There is by sure a race conflict, smartprobe have the file opened and blocked, while offsetpage tries to read from it.
So IMHO the offsetpage-widget should have the reading in a try: except: way.
Chris Morley does mantain the gladevcp widget.
Norbert
Please Log in or Create an account to join the conversation.
- DaBit
- Offline
- Elite Member
-
Less
More
- Posts: 203
- Thank you received: 19
10 years 11 months ago #66106
by DaBit
Replied by DaBit on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert:
As suggested by you I reposted the problem here: forum.linuxcnc.org/forum/48-gladevcp/299...le-running-smartprob
Thanks for your debugging effort so far!
As suggested by you I reposted the problem here: forum.linuxcnc.org/forum/48-gladevcp/299...le-running-smartprob
Thanks for your debugging effort so far!
Please Log in or Create an account to join the conversation.
- dinkata
- Offline
- Premium Member
-
Less
More
- Posts: 101
- Thank you received: 1
10 years 9 months ago #69365
by dinkata
Replied by dinkata on topic Gmoccapy - A new screen for linuxcnc
Hi ,
Thanks to the handy interface gmoccapy .I use it Linuxcnc 2.7.3
as replace DISPLAY = axis on DISPLAY = gmoccapy .So works well .
I have a question , only those buttons you have ?
wiki.linuxcnc.org/cgi-bin/wiki.pl?Gmoccapy#Keyboard_shortcuts
Is it possible to add another, as here
forum.linuxcnc.org/forum/21-axis/23629-k...s-key-binding-editor
thanks in advance
sorry, I don't know English, I use google translator
Best regards
Dinyo
Thanks to the handy interface gmoccapy .I use it Linuxcnc 2.7.3
as replace DISPLAY = axis on DISPLAY = gmoccapy .So works well .
I have a question , only those buttons you have ?
wiki.linuxcnc.org/cgi-bin/wiki.pl?Gmoccapy#Keyboard_shortcuts
Is it possible to add another, as here
forum.linuxcnc.org/forum/21-axis/23629-k...s-key-binding-editor
thanks in advance
sorry, I don't know English, I use google translator
Best regards
Dinyo
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
10 years 8 months ago #69380
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
The following user(s) said Thank You: dinkata
Please Log in or Create an account to join the conversation.
- dinkata
- Offline
- Premium Member
-
Less
More
- Posts: 101
- Thank you received: 1
10 years 8 months ago - 10 years 8 months ago #69417
by dinkata
Replied by dinkata on topic Gmoccapy - A new screen for linuxcnc
Hallo Norbert ,
thank you for your answer
"..is not necessary to add all the shortcuts from axis, as most can be used with hal pin. .."
I agree, how to see the pin on my keyboard and embedding them in the Hall.
Now there :
Arrow Left = X minus ; Arrow Right = X plus; Arrow up = Y plus; Arrow Down = Y minus; Page Up = Z plus
Page Down = Z minus ; F1 = Estop (will work even if keyboard shortcuts are disabled)
F2 = Machine on ; ESC = Abort
ver. 1.5.5
- Added keyboard shortcut F3 to change to manual mode
- Added keyboard shortcut F5 to change to MDI Mode
- Added keyboard shortcut "Enter" for MDI Mode to submit the selected command
- Added keyboard shortcut "i" and "I" to switch jog increments forward and backwards like in axis
I did not understand how it works "i" when Jog -Z and pressed "I" change increment and the axis does not stop
even after release the key -Z ...i.e. NOT must be simultaneously pressed together
".............You did mention also the wrong documentation, please use the actual one from here...." - forum ??
".......What additional shortcuts do you need?....: If possible :
- Run program : Pausa ; Resume : Step :
halui.jog-speed : "..." => increase "..." => decrease
Thanks ,
Dinyo
thank you for your answer
"..is not necessary to add all the shortcuts from axis, as most can be used with hal pin. .."
I agree, how to see the pin on my keyboard and embedding them in the Hall.
Now there :
Arrow Left = X minus ; Arrow Right = X plus; Arrow up = Y plus; Arrow Down = Y minus; Page Up = Z plus
Page Down = Z minus ; F1 = Estop (will work even if keyboard shortcuts are disabled)
F2 = Machine on ; ESC = Abort
ver. 1.5.5
- Added keyboard shortcut F3 to change to manual mode
- Added keyboard shortcut F5 to change to MDI Mode
- Added keyboard shortcut "Enter" for MDI Mode to submit the selected command
- Added keyboard shortcut "i" and "I" to switch jog increments forward and backwards like in axis
I did not understand how it works "i" when Jog -Z and pressed "I" change increment and the axis does not stop
even after release the key -Z ...i.e. NOT must be simultaneously pressed together
".............You did mention also the wrong documentation, please use the actual one from here...." - forum ??
".......What additional shortcuts do you need?....: If possible :
- Run program : Pausa ; Resume : Step :
halui.jog-speed : "..." => increase "..." => decrease
Thanks ,
Dinyo
Last edit: 10 years 8 months ago by dinkata.
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
10 years 8 months ago #69498
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Dinjo,
The way is to select first the increments, than jog and after reaching the final position change again the increments.
I will fix that.
Have you tried to use the corresponding halui hal pin?
The pins for jog speed increase and decrease do not exist in halui, but you may use the gmoccapy ones
See section 5.2 ff in the documentation for details.
Norbert
That is a bug! I have never thought someone would change the increments while jogging.I did not understand how it works "i" when Jog -Z and pressed "I" change increment and the axis does not stop
even after release the key -Z ...i.e. NOT must be simultaneously pressed together
The way is to select first the increments, than jog and after reaching the final position change again the increments.
I will fix that.
".......What additional shortcuts do you need?....: If possible :
- Run program : Pausa ; Resume : Step :
halui.jog-speed : "..." => increase "..." => decrease
Have you tried to use the corresponding halui hal pin?
The pins for jog speed increase and decrease do not exist in halui, but you may use the gmoccapy ones
See section 5.2 ff in the documentation for details.
Norbert
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 1.125 seconds