Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 2.33 out of 5     Rate this Document

What Are the Intel and Motorola Byte Orders in NI-CAN?

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 2.4
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-VISA

Problem:
I am setting up a CAN channel in the Measurement and Automation Explorer and the byte order options are Intel and Motorola. What are the endian byte orders for these?

Solution:
When setting up a CAN message in the Measurement and Automation Explorer the byte order options are Intel and Motorola, not big or little endian.



The Motorola byte order is Big Endian where the most significant byte is first. Shown in the image below is the number 1 in binary



The Intel byte order is Little Endian where the least significant bit comes first. When choosing Intel or Motorola for the byte order, you are actually choosing little or big endian.

Related Links:
KnowledgeBase 1XU8RQPH: What Does the Term "Endian" Mean?
KnowledgeBase 2MKB41DV: How Can I Read the Binary Representation of a Floating Point Number in LabVIEW?
KnowledgeBase 4MQAUH2K: NI-CAN Driver and LabVIEW Version Support
KnowledgeBase 2V27R4HR: NI-CAN Drvier and LabVIEW, LabVIEW Real-Time, and LabWindows/CVI Version Support
Developer Zone Tutorial: Controller Area Network (CAN) Overview



Attachments:


Endian1.JPG - Endian1.JPGEndian2.JPG - Endian2.JPG


Report Date: 12/01/2006
Last Updated: 04/15/2009
Document ID: 4408RRAC

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit