You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed that although the send() command from the python-can library handles the 'pdu' message from the python-J1939 library fine, the send_periodic() command is gives the following error message:
File "C:\Program Files\Python37\lib\site-packages\can\broadcastmanager.py", line 125, in start
name = "Cyclic send task for 0x%X" % (self.message.arbitration_id)
TypeError: %X format: an integer is required, not ArbitrationID
Which is understandable as the arbitration_id argument which is found in the can.Message object is done differently in the python-j1939 way. However, I don't understand why the normal send() function seems to work fine.
Is this intended (maybe there is another way to send periodic messages with python-j1939?) or am I missing something?
I observed that although the send() command from the python-can library handles the 'pdu' message from the python-J1939 library fine, the send_periodic() command is gives the following error message:
Which is understandable as the arbitration_id argument which is found in the can.Message object is done differently in the python-j1939 way. However, I don't understand why the normal send() function seems to work fine.
Is this intended (maybe there is another way to send periodic messages with python-j1939?) or am I missing something?
Code for error reproduction:
The text was updated successfully, but these errors were encountered: