Handle Multiframe request using VBA or VBS
Posted: Thu 26. Sep 2013, 14:45
Hello
,
In our company we are trying to look for options to replace CANalyser( at least most of the functionality). PCAN Explorer is one of the options we short listed . Right now we are doing an initial proof of concept where we are creating an application using VBA and have imported all the PCAN object into it. One use case that we are "struggling" to implement is to wait for response to a message that we have transmitted ( basically we are trying to implement a multi frame transmission) . We found that you have got some support for J1939 where there is a object called J1939Node object(OnMessageReceived Event) .However there is no such support for 11 bit CAN message .
1. How do we wait for an message ( We did find an example macro with do while condition and .Read + .Wait method combination but our concern is that there is no way to do any thing else in that duration ) . We are in other words looking for something similar to " On Message" command in CANalyser.
Can you please guide or provide us some solution . Let me know if you need any further details .

In our company we are trying to look for options to replace CANalyser( at least most of the functionality). PCAN Explorer is one of the options we short listed . Right now we are doing an initial proof of concept where we are creating an application using VBA and have imported all the PCAN object into it. One use case that we are "struggling" to implement is to wait for response to a message that we have transmitted ( basically we are trying to implement a multi frame transmission) . We found that you have got some support for J1939 where there is a object called J1939Node object(OnMessageReceived Event) .However there is no such support for 11 bit CAN message .
1. How do we wait for an message ( We did find an example macro with do while condition and .Read + .Wait method combination but our concern is that there is no way to do any thing else in that duration ) . We are in other words looking for something similar to " On Message" command in CANalyser.
Can you please guide or provide us some solution . Let me know if you need any further details .