VWTP Connect.vi
- Updated2025-10-07
- 4 minute(s) read
Purpose
Establishes a connection channel to an ECU using the VW TP 2.0. Format
Input
|
diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster. | ||||||
|
channel ID defines the CAN identifier on which the ECU responds for this connection. The ECU defines the ID on which the host transmits. | ||||||
|
application type specifies the type of communication that takes place on the communication channel. For diagnostic applications, specify KWP2000 (1). The other values are for manufacturer-specific purposes. | ||||||
|
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. | ||||||
|
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
For the VW TP 2.0, you must establish a connection to the ECU before any diagnostic
communication can occur. This VI sets up a unique communication channel to an ECU for
subsequent diagnostic service requests.
Note
  You must maintain the communication link you created by periodically (at least once a second) calling VWTP Connection Test.vi.
There is no equivalent for the ISO TP (ISO 15765-2), as the ISO TP does not use a special communication link.





