XHC-HB04 wireless MPG pendant HAL module

More
10 years 3 weeks ago #81460 by Spectre
Hi Danny

Thanks for the modded files. I placed them in the directory but it still crashes. I see in the debug its telling me it cant find these lines
# Absolute position LCD
net pos-x halui.axis.0.pos-feedback => xhc-hb04.x.pos-absolute
net pos-y halui.axis.1.pos-feedback => xhc-hb04.y.pos-absolute
net pos-z halui.axis.2.pos-feedback => xhc-hb04.z.pos-absolute
#net pos-a halui.axis.3.pos-feedback => xhc-hb04.a.pos-absolute

# Relative position LCD
net pos-rel-x halui.axis.0.pos-relative => xhc-hb04.x.pos-relative
net pos-rel-y halui.axis.1.pos-relative => xhc-hb04.y.pos-relative
net pos-rel-z halui.axis.2.pos-relative => xhc-hb04.z.pos-relative
#net pos-rel-a halui.axis.3.pos-relative => xhc-hb04.a.pos-relative

As I comment out each axis the debug tells me its the next line I did the first 3 feedback ones and I assume the others will be the same so I am obviously still missing some file or call in the HAL or INI

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

More
10 years 3 weeks ago #81461 by Spectre
In the INI file also line #8 in the HALUI seems to be a added Y0 but I removed it and it didnt make any difference but I doodnt think the program got that far. How can I copy and paste the error file as I cant seem to be able to copy and paste any of it...or even save it anywhere... does it come up in a log file anywhere?

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81472 by dannym
hmm don't know.

# Absolute position LCD
net pos-x halui.axis.0.pos-feedback => xhc-hb04.x.pos-absolute

"pos-x" is an arbitrary name given here which doesn't need anyhing

halui.axis.0.pos-feedback should come from
[HAL]
HAL = halui

Which I put in your .ini

xhc-hb04.x.pos-absolute comes from:
loadusr -W xhc-hb04 -H -I xhc-hb04-layout2.cfg -s 3

Which is right at the top of the same xhc hal file.

So which part can't it find?

Not sure what you're saying #8 in the HALUI is here. I don't see any extraneous "Y0"

You do need to fix the name of the xhc layout file back to .cfg (or just use the stock file), but I don't think that's your problem
Last edit: 10 years 3 weeks ago by dannym.

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

More
10 years 3 weeks ago #81483 by Spectre
I renamed the cfg file to just .cfg so that was fine. If I could do a screen grab or copy the error report it would make it easy. On my Mac its easy to take a snapshot but not on this Linux machine

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

More
10 years 3 weeks ago #81487 by Spectre
I will do some more when I get home tonight to see what I can find. I suppose I can always take a picture of the error file and post it here.

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

More
10 years 3 weeks ago #81490 by andypugh
The error dialog has a "copy all" button. You can just paste straight into a message here.

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

Time to create page: 0.244 seconds
Powered by Kunena Forum