DirkW
unread,Aug 11, 2008, 10:10:11 AM8/11/08You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Since CAN is actually a BUS, there is nothing like a sample rate you can measure for incoming frames. The term sample rate is for the channel api and means a configuration attribute for your task. If your frame is received every 100 ms you could sample it with 10 Hz and would get every single frame and you could oversample it with 100 Hz und would get 10 times more frames then actually received.
So , in your case if you have a database file, it makes sense to use the channel api with the timestamped input mode. Then you could calculate your rate from the timestamp available for this mode only.
If you do not have a database file at all, it m,akes sense to use the frame api read mult to read the frames and to calculate the rate from the timestamp for your specific frame id.
DirkW