Skip to main content
Open topic with navigation CAPL Functions » MOST » mostNwmFiSetConfigState

mostNwmFiSetConfigState

Valid for: CANoe DE

Function Syntax

long mostNwmFiSetConfigState(long state, long sendConfigStatusMsg);

Description

Forces the network configuration status to be set in CANoe’s NetworkMaster. Use the function with care since the state machine of the NetworkMaster is not guaranteed to work properly afterwards. (A shutdown of the network will reset the NetworkMaster’s state machine.) The function is available for CAPL programs assigned to the NetworkMaster block in the Simulation Setup.

Parameters

  • state
    • 0: ConfigNotOk
    • 1: ConfigOK
  • sendConfigStatusMsg
    • 0: set the configuration status without sending a message
    • 1: set configuration status and broadcast NetworkMaster.Configuration.Status

Return Values

See error codes

Example

OnMostFiAmsPreSendOnMostFiAmsPreReceivemostNwmFiEnableRingScan