Start PathPilot without a Mesa card connected

More
5 years 10 months ago #193163 by snowgoer540

PCW wrote: Tormach doesn't use any sserial devices (which are dynamically discovered
at startup) in their daughterboard, so can start LinuxCNC with it being powered.
Though I suspect they will not let the system out of EStop until all is powered
and working.

Why would you want to launch LinuxCNC when it cannot actually run?


You are correct, can’t do much until power is on and you “reset”.

Honestly, the biggest reason is that I forget to turn the cabinet on and LCNC yells at me :laugh:

Then I have to repeat the process of starting after I remember to turn on the cabinet. Otherwise, probably not much reason.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193164 by PCW
Its probably possible to launch LinuxCNC by deferring the parts of hal that access
the hardware to a hal section that's loaded later.

You could also have a script that determines if the hardware is available and puts
up a "Waiting for Control power" notifier until the hardware is detected

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193168 by snowgoer540

PCW wrote: Its probably possible to launch LinuxCNC by deferring the parts of hal that access
the hardware to a hal section that's loaded later.

You could also have a script that determines if the hardware is available and puts
up a "Waiting for Control power" notifier until the hardware is detected


I’m not sure how to execute that, but it would be awesome.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #193183 by PCW
Heres the basic idea:
Code:
#!/bin/bash echo Waiting for control power (exit 1) while (($?)) do ping -c 1 -i .2 10.10.10.10 >/dev/null 2>&1 done echo Starting LinuxCNC linuxcnc

Someone with python or tcl smarts could do a nice graphic version
Last edit: 5 years 10 months ago by PCW.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193184 by snowgoer540
Oh I’m picking up what you’re putting down now. Gives me a few ideas and a starting point. Thanks!

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #219134 by Joco
If you have a PCI driven 7i76 is there a way anyone has used to achieve a similar approach to this ping?  Maybe some halcmds that if fail can return a fail value that bash could use?

Cheers - J.

Please Log in or Create an account to join the conversation.

Time to create page: 0.266 seconds
Powered by Kunena Forum