Skip to main content
Open topic with navigation CAPL Functions » System Variables » sysSetVariableFilterActive

sysSetVariableFilterActive

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

Function Syntax

Description

Activates or deactivates a variable filter. If no filterName is given, the default filter is affected.

Parameters

  • active: Specifies the new filter status:
    • 0: deactivated.
    • All other values: activated.
  • filterName: The name of the filter that should be affected. Note: An empty filterName refers to the default filter and can be omitted completely.

Return Values

  • 0: No error, function successful.
  • 2: The filter does not exist. The filter status cannot be changed.

Example

SysCreateVariableFilterSysFilterAddNamespaceSysFilterAddVariableSysFilterRemoveNamespaceSysFilterRemoveVariable