01-26-2011 09:45 PM
Dear Sir/Madam,
When we are receiving the CAN data through NI CAN Card (NI PXI-8464) channel from network, how to separate the particular data stream based on the message ID. Also tell us how to convert that the data into the decimal values.
Thanks & Regards,
Sandeep Salunkhe
Assistant Manager (Development),
ERC - Indoor Testing,
TATA Motors Ltd.
Office: +91-020-6613 3267
Mobile: +91-96046 04381
03-09-2011 12:29 PM
NI CAN frames are in the following format (a six element array of numbers in a U32 data format):
Index the array at element 2 to get the message ID. Index element 4 and 5 to get the data. You then have to break apart and then combine the data bytes using the Split Number and Join Number primitives on the Data Manipulation pallete depending upon the size of the data you are receiving. See the attached VI's, they may help you get started.