SetTraceLevel()

This method fixes the severity of the events thrown by this instance.
Syntax:
METHOD SetTraceLevel : HRESULT
VAR_INPUT
bOwnTraceLevel: BOOL; // activate internal trace level
eTraceLevel: TcEventSeverity; // set internal trace level
END_VAR
Return value
Name | Type | Description |
---|---|---|
SetTraceLevel | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
bOwnTraceLevel | BOOL | Activates the fixed severity level. |
eTraceLevel | Severity level |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |