- Posts: 197
- Thank you received: 0
Which format is correct?
- gardenweazel
- Topic Author
- Offline
- Elite Member
-
Less
More
2 years 3 months ago #305390
by gardenweazel
Which format is correct? was created 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?
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 to join the conversation.
2 years 3 months ago #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.
Hyphen is the usual thing with HAL names.
Please Log in to join the conversation.
- gardenweazel
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 197
- Thank you received: 0
2 years 3 months ago #305406
by gardenweazel
Replied by gardenweazel on topic Which format is correct?
Thanks Chris!
Please Log in to join the conversation.
Time to create page: 0.082 seconds
