This forum covers issues concerning multiple software products.
- Posts: 3
- Joined: Tue 9. Jan 2018, 14:56
I want to write/send multiple CAN messages one after another using the sample c# write code. Do you have any example how to do that?
- Software Development
- Posts: 694
- Joined: Wed 22. Sep 2010, 13:36
if you want to write multiple messages, then you have to call CAN_Write multiple times
. Something like this:
Code: Select all
private void WriteFrames(List<TPCANMsg> msgList)
for(int i=0; i < msgList.Count; i++)
current = msgList[i];
PCANBasic.Write(PCAN_USBBUS1, ref current);