12-24-2014 12:53 AM
Hello,
I am using NI-8473 CAN to USB for my application.
I have a SM470 controller which is sending 8 Frames (1 Packet) at interval of 800us.
my expected packets are as shown below:
Packet 1
IDE,DL,Data
745,5,01 00 00 00 00
745,5,02 00 00 00 00
745,5,03 00 00 00 00
745,5,04 00 00 00 00
745,5,05 00 00 00 00
745,5,06 00 00 00 00
745,5,07 00 00 00 00
745,5,08 00 00 00 00
Packet 2
745,5,01 01 00 00 00
745,5,02 01 00 00 00
745,5,03 01 00 00 00
745,5,04 01 00 00 00
745,5,05 01 00 00 00
745,5,06 01 00 00 00
745,5,07 01 00 00 00
745,5,08 01 00 00 00...... So on
But at actual I am missing some frames from each packets and sometimes whole packet is missing.
I have set my system and firmware baudrate at 1Mbps. For your reference I have also attached my test VI.
So any one can help me to do some advance setting to achieve this faster rate data acquistion?
I did some calculation based on baudrate that If I go with 1Mbps then I can expect 125bytes/msec, here I am receiving 105bytes/msec. So why I am loosing the data?
I whould like to appreciate if some guide me.
12-24-2014 10:31 AM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord