Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Batch Management

HistHookProcessLog

  • Last UpdatedJun 06, 2017
  • 1 minute read

Description:

The HistHookProcessLog function is called when the data is logged into Historian for the configured groups in the Process Log editor. When the function is called, it creates an entry in the ProcessLog table of the BatchHistory database.

Syntax

char* HistHookProcessLog(char* szBatchServerName, H_CLB* pCLB, H_ProcessLog* pProcessLog)

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

  • pProcessLog

    • Type: H_ProcessLog*

    • Description: Points to the structure of H_ProcessLog that refers to the ProcessLog table of the BatchHistory database

Return Type: char*

This function returns an insert query for the ProcessLog table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).

In This Topic
TitleResults for “How to create a CRG?”Also Available in