sometimes, we need send multiple CAN periodic messages at multiple CAN ports. I attached a code which can be used to send multiple CAN periodic messages and has been verified by NI USB-8502 and PEAK Systems' USB-PCAN. I got some inspiration from message pump, so i decide to share with the community.
I think the solution is not quite elegant, it just performs basic function,it would be appropriated if someone can improve the code and republish