conv_s32_u32 problem

More
28 Jun 2021 05:57 #213093 by rafferty
Replied by rafferty on topic conv_s32_u32 problem
I used count=1 rather than name="" because I couldn't come up with a better name than conv_s32_u32. As you say If I had used a name it would have worked but I'm sure it would have got me eventually. 

I've read the bit in the manuals about x_y_z becoming x-y-z and so on and thought:

"Yeah, Yeah, I don't need to know that, it's just what halcompile creates so gcc doesn't fall over on funny variable names."

With a couple of seconds more thought I might have realised ... if gcc is compiling the modules with these modified names, then maybe these are the names that should be used.

Anyway I've got it now, thanks.

Ken.

 

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

More
21 Sep 2023 20:54 #281332 by GeramyL
Replied by GeramyL on topic conv_s32_u32 problem
Hi guys im having a similar problem but I have all my configurations correct and I looked for the module .so for this function and it exists but linuxcnc says function conv_s32_u32.0 does not exist for addf on servo-thread even though loadrt worked and with count=1 and it doesnt work. it errors on addf and says it doesnt exist.

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

More
21 Sep 2023 21:25 #281333 by GeramyL
Replied by GeramyL on topic conv_s32_u32 problem
apparently you cant use servo-thread if your using emcm0t or idk but i did loadrt and thread1 inside the hal and it works great.

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

More
21 Sep 2023 21:29 #281334 by MaHa
Replied by MaHa on topic conv_s32_u32 problem
In my config i have something similar,  minus applied

loadrt conv_s32_u32 count=1
addf  conv-s32-u32.0  servo-thread

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

More
22 Sep 2023 00:12 #281341 by andypugh
Replied by andypugh on topic conv_s32_u32 problem
Everything in HAL uses hyphens "-" rather than underscores "_". Or at least it is meant to. But file names can't use "-" so we have the rather unfortunate situation where it is:

loadrt conv_s32_u32
addf conv-s32-u32.0 servo-thread

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

Moderators: cncbasher
Time to create page: 0.074 seconds
Powered by Kunena Forum