HistHookFoxBooleanAlarm
- Last UpdatedDec 16, 2024
- 1 minute read
Description:
The HistHookFoxBooleanAlarm function is called when a Boolean alarm is produced by a batch. When this function is called, it creates an entry in the BooleanAlarm table of the BatchHistory database.
Syntax
char* HistHookFoxBooleanAlarm(char* szBatchServerName, H_CLB* pCLB, H_FoxBooleanAlarm* pFoxBooleanAlarm)
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
-
-
pFoxBooleanAlarm
-
Type: H_FoxBooleanAlarm
-
Description: Points to the structure of the H_FoxBooleanAlarm that refers to the BooleanAlarm table of the BatchHistory database
-
Return Type: char*
This function returns an insert query for the BooleanAlarm table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).
Note: HistHookFoxBooleanAlarm is applicable only when Foxboro DCS Components are installed.