F_BA_GetPersistentDataHandler

F_BA_GetPersistentDataHandler 1:

Retrieves the instance (singleton) of the persistent data writer, if available.

F_BA_GetPersistentDataHandler 2:

This function returns a reference to the globally available persistent data handler. This is a singleton instance used to write persistent data in the application. The function indicates whether a valid handler exists.

Syntax

FUNCTION F_BA_GetPersistentDataHandler : BOOL
VAR_OUTPUT
  iHandler : I_BA_PersistentDataHandler;
END_VAR

F_BA_GetPersistentDataHandler 3: Outputs

Name

Type

Description

iHandler

I_BA_PersistentDataHandler

Reference to the data handler singleton.