Help needed setting up WiFi pendent XHC-WHB04

More
6 years 9 months ago #154704 by depronman
yes, do you want me to post all of them ?

Cheers,
Paul

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

More
6 years 9 months ago #154705 by satiowadahc
just the lines that start with loadrt, like in the last file you posted had
loadrt flipflop names=flipflop_resume,flipflop_pause,flipflop_run,flipflop_icon,flipflop_spindle_start,flipflop_spindle_stop
# pins for start/pause button 3.

should be one in there with some loadrt threads names=[]
The following user(s) said Thank You: depronman

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

More
6 years 9 months ago #154718 by depronman
this is the HAL section of my ini file
[HAL]
HALUI = halui
HALFILE = orac_pendent.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
[HALUI]
# add halui MDI commands here (max 64)



The contents of 'orac_pendent.hal' are posted above

There is no 'custom.hal' file is present


postgui_call_list.hal
# These files are loaded post GUI, in the order they appear
# Generated by stepconf 1.1 at Sun Jan 5 21:53:20 2020
# If you make changes to this file, they will be
# overwritten when you run stepconf again
source custom_postgui.hal


Hope this helps, I really appreciate your help (as you have no doubt worked out I am VERY new to Linuxcnc, but compared to MACH3 it is soooo much better

Cheers,
Paul

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

More
6 years 9 months ago #154722 by satiowadahc
hmm.. you might be able to just add:
loadrt threads names=servo-thread period=100

to the top of one of your hal files. Else we'll need to sort out which threads you currently have running by:
1) comment out the line with the pendant hal file
2) running linuxcnc
3) in a seperate terminal run the command `halrun`
4) type 'show threads' and press enter
The following user(s) said Thank You: depronman

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

More
6 years 9 months ago #154723 by depronman
I'll give this a try on Tuesday evening, away on business tomorrow back on Tuesday

Your help is much appreciated

Cheers,
Paul

PS are you in the UK ?

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

More
6 years 9 months ago #154724 by satiowadahc
Best of luck!
Sorry, Canadian.

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

Time to create page: 0.170 seconds
Powered by Kunena Forum