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

AVEVA™ Batch Management

HistHookFoxAnalogAlarm

  • Last UpdatedDec 16, 2024
  • 1 minute read

Description:

The HistHookFoxAnalogAlarm function is called when an analog alarm is produced by a batch. When this function is called, it creates an entry in the AnalogAlarm table of the BatchHistory database.

Syntax

char* HistHookFoxAnalogAlarm(char* szBatchServerName, H_CLB* pCLB, H_FoxAnalogAlarm* pFoxAnalogAlarm)

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

  • pFoxAnalogAlarm

    • Type: H_FoxAnalogAlarm*

    • Description: Points to the structure of the H_FoxAnalogAlarm that refers to the AnalogAlarm table of the BatchHistory database

Return Type: char*

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

Note: HistHookFoxAnalogAlarm is applicable only when Foxboro DCS Components are installed.

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