HistHookProcessVariable
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookProcessVariable function is called during the execution of a phase when actual and target value of the process variable is met. When the function is called, it creates an entry in the ProcessVar table of the BatchHistory database.
Syntax
char* HistHookProcessVariable(char* szBatchServerName, char* szBatchKey, H_CLB* pCLB, char* szPhaseKey, H_ProcessVar* pProcessVar)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains the name of the batch server configured in system parameters
-
-
szBatchKey
-
Type: char*
-
Description: Contains the unique identification string for the batch
-
-
pCLB
-
Type: H_CLB*
-
Description: Points to the structure that contains the information of campaign, lot, and batch
-
-
szPhaseKey
-
Type: char*
-
Description: Contains the unique identification string for a phase
-
-
pProcessVar
-
Type: H_ProcessVar*
-
Description: Points to the structure of H_ProcessVar that refers to the ProcessVar table of the BatchHistory database
-
Return Type: char*
This function returns an insert query for the ProcessVar table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).