Skip to content

Pokeys 57E UltraFastEncoder HAL Param name > 50 chars #326

@vanOverload

Description

@vanOverload

Tried using PokeysLibComp on a fresh install LinuxCNC 2.9.4 using the sample config Pokeys57E_DM542_XXYZ_mill.
Got the following error:

hal_param_newfv: length 50 too long for name starting 'pokeys.0.encoder.UltraFastEncoder.Enable4xSampl'
PoKeys: /home/martin/LinuxCnc_PokeysLibComp/pokeys_uspace/PoKeysCompEncoders.c:PKEncoder_export_params: pokeys.0.encoder.UltraFastEncoder.Enable4xSampling failed
PoKeys: PKEncoder_export_params failed

Used PokeysLib from https://github.com/c-core-labs/pokeyslib.git and PokeysLibComp from this repo downloaded today.

Tried using a minimalistic hal with the same result.

loadrt threads  
  
loadusr -W pokeys  
  
addf pokeys.read  servo-thread  
addf pokeys.write servo-thread 

Is this a known bug?
Sorry if I got something wrong. I am quite new to LinuxCNC.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions