Hello, I also encountered the same problem as yours. I am using the default
axis.ini. How can I modify it? Or can you share your configuration file and
run.py?
在2020年1月7日星期二 UTC+8 14:44:18<Jo sias> 写道:
> i made a reboot and its working now :)
>
>
> On Tuesday, January 7, 2020 at 7:39:49 AM UTC+1, Jo sias wrote:
>>
>> i get now for mklauncher status:
>>
>> machinekit@beaglebone:~/machinekit/configs/ARM.BeagleBone.Panther-1$ sudo
>> service mklauncher status
>> ● mklauncher.service - Mklauncher service
>> Loaded: loaded (/etc/systemd/system/mklauncher.service; enabled;
>> vendor preset: enabled)
>> Active: active (running) since Mon 2020-01-06 20:08:25 UTC; 10h ago
>> Main PID: 1042 (mklauncher)
>> CGroup: /system.slice/mklauncher.service
>> └─1042 /usr/bin/python /usr/bin/mklauncher
>> /home/machinekit/machinekit/configs/ARM.BeagleBone.Panther-1/
>>
>> Jan 07 06:33:01 beaglebone rtapi:0[4852]: unload: 'motmod' not loaded
>> Jan 07 06:33:01 beaglebone rtapi:0[4852]: unload: 'limit1' not loaded
>> Jan 07 06:33:01 beaglebone rtapi:0[4852]: unload: 'hal_pru_generic' not
>> loaded
>> Jan 07 06:33:01 beaglebone rtapi:0[4852]: unload: 'hal_bb_gpio' not loaded
>> Jan 07 06:33:01 beaglebone msgd:0[4847]: rtapi_app exit detected -
>> scheduled shutdown
>> Jan 07 06:33:03 beaglebone msgd:0[4847]: msgd shutting down
>> Jan 07 06:33:03 beaglebone msgd:0[4847]: zeroconf: unregistering 'Log
>> service on beaglebone.local pid 4847'
>> Jan 07 06:33:03 beaglebone msgd:0[4847]: log buffer hwm: 0% (0 msgs, 0
>> bytes out of 524288)
>> Jan 07 06:33:03 beaglebone msgd:0[4847]: normal shutdown - global segment
>> detached
>> Jan 07 06:33:10 beaglebone syslog[5069]: interpreter startup pid=5069
>>
>> On Tuesday, January 7, 2020 at 7:30:18 AM UTC+1, Jo sias wrote:
>>>
>>> great i think its almost done!
>>>
>>>
>>> [image: Anmerkung 2020-01-07 072850.jpg]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> but its not going further is it because of the .bbio file?
>>>
>>> On Monday, January 6, 2020 at 10:43:32 PM UTC+1, Aurelien wrote:
>>>>
>>>> update
>>>>>
>>>>> #!/usr/bin/python
>>>>>
>>>>> import sys
>>>>> import os
>>>>> import subprocess
>>>>> import time
>>>>> from machinekit import launcher
>>>>> from machinekit import config
>>>>>
>>>>> launcher.register_exit_handler()
>>>>> #launcher.set_debug_level(5)
>>>>> os.chdir(os.path.dirname(os.path.realpath(__file__)))
>>>>>
>>>>> mkconfig = config.Config()
>>>>> if 'MACHINEKIT_INI' not in os.environ: # export for package installs
>>>>> os.environ['MACHINEKIT_INI'] = mkconfig.MACHINEKIT_INI
>>>>>
>>>>> if 'HAL_RTMOD_DIR' not in os.environ: # export for package installs
>>>>> os.environ['HAL_RTMOD_DIR'] = '/usr/lib/linuxcnc'
>>>>>
>>>>> #if 'DISPLAY' not in os.environ: # export for connecting to display
>>>>> # os.environ['DISPLAY'] = ':0.0'
>>>>>
>>>>> try:
>>>>> launcher.check_installation()
>>>>> launcher.cleanup_session()
>>>>> # launcher.load_bbio_file('furaday_stepgen.bbio')
>>>>>
>>>>> ###REALLY UNSURE ABOUT YOUR BBIO file name
>>>>>
>>>>> launcher.start_process('machinekit Panther-3-Axis.ini')
>>>>> ###REALLY UNSURE ABOUT YOUR ini file name
>>>>>
>>>>> launcher.register_exit_handler() # enable on ctrl-C, needs to
>>>>> executed after HAL files
>>>>> launcher.ensure_mklauncher() # ensure mklauncher is started
>>>>> launcher.start_process("configserver -n SuperNC
>>>>> /home/machinekit/Cetus")
>>>>> while True:
>>>>> launcher.check_processes()
>>>>> time.sleep(1)
>>>>> except subprocess.CalledProcessError:
>>>>> launcher.end_session()
>>>>> sys.exit(1)
>>>>>
>>>>> sys.exit(0)
>>>>>
>>>>>
>>>>>
>>>> How do you start Axis ?
>>>>
>>>>
>>>
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/machinekit/b0fb2857-beb9-4887-9bee-82da3867900en%40googlegroups.com.