Breadcrumbs

GetVariableName

Callback function which is called if a variable is changed in the CODESYS Visu. 

Here the name of the variable must be returned for a valid database entry.

Syntax

  FbAuditTrail_itfAuditTrail_GetVariableName.bmp

C++
METHOD GetVariableName : STRING(255)
VAR_INPUT
    pAddr : DWORD;
END_VAR


Parameters

Parameter 

Beschreibung:

pAddr 

Address of the changed variable.
If an empty string is returned, no entry is written to the database. 



Return Values

Return Values 

Description 

GetVariableName 

Variable name for the associated address 



Example

See: AuditTrailSample.project



Requirements



Remarks