Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Format a CCP Message with MC to Include the Command Counter

Primary Software: Driver Software>>NI-XNET
Primary Software Version: 17.0
Primary Software Fixed Version: N/A
Secondary Software: Other NI Software>>ECU Measurement and Calibration Toolkit

I am using MC to format an object to transmit to my ECU. The inputs to the VI do not include the command counter. When I add the command counter to the data field, I get an error that the message type is unsupported. How do I set up this VI to correctly include the command counter?

The command counter will automatically be incremented by LabVIEW as objects are sent to the ECU. The following code snippet is a basic example:

This will send the command 0x02 with the following data bytes: {0x01, 0x02, 0x03, 0x04, 0x05}

Related Links:
Product Manuals: ECU Measurement and Calibration Toolkit
Products and Services: NI ECU Measurement and Calibration Toolkit
KnowledgeBase 464FPRJL: Using the ECU MC Toolkit with cRIO 985x C-Series Hardware
KnowledgeBase 3ZG4RUE6: NI ECU M&C Toolkit Examples Do Not Run When Using My ECU
KnowledgeBase 7EBB3CB3: How Can I Enable LabVIEW 2016 Support for ECU Measurement and Calibration Toolkit (ECUMC) 15.0?
Example Program: How to use the ECU MC Toolkit with cRIO 985x C-Series Hardware?


Report Date: 09/25/2017
Last Updated: 10/05/2017
Document ID: 7PO8N0G9

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