Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5   

Using the ECU MC Toolkit with cRIO 985x C-Series Hardware



Primary Software: ECU Measurement and Calibration Toolkit
Primary Software Version: 1.0
Primary Software Fixed Version: 1.0
Secondary Software: Driver Software>>NI-RIO, Driver Software>>NI-CAN

Problem:
The ECU MC Toolkit is based on the NI-CAN Channel API. The cRIO 985x hardware supports the Frame API only. How can I use my ECU MC applications with cRIO 985x?

Solution:
This issue was resolved by ECU Measurement and Calibration Toolkit 2.1.4. If you want to use your cRIO 985x hardware with the ECU MC Toolkit, then you have the follow options:

Solution 1
Use ECU Measurement and Calibration Toolkit 2.1.4 or later. These versions allow you to communicate directly between the toolkit and the 985x hardware.

Solution 2
If upgrading versions is not an option, this workaround describes how to use the NI-CAN virtual ports to convert Frame API data to Channel API data and circumvent the problem.
 
NI-CAN provides a virtual CAN card with two interfaces, CAN256 and CAN257. The two virtual interfaces are connected by a virtual bus. When you write CAN frames to one virtual interface, those frames are received by the other virtual interface, and can be read as channels.

Alternatively, you can send your channel data on one virtual interface and receive the raw data frames by the other virtual interface. Thus the virtual interface allows you to use your channel database with 985x hardware to receive scaled data like the Channel API does.

This example uses Bridge.vi to do convert data from Channel to Frame API. Therefore you have to use the Virtual Port with your MC ECU open function and the Bridge.vi converts the data to and from the cRIO "elemental I/O" of your cRIO device.

The attached examples are shipping examples which are installed by the ECU MC Toolkit Installer. You have to purchase the Toolkit in order to use them.

For more information to the Frame to Channel conversion or limitations for the virtual interface refer to the pages from 6-13 to 6-22 within the NI-CAN Hardware and Software Manual.

Note: Due to simulation of the virtual interface, the frame to channel conversion requires some processing time. Thus you may not be able to convert CAN data from a fully loaded bus.

Related Links:
KnowledgeBase 464FIDJL: How to use the NI-CAN Channel API with cRIO 985x C-Series Hardware?

Products & Services: ECU Measurement and Calibration Toolkit

Attachments:


ECU MC cRIO.zip - ECU MC cRIO.zip


Report Date: 02/05/2007
Last Updated: 02/22/2012
Document ID: 464FPRJL

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