Gas Analysis Writes

Overview

Gas Analysis Writes are performed using a Write Request Framework; a core component of ACM that allows Gas Chromatograph write requests to be sent to end devices.

Creating Write Requests

Requests are created using the Write Request Library interface either directly or through services provided by ACM. Direct usage of the Write Request Library interface is not within the scope of this guide.

ACM provides the following services that facilitate creation of requests by specific means:

Life-Cycle of A Request 

A Write Request will go through the following stages during its life-cycle:

  1. Request is created via the Write Request Library
  2. Request is processed by the Request Manager Service
    1. A Request OPC Item is created and sent to device protocol thread to communicate the request.
    2. The device protocol thread will report back to the Request Manager Service on its attempt.
    3. Steps a and b could be repeated depending on how Processing Retries are configured on failed attempts.
  3. Request is moved to an Audit table once the Request is successfully completed or can not longer be retried and has failed.

How Requests Are Processed

Requests that have been created via the Write Request Library interface (either directly or by using one of the services ACM provides) are processed by the Request Manager Service (asiGCRequestManger). This service performs the following tasks on behalf of each request:

  • Manage the status of a request throughout its life-cycle.
  • Limit processing of requests during configurable Blackout Periods (see below). 
  • Communicate with associated device protocol configured in ACM to facilitate the push of GC data to the device. 
  • Store an archived version of the request for audit purposes. The audit record includes the values sent and if it was successful or not.


Request Processing Diagram

Processing Blackout Periods

Blackout periods are configurable blocks of time for which processing of requests are suspended by the Request Manager Service (asiGCRequestManger). During this time, new requests can be added, but they will not be processed. Any requests that are in-process when a blackout period goes into effect, will be suspended when they timeout and are flagged for retry. When the period expires, any suspended retries as well as new requests will resume processing.

Configuration of Blackout Periods are done in the ACM Monitor in the Gas Analysis Processing Blackouts Properties section.

Processing Options

The Request Manager Service (asiGCRequestManger) can be configured to process requests at a specific time interval, create trace 'debug' entries in the ACM log and throttle requests in blocks.

Configuration of Write Processing Options are done in the ACM Monitor in the Gas Analysis Writes Properties section.

Processing Retries

The Request Manager Service (asiGCRequestManger) can be configured to attempt one or more retries with the device.

Configuration of Write Processing Retries are done in the ACM Monitor in the Gas Analysis Writes Retry Properties section.


Audit Records

Each request that has completed processing by the GC Request Manager Service will result in either Success or Failure. The GC values from this request are copied into a new Audit Record and the request is cleared from the active processing table. The records in the Audit table can be reviewed using one of the built in reports from the Reporting Tab in the Configuration Client Interface.



For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.