08-10-2008 01:15 PM
08-11-2008 08:54 AM
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
08-11-2008 03:55 PM
Hey DirkW,
Thanks for the help.I'm using the Channel Monitor.vi from the NI examples and making changes to suite my application.
Thanks
-Vamshi