- Posts: 492
- Thank you received: 297
Strange subroutine error
- dgarrett
- Offline
- Platinum Member
-
Less
More
5 years 1 month ago - 5 years 1 month ago #219672
by dgarrett
Replied by dgarrett on topic Strange subroutine error
I could not reproduce the errror, perhaps
you have inadvertently edited the source file:
/home/cnc/linuxcnc/nc_files/drill1.ngc
and corrupted the original o<y1100> line
you have inadvertently edited the source file:
/home/cnc/linuxcnc/nc_files/drill1.ngc
and corrupted the original o<y1100> line
Last edit: 5 years 1 month ago by dgarrett.
Please Log in or Create an account to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 3
5 years 1 month ago #219676
by viesturs.lacis
Replied by viesturs.lacis on topic Strange subroutine error
so are you saying that my subroutine works for you?
yes, bad editing of original file that I copied those lines from is completely possible situation as this is my first attempt at writing my own subroutines.
yes, bad editing of original file that I copied those lines from is completely possible situation as this is my first attempt at writing my own subroutines.
Please Log in or Create an account to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 3
5 years 1 month ago #219677
by viesturs.lacis
Replied by viesturs.lacis on topic Strange subroutine error
Just in case the subroutine is lost in that mess of the original post, here is a link:
pastebin.com/VMGbyhKP
pastebin.com/VMGbyhKP
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
-
Less
More
- Posts: 492
- Thank you received: 297
5 years 1 month ago #219683
by dgarrett
Replied by dgarrett on topic Strange subroutine error
now i reproduced, pyngcgui bug fix committed to 2.8 branch (for next release),
(for now use without expanding)
Ref: github.com/LinuxCNC/linuxcnc/commit/2c24928af
(for now use without expanding)
Ref: github.com/LinuxCNC/linuxcnc/commit/2c24928af
Please Log in or Create an account to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 3
5 years 1 month ago #219686
by viesturs.lacis
Replied by viesturs.lacis on topic Strange subroutine error
oh wow, thank you!
I do not need that expanding - I used it for debugging, it is just that it seemed to me that I did not get any lines in preview, so I thought that something was wrong and I tried to find a cause.
As I was writing this, I decided to check once more and now I see lines in the preview. Who knows, maybe some later edits fixed that cause, maybe I just did not notice them.
Anyways, thank you for looking into this!!!
I do not need that expanding - I used it for debugging, it is just that it seemed to me that I did not get any lines in preview, so I thought that something was wrong and I tried to find a cause.
As I was writing this, I decided to check once more and now I see lines in the preview. Who knows, maybe some later edits fixed that cause, maybe I just did not notice them.
Anyways, thank you for looking into this!!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.890 seconds