ECU M&C API for LabVIEW
- Updated2025-09-25
- 4 minute(s) read
This topic lists the LabVIEW VIs for the ECU M&C API and describes the format, purpose, and parameters for each VI. The VIs in this section are listed alphabetically.
Unless otherwise stated, each ECU M&C VI suspends execution of the calling thread until it completes.
The following are section headings found in the ECU M&C API for LabVIEW VIs.
Purpose
Each VI description includes a brief statement of the purpose of the VI.
Format
The format section describes the format of each VI.
Input and Output
The input and output parameters for each VI are listed.
The description section gives details about the purpose and effect of each VI.
The following table is an alphabetical list of the ECU M&C Toolkit VIs.
| Function | Purpose |
|---|---|
| MC Build Checksum.vi | Calculates a checksum over a defined memory range within the ECU. |
| MC Calc Checksum.vi | Calculates the checksum of a data block in memory. |
| MC CCP Action Service.vi | Calls an implementation-specific action service on the ECU. |
| MC CCP Diag Service.vi | Calls a diagnostic service on the ECU. |
| MC CCP Get Active Cal Page.vi | Retrieves the ECU Memory Transfer Address pointer to the calibration data page. |
| MC CCP Get Result.vi | Uploads requested data. |
| MC CCP Get Session Status.vi | Retrieves the current calibration status of the ECU. |
| MC CCP Get Version.vi | Retrieves the version of the CCP implemented in the ECU. |
| MC CCP Move Memory.vi | Moves a memory block on the ECU. |
| MC CCP Select Cal Page.vi | Sets the beginning of the calibration data page. |
| MC CCP Set Session Status.vi | Updates the ECU with the current state of the calibration session. |
| MC Characteristic Read.vi | Reads the value(s) of a named characteristic from an ECU identified by ECU reference handle. |
| MC Characteristic Read Single Value.vi | Reads the value(s) of a named characteristic from an ECU identified by ECU reference handle. |
| MC Characteristic Write.vi | Writes the value(s) of a named characteristic to an ECU identified by the ECU reference handle. The Poly VI writes the selected type double, 1D or 2D array. |
| MC Characteristic Write Single Value.vi | Writes one value to a named characteristic in the ECU identified by ECU reference handle. |
| MC Clear Memory.vi | Clears the contents of a specified memory block. |
| MC Conversion Create.vi | Creates a signal conversion object in memory. |
| MC DAQ Clear.vi | Stops communication for the Measurement task and then clears the configuration. |
| MC DAQ Initialize.vi | Initializes a Measurement task for the specified Measurement channel list. |
| MC DAQ List Initialize.vi | Defines a DAQ list on a specific DAQ list number and initializes the Measurement task for the specified Measurement channel list. |
| MC DAQ Read.vi | Reads samples from a Measurement task. Samples are obtained from received CAN messages. |
| MC DAQ Start Stop.vi | Starts or stops the transmission of the DAQ lists for the specified Measurement task. |
| MC DAQ Write.vi | Writes samples to a Measurement task. |
| MC Database Close.vi | Closes a specified A2L Database. |
| MC Database Create.vi | Creates an A2L database in memory, for using the ECU M&C Toolkit VIs without access to a valid ASAM A2L file. |
| MC Database Open.vi | Opens a specified A2L Database. |
| MC Double To Text.vi | Converts a numerical value to a text string using an enumeration or range text type scaling. |
| MC Download.vi | Downloads data to an ECU. |
| MC ECU Close.vi | Closes the selected ECU and the associated A2L database. |
| MC ECU Connect.vi | Establishes the communication to the selected ECU through the CCP protocol. After a successful ECU Connect you can create a Measurement Task or read/write a Characteristic. |
| MC ECU Create.vi | Creates an ECU object in memory. |
| MC ECU Deselect.vi | Deselects an ECU and invalidates the ECU reference handle. |
| MC ECU Disconnect.vi | Permanently disconnects the CCP communication to the selected ECU and ends the calibration session. |
| MC ECU Open.vi | Opens a specified A2L database and selects the first ECU found in the database. If there are several ECUs stored in the A2L database use the Database Open and ECU Select VIs. |
| MC ECU Select.vi | Selects an ECU from the names stored in an A2L database. |
| MC ECU Set Calibration Page.vi | Sets the appropriate RAM or ROM calibration page on the ECU. |
| MC Event Create.vi | Creates an Event object in memory. |
| MC Generic.vi | Sends a generic XCP or CCP command. |
| MC Get Names.vi | Gets an array of object names from a specified A2L database file. |
| MC Get Property.vi | Gets a property for the object referenced by the reference in terminal. The poly VI selection determines the property to get. |
| MC Measurement Create.vi | Creates a Measurement object in memory. |
| MC Measurement Read.vi | Performs a single point read of a measurement variable without opening a DAQ task. |
| MC Measurement Write.vi | Performs a single point write of a measurement variable without opening a DAQ task. |
| MC Program.vi | Programs a memory block on the ECU. |
| MC Set Property.vi | Sets a property for the specified A2L database file, Measurement task or Characteristic. The poly VI selection determines the property to set. |
| MC Text To Double.vi | Converts a text value into the numeric representation using an enumeration or range text type scaling. |
| MC Upload.vi | Uploads data from an ECU. |
| MC XCP Copy Cal Page.vi | Forces a copy transaction of one calibration page to another. |
| MC XCP Get Cal Page.vi | Queries a calibration page setting. |
| MC XCP Get ID.vi | Queries session configuration or slave device identification. |
| MC XCP Get Status.vi | Queries the current session status from an ECU slave device. |
| MC XCP Program Prepare.vi | Prepares the programming of non volatile memory. |
| MC Program Reset .vi | Indicates the end of a programming sequence. |
| MC Program Start.vi | Indicates the start of a programming sequence. |
| MC XCP Program Verify.vi | Performs a non-volatile memory certification task on the ECU device. |
| MC XCP Set Cal Page.vi | Sets a calibration page. |
| MC XCP Set Request.vi | Performs a request to save session and device information to non-volatile memory. |
| MC XCP Set Segment Mode.vi | Sets the mode of a specified segment. |