linuxcnc 2.8 python question
- anfänger
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 626
- Thank you received: 255
20 Sep 2020 16:55 - 20 Sep 2020 17:32 #182927
by anfänger
[solved] linuxcnc 2.8 python question was created by anfänger
hi,
I would like to read the spindle speed in python but get following error:
'linuxcnc.stat' object has no attribute 'spindle_speed'
i guess some thing changed?
thanks Patrick
I would like to read the spindle speed in python but get following error:
'linuxcnc.stat' object has no attribute 'spindle_speed'
i guess some thing changed?
thanks Patrick
Last edit: 20 Sep 2020 17:32 by anfänger.
Please Log in or Create an account to join the conversation.
- anfänger
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 626
- Thank you received: 255
20 Sep 2020 17:31 - 20 Sep 2020 17:33 #182937
by anfänger
Replied by anfänger on topic linuxcnc 2.8 python question
I found now the 2.8 documentation took me a while
it's now s.spindle[0]["speed"] insteps of s.spindle_speed
it's now s.spindle[0]["speed"] insteps of s.spindle_speed
Last edit: 20 Sep 2020 17:33 by anfänger.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
Less
More
- Posts: 405
- Thank you received: 163
20 Sep 2020 17:32 #182938
by MaHa
Replied by MaHa on topic linuxcnc 2.8 python question
If i start from terminal, in a userspace componenti get spindle speed displayed
print s.spindle[0]['speed']
The following user(s) said Thank You: anfänger
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds