06-19-2006 04:59 PM
06-20-2006 05:08 PM
06-21-2006 11:02 AM
Andy,
thanks for your support!
Goal of my project is to measure both CAN channels. Between these channels is a real electronic control unit (ecu) which is able to route CAN messages between the channels. My VI has to check weather the routing works fine or not.
Each message has an identifier and I kow which messages are routed. That means I have to measure both channels, look for routed messages and compare the data and the timestamp of the messages. I try that in my consumer loop. The data are stored in several 2d arrays. And I have to look for specific data in these arrays. I think the loops over the arrays are to slow. but I have no other chance - I have to buffer the messages somehow and then to compare by their timestamps to find the right order. But that's very difficult because the order of the messages in my producer queue is not ordered by the timestamp...
If you have any idea how to solve the problem better, let me know - I would be happy!
Thanks,
Thomas
06-21-2006 01:08 PM
06-21-2006 01:13 PM