HistHookFoxOaj
- Last UpdatedDec 16, 2024
- 1 minute read
Description:
The HistHookFoxOaj function is called when all the batch-related operator actions are being logged during batch execution. When the function is called, it creates an entry in the OperatorActions table of the BatchHistory database.
Syntax
char* HistHookFoxOaj(char* szBatchServerName, H_CLB* pCLB, H_FoxOaj* pFoxOaj)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains the name of the batch server configured in system parameters
-
-
pCLB
-
Type: H_CLB*
-
Description: Points to the structure that contains the information of campaign, lot, and batch
-
-
pFoxOaj
-
Type: H_FoxOaj*
-
Description: Points to the structure of the H_FoxOaj that refers to the OperatorActions table of the BatchHistory database
-
Return Type: char*
This function returns an insert query for the OperatorActions table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).
Note: HistHookFoxOaj is applicable only when Foxboro DCS Components are installed.