UDS CommunicationControl.vi
- Updated2025-10-07
- 4 minute(s) read
Purpose
Executes the UDS CommunicationControl service. Use this VI to switch transmission and/or reception of the normal communication messages (usually CAN messages) on or off. Format
Input
|
diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi or Open Diagnostic on IP.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster. | ||||||||
|
type indicates whether transmission/reception is to be switched on/off. The usual values are:
|
||||||||
|
communication type is a bitfield indicating the application level to change. The usual values are:
|
||||||||
|
error in is a cluster that 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.
|
Output
|
diag ref out is a copy of diag ref in. You can wire it to subsequent diagnostic VIs. | ||||||
|
success? indicates successful receipt of a positive response message for this diagnostic service. | ||||||
|
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.
|
Description
This VI executes the UDS CommunicationControl service and switches transmission and/or reception of the normal communication messages (usually CAN messages) on or off. The type and communication type parameters are vehicle manufacturer specific (one OEM may disable the transmission only, while another OEM may disable the transmission and the reception based on vehicle manufacturer specific needs). The request is either transmitted functionally addressed to all ECUs with a single request message, or transmitted physically addressed to each ECU in a separate request message.




