Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Differentiate standard Id and Extended ID

I was wondering if there is any way to build a simple program,  where an Arbitration Id is given as a input to a logic, which will return the output as 0 or 1. Say 0 means standard Id and 1- means Extended Id. If any one know how to do this, can you please share the information.

 

Thanks in advance,

Sulekha.

 

0 Kudos
Message 1 of 2
(6,354 Views)

Hi Sulekha,

 

You can write a simple application yourself that will do this. The structure of the CAN frame can be identified here. You can parse the frame in a SubVI, convert the Hex Frame to Binary and check the binary Extender bit to see if the ID is extended or standard.

Raj
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(6,342 Views)