Skip to main contentOpen topic with navigation
CAPL Functions » MOST » mostAsNtfFunctionEnableEx, mostAsNtfFunctionDisableEx, mostAsNtfFunctionIsEnabledEx
mostAsNtfFunctionEnableEx, mostAsNtfFunctionDisableEx, mostAsNtfFunctionIsEnabledEx
Valid for: CANoe DE
Function Syntax
long mostAsNtfFunctionEnableEx(long fblockID, long instID, long functionID, char cbSendStatus[]);
long mostAsNtfFunctionDisableEx(long fblockID, long instID, long functionID);
long mostAsNtfFunctionIsEnabledEx(long fblockID, long instID, long functionID);
Description
The behavior corresponds to the functions mostAsNtfFunctionEnable, mostAsNtfFunctionDisable, mostAsNtfFunctionIsEnabled. The functions ending with ‘Ex’ can also be used if the CAPL node is not assigned to a function block exclusively.
Parameters
- fblockID: Function block ID
- instID: Instance ID
- functionID: Function ID or -1 for all functions of the function block from the database.
- cbSendStatus[]: Name of the CAPL function that generates and sends the status message. If
functionID=-1, cbSendStatus designates the prefix of the CAPL send functions to be defined. If an empty character string is specified, the default prefix “SendStatus_” is used.
Return Values
See error codes.
Example
—
mostApIsRegisteredEx • mostAsNtfEnableEx, mostAsNtfDisableEx • mostAsNtfFunctionEnable, mostAsNtfFunctionDisable, mostAsNtfFunctionIsEnabled • mostAsNtfOutput