Definitive guide to installing MX Linux, Probe Basic and LinuxCNC 2.9
~/linuxcnc-dev/scripts/latency-test
My newest box is not giving the error anymore after configuring linuxcnc with the --with-realtime=uspace option.
Please Log in or Create an account to join the conversation.
I'd like to try the lcnc configuration you've mentioned. Do I just start LCNC with "--with-realtime=uspace", or is there something else I have to install/modify?
Please Log in or Create an account to join the conversation.
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
Please Log in or Create an account to join the conversation.
Would you suggest uninstalling LCNC, qtpyvcp, and PB before re-installing LCNC with the new --with-realtime=uspace option?
Or should I just re-run everything (or some part) from your guide and what needs to be overwritten will take care of itself?
Please Log in or Create an account to join the conversation.
Unexpected realtime delay on task 0 with period 100000
The servo thread rate should be 1 KHz normally ( period 1000000 ns).
It looks like you have it set for 10 KHz which will not work with most hardware.
Please Log in or Create an account to join the conversation.
Unexpected realtime delay on task 0 with period 100000
The servo thread rate should be 1 KHz normally ( period 1000000 ns).
It looks like you have it set for 10 KHz which will not work with most hardware.
Where is that set or adjusted? Keep in mind that this installation is unmodified from the OP's first post - I haven't started setting up my actual machine other than ensuring that mesaflash can talk to my 7i76e.
EDIT - in the ini file, under EMCMOT, right? If so then it looks like the Probe Basic sim is defaulting to 10KHz and this should clear up once I copy over my working config.
Please Log in or Create an account to join the conversation.
from the manual: SERVO_PERIOD = 1000000
the sample configs, particularly the new ones like QtPyVCP, could be suspect. MOST important is to RTFM.
stepconf and pncconf are intended to be helpers, not end-alls.
recommend going through the config files line by line with reference to the docs, to learn and understand what's going on.....
good luck.
Please Log in or Create an account to join the conversation.
No errors, no problems, no headaches.
Thank you!
Please Log in or Create an account to join the conversation.
Traceback (most recent call last):File "/home/zach/.local/bin/probe_basic", line 33, in <module>sys.exit(load_entry_point('probe-basic', 'gui_scripts', 'probe_basic')())File "/home/zach/probe_basic/probe_basic/__init__.py", line 20, in mainqtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/__init__.py", line 27, in run_vcprun(*args, **kwargs)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/__init__.py", line 129, in runlaunch_application(opts, config)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_applicationloadWindows(config['windows'])File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindowswindow = _initialize_object_from_dict(window_dict)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 203, in _initialize_object_from_dictobj = _get_object_by_referance(provider)File "/home/zach/.local/lib/python3.9/site-packages/qtpyvcp/app/launcher.py", line 191, in _get_object_by_referancereturn getattr(importlib.import_module(modname), attrname)File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 1030, in _gcd_importFile "<frozen importlib._bootstrap>", line 1007, in _find_and_loadFile "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 680, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 790, in exec_moduleFile "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removedFile "/home/zach/probe_basic/probe_basic/probe_basic.py", line 13, in <module>from . import probe_basic_rcImportError: cannot import name 'probe_basic_rc' from 'probe_basic' (/home/zach/probe_basic/probe_basic/__init__.py)
Please Log in or Create an account to join the conversation.
Also there are some steps in directions that seem off.
at cp ~/qtpyvcp/scripts/.xsessionrc ~/ I have to use full path for it to work
Then
mkdir ~/linuxcnc
mkdir ~/linuxcnc/configs
Error out as the directories are already there
Lastly;
git clone git://github.com/kcjengr/qtpyvcp.conversational-gcode.git
git checkout python3
you need a cd qtpyvcp.conversational-gcode before checkout
When I finish, I can start linuxcnc from terminal I don't see anything in the MX start menus for linuxcnc only QT designer
I was able to get PB sim to load once. I don't see any PB_Lathe in the linuxcnc selection list
Please Log in or Create an account to join the conversation.