Skip to main content

coTfsNmtStopNode (Level 2)

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE

Function Syntax

long coTfsNmtStopNode( void );
long coTfsNmtStopNode( dword broadcastFlag );

Description

This call triggers a NMT message that sets the in DUT (Device Under Test) to the stopped state. The new state is not checked because SDO transfers are not allowed in stopped mode.

Parameters

  • broadcastFlag:
    • !=0: NMT message is sent to all nodes (broadcast)

Return Values

Error code

Example

if ( coTfsNmtStopNode() != 1) {
  write("stop node failed");
}