help request for CAN process automation in PCAN Explorer 6
Posted: Mon 24. Jun 2024, 17:27
Hello everyone, this is my first post in this forum, I tried to search if there is already some explanation for my problem but there is not, so here is my request:
I have to test four battery-charger that communicate via PCAN-usb using four different PCAN-usb and PCAN Explorer 6.
I've already tested one by one by simply sending messages via receive/transmit and they works. (sending and receiving)
Now, for the next step i have to set up a test that works as following:
1- Send a message with a "X" specific set of bytes every [z]ms at every charger (and read what the charger returns)
2- Send a message with a "Y" specific set of bytes every [z]ms at every charger (and read what the charger returns)
Basically, it would be to send alternately for X cycles, two different frames (1 and 2) to all 4 chargers in parallel.
I was thinking if there was a possibility to automate the process by writing a macro,
and if so I would be glad to receive a guideline (or a document/link where it is explained) because I read the documentation in the application but I couldn't find the documentation to write the code.
Would be good even a similar project to take inspiration from.
I remain available for clarification.
i hope i explained myself well, thank you.
I have to test four battery-charger that communicate via PCAN-usb using four different PCAN-usb and PCAN Explorer 6.
I've already tested one by one by simply sending messages via receive/transmit and they works. (sending and receiving)
Now, for the next step i have to set up a test that works as following:
1- Send a message with a "X" specific set of bytes every [z]ms at every charger (and read what the charger returns)
2- Send a message with a "Y" specific set of bytes every [z]ms at every charger (and read what the charger returns)
Basically, it would be to send alternately for X cycles, two different frames (1 and 2) to all 4 chargers in parallel.
I was thinking if there was a possibility to automate the process by writing a macro,
and if so I would be glad to receive a guideline (or a document/link where it is explained) because I read the documentation in the application but I couldn't find the documentation to write the code.
Would be good even a similar project to take inspiration from.
I remain available for clarification.
i hope i explained myself well, thank you.