python-can[canalystii] receives data but transmit messages time-out #1670
Unanswered
geir-opdahl
asked this question in
Q&A
Replies: 3 comments
|
You might have more luck asking here: https://github.com/projectgus/python-canalystii |
0 replies
|
Hi @geir-opdahl, Facing the same issue here did you find any solution for this? |
0 replies
|
Sorry, no. I dont think I ever did figure it out. I think it was just buggy
software as i recall.
…On Wed, Aug 19, 2026, 2:08 a.m. Benin R ***@***.***> wrote:
Hi @geir-opdahl <https://github.com/geir-opdahl>, Facing the same issue
here did you find any solution for this?
—
Reply to this email directly, view it on GitHub
<#1670?email_source=notifications&email_token=BBPWXIBWZYOAQYOZJFYAMKL5KVVB3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBQG43TONBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-18077744>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBPWXIHH7JPAGXPZJ65NPST5KVVB3AVCNFSNUABGKJSXA33TNF2G64TZHM3DSMBZGA4DQOJ3IRUXGY3VONZWS33OHM2TMOJVGE2DPILWAI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BBPWXIBDWP2THBUGJADJTSL5KVVB3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBQG43TONBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/BBPWXID522WXOPRCKQYRZ7T5KVVB3A5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBQG43TONBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all. I have a Canalyst-II that I'm trying to connect to a CANopen based gearmotor but I'm having issues getting it to communicate. I can consistently read heartbeat messages from the device and was somehow able to get other unsolicited messages, however, when I try to send a message, it times out every time, no matter how long I make the timeout period. Any suggestions for what could cause this? I'm new to CAN bus so there's been a bit of a learning curve. Any advice would be much appreciated.
#Set up the interface and open the bus
import can
can.rc['interface'] = 'canalystii'
can.rc['bitrate'] = 500000
can.rc['channel'] = 0
from can.interface import Bus
bus = Bus()
#Start the notifier to print out bus messages
notifier = can.Notifier(bus, [can.Logger("recorded.log"), can.Printer()])
#Read values of index 6064, sub index 0 of motor with device ID 2
message = can.Message(arbitration_id=0x602, is_extended_id=False, data=[0x40, 0x64, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00])
#Send the message
bus.send(message, timeout=5)
#Console output
Timestamp: 8145.950500 ID: 0182 S Rx DL: 8 31 16 00 00 00 00 00 00 Channel: 0
Timestamp: 8146.683400 ID: 0702 S Rx DL: 1 05 Channel: 0
Timestamp: 8146.949200 ID: 0182 S Rx DL: 8 31 16 00 00 00 00 00 00 Channel: 0
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.2\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
File "", line 4, in
File "C:\Users\geiro\PycharmProjects\eclipsevalve\venv\lib\site-packages\can\interfaces\canalystii.py", line 127, in send
raise CanTimeoutError(f"Send timed out after {timeout} seconds")
can.exceptions.CanTimeoutError: Send timed out after 5 seconds
Timestamp: 8147.948000 ID: 0182 S Rx DL: 8 31 16 00 00 00 00 00 00 Channel: 0
Timestamp: 8148.680800 ID: 0702 S Rx DL: 1 05 Channel: 0
Timestamp: 8148.946700 ID: 0182 S Rx DL: 8 31 16 00 00 00 00 00 00 Channel: 0
All reactions