Which format is correct?

More
16 Jul 2024 19:43 #305390 by gardenweazel
All,
I noticed that there is a variation of variable naming conventions between linuxcnc version 2.8 and the DEVEL version.

The difference I'm seeing is a hyphen and an underscore delimiting variable words.

Here's the related v2.8 docs page and the related DEVEL (2.10) docs page .

The variables that I noticed are as follows:

2.8 Versionqtdragon.modbus-errors
qtdragon.spindle_amps
qtdragon.spindle_fault
qtdragon.spindle_volts

2.10 Versionqtdragon.spindle-modbus-connection
qtdragon.spindle-modbus-errors
qtdragon.spindle-amps
qtdragon.spindle-fault
qtdragon.spindle-volts
Are these typos or a valid change?

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

More
16 Jul 2024 20:15 #305397 by cmorley
Replied by cmorley on topic Which format is correct?
That was an intentional change.
Hyphen is the usual thing with HAL names.
The following user(s) said Thank You: gardenweazel

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

More
16 Jul 2024 20:36 #305406 by gardenweazel
Thanks Chris!

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

Moderators: cmorley
Time to create page: 0.065 seconds
Powered by Kunena Forum