Purpose

Queries session configuration or slave device identification.

Format

Input

Reference in is the reference to any opened A2L database, a selected ECU, or an ECU which is already connected (with , , , or ). The type of this reference depends on the property you want to get.
Type specifies the type of the requested identification:
TypeDescription
0ASCII text
1ASAM-MC2 filename without path and extension
2ASAM-MC2 filename with path and extension
3URL where the ASAM-MC2 file can be found
4ASAM-MC2 file to upload
128..255User defined
Error in is a cluster which describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the error in cluster to error out.
status is TRUE if an error occurred. This VI is not executed when status is TRUE.
code is the error code number identifying an error. A value of 0 means success. A negative value means error: VI did not execute the intended operation. A positive value means warning: VI executed intended operation, but an informational warning is returned. For a description of the code, wire the error cluster to a LabVIEW error-handling VI, such as the Simple Error Handler.
source identifies the VI where the error occurred.

Output

Reference out is a copy of the reference in terminal which can be wired through subsequent ECU M&C VIs.
Id contains the queried identification string.
Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
status is TRUE if an error occurred.
code is the error code number identifying an error. A value of 0 means success. A negative value means error: VI did not execute the intended operation. A positive value means warning: VI executed intended operation, but an informational warning is returned. For a description of the code, wire the error cluster to a LabVIEW error-handling VI, such as the Simple Error Handler.
source identifies the VI where the error occurred.

Description

MC XCP Get ID.vi implements the XCP command GET_ID and returns session configuration or slave device identification information of the selected ECU slave device. The supported types are implementation specific of the ECU slave device. The identification string is ASCII text format.