- Posts: 172
- Thank you received: 0
ProbeBasic backplot issue?
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
2 years 4 months ago #303085
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
I seem to be getting the same error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 706, in update_position
active_wcs_offset = self._datasource.getWcsOffsets()[self._datasource.getActiveWcsIndex()]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: -1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 706, in update_position
active_wcs_offset = self._datasource.getWcsOffsets()[self._datasource.getActiveWcsIndex()]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: -1
Please Log in to join the conversation.
2 years 4 months ago #303086
by Lcvette
Replied by Lcvette on topic ProbeBasic backplot issue?
Did you follow the latest instructions in the link?
Please Log in to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 172
- Thank you received: 0
2 years 4 months ago #303121
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
Yes, 3 times.... same result.
Please Log in to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 172
- Thank you received: 0
2 years 4 months ago #303132
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
New wrinkle. I went back and homed the system. As soon as it moves the error pops up, but I noticed no WCS was selected. I cannot select one until the system homes, but once I can, the backplotter works and the error doesn't reappear. It looks like I'm back where Unilogic was. Now I just have to figure out what part of my config the system dislikes.
Please Log in to join the conversation.
2 years 4 months ago #303143
by Lcvette
Replied by Lcvette on topic ProbeBasic backplot issue?
Do you have a program loading on startup? Typically we load a program file named blank.ngc, it's located in the probe basic examples file. Try copying it to your nc files folder and setting it as default program in your ini. This initializes vtk on startup.
Please Log in to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 172
- Thank you received: 0
2 years 4 months ago #303166
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
I do have a program loading on startup (3D_Chips). Weirdly, I do not have a pd_examples file in my nc folder, yet sim still loads fine referencing blank.ngc.
Please Log in to join the conversation.
2 years 4 months ago #303178
by Lcvette
Replied by Lcvette on topic ProbeBasic backplot issue?
in the file tab with blank.ngc loaded, click edit gcode button then save as while you are in your linuxcnc nc files directory and it should copy it over to the correct directory
Please Log in to join the conversation.
2 years 4 months ago #303182
by Lcvette
Replied by Lcvette on topic ProbeBasic backplot issue?
ah in your start up line in the ini file, make sure to set G54 so the backplotter has a starting point!I do have a program loading on startup (3D_Chips). Weirdly, I do not have a pd_examples file in my nc folder, yet sim still loads fine referencing blank.ngc.
Code:
[RS274NGC]
RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G92.1 G94 G97 G98
PARAMETER_FILE = sim.var
OWORD_NARGS = 1
NO_DOWNCASE_OWORD = 1
SUBROUTINE_PATH = subroutines
Please Log in to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 172
- Thank you received: 0
2 years 4 months ago #303204
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
I actually had already added G54. attached is my current ini and 3 hal files. Also of note, there is no blank.ngc on my system that i can find.
Please Log in to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 172
- Thank you received: 0
2 years 4 months ago #303218
by B.Reilly01
Replied by B.Reilly01 on topic ProbeBasic backplot issue?
Found a solution: in my main hal file, I took out everything that wasn't axis or spindle and moved it to post-gui at the end. Now the error is gone. I just forgot to check if it backplots and if the offset is checked. I'll check that tomorrow.
Please Log in to join the conversation.
Time to create page: 0.057 seconds
