How to use the ECU MC Toolkit with cRIO 985x C-Series Hardware? Primary Software: Other NI Software>>ECU Measurement and Calibration ToolkitPrimary 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". Channels represents a field in the data of a specific ID, scaled to a floating point value in physical units (such as Volts or Revolutions-per-minute). The cRIO 985x hardware supports the "Frame API" only. How can I use my ECU MC applications with cRIO 985x? Solution: The solution is based on frame to channel conversion as described in the KB linked below. 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. Or 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. Because the the ECU MC Toolkit does not use the "Channel API" directly this example uses a "Bridge.vi" to do the conversion. 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. The "Bridge.vi" can also be used with regular "Channel API" Examples. 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? ECU MC Toolkit Attachments:
Report Date: 02/05/2007 Last Updated: 02/05/2007 Document ID: 464FPRJL |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
