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

mostApIsRegistered

Valid for: CANoe DE

Function Syntax

long mostApIsRegistered();

Description

This function can be used to poll whether the CAPL node is registered as a function block in the Local FBlockList. The function block must be assigned to the CAPL program via mostApRegister(fblockID, instIDDefault) or the database.

Parameters

Return Values

  • 1: Function block is registered
  • 0: Function block is not registered
  • < 0: See error codes

Example

mostApRegistermostApUnregistermostApGetInstIdmostApGetFBlockIdmostApIsRegisteredEx