To Probe Basic from Gmoccapy
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1203
- Thank you received: 620
24 Dec 2024 03:55 - 24 Dec 2024 03:57 #317261
by Lcvette
Replied by Lcvette on topic To Probe Basic from Gmoccapy
Comment out:
#USER_TABS
#USER_TABS
Last edit: 24 Dec 2024 03:57 by Lcvette.
Please Log in or Create an account to join the conversation.
- aikiaviator
- Away
- Junior Member
Less
More
- Posts: 20
- Thank you received: 3
24 Dec 2024 04:15 #317262
by aikiaviator
Replied by aikiaviator on topic To Probe Basic from Gmoccapy
Hi, Done that from ini file re-ran: following error...
Traceback (most recent call last):
File "/usr/bin/probe_basic", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 230, in loadWindows
window = _initialize_object_from_dict(window_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 210, in _initialize_object_from_dict
return obj(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 55, in __init__
self.load_user_buttons()
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 65, in load_user_buttons
user_button_folders = os.listdir(user_buttons_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'user_buttons/ # REQUIRED Setting for Probe Basic'
Traceback (most recent call last):
File "/usr/bin/probe_basic", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 230, in loadWindows
window = _initialize_object_from_dict(window_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 210, in _initialize_object_from_dict
return obj(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 55, in __init__
self.load_user_buttons()
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 65, in load_user_buttons
user_button_folders = os.listdir(user_buttons_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'user_buttons/ # REQUIRED Setting for Probe Basic'
Please Log in or Create an account to join the conversation.
- aikiaviator
- Away
- Junior Member
Less
More
- Posts: 20
- Thank you received: 3
24 Dec 2024 07:07 #317265
by aikiaviator
Replied by aikiaviator on topic To Probe Basic from Gmoccapy
Ok, I dont know if I have stuffed anything up, but I have cleared the errors and it is now at least running. Partially functional.
This is what I did for reference.
a) In /halib I took a copy of the probe_basic_postgui.hal, called it D_probe_basic_postgui.hal, and then proceeded to delete everything in probe_basic_postgui.hal. So basically probe_basic_postgui.hal it is a file with nothing in it.
If this requires content for Probe Basic to function properly, please advise.
b) In the "machine name".ini file I have replicated the lines that have a "# Recommended Setting for Probe Basic". I have then deleted all of the "# Recommended Setting for Probe Basic" comments from one of each of these lines.
e.g.
#MAX_FEED_OVERRIDE = 2.00000 # Recommended Setting for Probe Basic
MAX_FEED_OVERRIDE = 2.00000
From what I can tell the error was because the number was being interpreted as a string because of the comment. So without "# Recommended Setting for Probe Basic" it now reads as a number.
This may well be the issue with the other lines like User_Tabs etc... being interpreted as a complete string and therefore being read incorrectly.
So if I have made any errors here, please let me know as I am a Newbie and NOT a programmer by any stretch. I do no programming at all and very new to Linux.... like weeks. I just follow my nose and hack. So any help/advice would be appreciated.
Thanks.
This is what I did for reference.
a) In /halib I took a copy of the probe_basic_postgui.hal, called it D_probe_basic_postgui.hal, and then proceeded to delete everything in probe_basic_postgui.hal. So basically probe_basic_postgui.hal it is a file with nothing in it.
If this requires content for Probe Basic to function properly, please advise.
b) In the "machine name".ini file I have replicated the lines that have a "# Recommended Setting for Probe Basic". I have then deleted all of the "# Recommended Setting for Probe Basic" comments from one of each of these lines.
e.g.
#MAX_FEED_OVERRIDE = 2.00000 # Recommended Setting for Probe Basic
MAX_FEED_OVERRIDE = 2.00000
From what I can tell the error was because the number was being interpreted as a string because of the comment. So without "# Recommended Setting for Probe Basic" it now reads as a number.
This may well be the issue with the other lines like User_Tabs etc... being interpreted as a complete string and therefore being read incorrectly.
So if I have made any errors here, please let me know as I am a Newbie and NOT a programmer by any stretch. I do no programming at all and very new to Linux.... like weeks. I just follow my nose and hack. So any help/advice would be appreciated.
Thanks.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1203
- Thank you received: 620
24 Dec 2024 14:28 #317282
by Lcvette
Replied by Lcvette on topic To Probe Basic from Gmoccapy
oh, yes delete those, those are notes for the config conversion process only! i will add that to the docs!
you can keep the user_tabs as long as the user_tabs folder is in the config, it should insert the user tabs in the ui.
user_buttons folder should also be in the config folder. which version are you running again? stable or develop?
you can keep the user_tabs as long as the user_tabs folder is in the config, it should insert the user tabs in the ui.
user_buttons folder should also be in the config folder. which version are you running again? stable or develop?
Please Log in or Create an account to join the conversation.
- aikiaviator
- Away
- Junior Member
Less
More
- Posts: 20
- Thank you received: 3
24 Dec 2024 22:21 #317306
by aikiaviator
Replied by aikiaviator on topic To Probe Basic from Gmoccapy
I am running Stable.
Now the main question I have is as follows: Do I need the probe_basic_postgui.hal to include some code as it currently has nothing and I dont want to cause any issues with runaway etc... What should it include?
Now the main question I have is as follows: Do I need the probe_basic_postgui.hal to include some code as it currently has nothing and I dont want to cause any issues with runaway etc... What should it include?
Please Log in or Create an account to join the conversation.
- aikiaviator
- Away
- Junior Member
Less
More
- Posts: 20
- Thank you received: 3
25 Dec 2024 03:28 #317322
by aikiaviator
Replied by aikiaviator on topic To Probe Basic from Gmoccapy
Ok. I have a feeling that this is going to be either easy, OR a long road. I have the system popping up with no errors, however, when I try and test homing I get the following:Named parameter #<geometry> not defined. I cant seem to get it to complete anything else other than jogging and coolant pump Mist and Flood activations.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1203
- Thank you received: 620
25 Dec 2024 04:03 #317323
by Lcvette
Replied by Lcvette on topic To Probe Basic from Gmoccapy
Add geometry ini line, that determines which dro displays are shown
Yes post gui hal must include what's in the docs. Add your current items below the probe basic items.
Yes post gui hal must include what's in the docs. Add your current items below the probe basic items.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1203
- Thank you received: 620
25 Dec 2024 04:06 - 25 Dec 2024 04:08 #317324
by Lcvette
Replied by Lcvette on topic To Probe Basic from Gmoccapy
Your missing some things from config docs still,
AXES = ?
GEOMETRY = ?
AXES = ?
GEOMETRY = ?
Last edit: 25 Dec 2024 04:08 by Lcvette.
Please Log in or Create an account to join the conversation.
- aikiaviator
- Away
- Junior Member
Less
More
- Posts: 20
- Thank you received: 3
25 Dec 2024 11:29 #317340
by aikiaviator
Replied by aikiaviator on topic To Probe Basic from Gmoccapy
Attachments:
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1203
- Thank you received: 620
25 Dec 2024 13:03 #317347
by Lcvette
Replied by Lcvette on topic To Probe Basic from Gmoccapy
It's your machine 5 axis? You put the geometry in that is in your lower ini.
xyz
xyza
xyzab
xyzac
xyz
xyza
xyzab
xyzac
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.091 seconds