Purpose

Terminates automatic transmission of a periodic TesterPresent message. Format

Input

diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi and wired through subsequent diagnostic VIs. Typically, it is not necessary to manipulate the elements of this cluster manually.
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.
status is TRUE if an error occurred. This VI is not executed when the status is TRUE.
code is the error code number identifying an error.

A value of 0 indicates success.

A negative value indicates an error; the VI did not execute the intended operation.

A positive value indicates a warning; the VI executed the 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

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 indicates 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 indicates success.

A negative value indicates an error; the VI did not execute the intended operation.

A positive value indicates a warning; the VI executed the 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

The automatic periodic transmission of a TesterPresent service initiated with Start Periodic TesterPresent.vi is terminated. If this VI is not called explicitly, the transmission is stopped when the diagnostic session is terminated with Close Diagnostic.vi. When using the VW TP 2.0 transport protocol, calling VWTP Disconnect.vi also stops the periodic TesterPresent transmission.