[Python] Class can.Logger

Discussão em 'Python' iniciado por Stack, Dezembro 17, 2024.

  1. Stack

    Stack Membro Participativo

    I have an issue where my CAN logger isn’t logging any data that is transmitted. I can’t paste the code here now, but I do have a couple of messages transmitted at a 500 ms periodicity for about 500 seconds. As soon as that part of the code is over, I have the following:

    logger =can.Logger(path.filename)
    logger.stop()


    After the execution, I do see an ascii file generated at the path mentioned above but no data from the messages transmitted.

    I used PCAN viewer application to verify that the messages were transmitted and I did see it. What am I doing wrong?

    Continue reading...

Compartilhe esta Página