Configuration Guide User Manual

Micro-PWC CONFIGURATION GUIDE
316 @aGlance/IT Server Interface
The start parameter is a pointer to a character string which contains the start time. The start time must be
in the format:
HH:MM:SS DD-MMM-YY.
The end parameter is a pointer to a character string which contains the end time. The end time must be in
the format:
HH:MM:SS DD-MMM-YY.
The type_list is a list of character string pointers containing the statistical types for the @aGlance/IT server
for the Micro-PWC. The following standard @aGlance types should be used: AAG_HIST_MIN,
AAG_HIST_MAX, AAG_HIST_AVG, AAG_HIST_STDDEV.
11.3.3.1.4 Server Specific AAG_PutHistory Method Parameters
The AAG_PutHistory method allows a client to write data into the historical, archival, historical block or
archival block database via the @aGlance/IT server for the Micro-PWC. For example, this could be used to
record laboratory data and process data.
The time_list parameter is a list of times associated with the values being sent to the server. These must
be in the format:
HH:MM:SS DD-MMM-YY.
This list must contain the same number of entries as the list of tagnames.
11.3.3.2 Server Specific Status Information
AAG_StatusList is an @aGlance/IT data type used to report information regarding the success or failure of
a request to an @aGlance/IT server. The data type contains three elements:
Value indicating success or failure.
•Text.
Value representing a severity code.
The value and text elements are server dependent; the severity codes are defined by the @aGlance/IT
software. The contents of these elements are shown in Table 11-4.
This AAG_StatusList data type is used with the following methods supported by the @aGlance/IT server
for the Micro-PWC: AAG_GetList, AAG_GetTable, AAG_PutList, AAG_PutTable, AAG_GetHistory,
AAG_PutHistory, AAG_GetHistEvent, AAG_GetHistStat, and AAG_Monitor.
Table 11-4. AAG_StatusList Information
Element Access Succeeds Access Fails
Value D_SUCCESS (always zero) Micro-PWC system DBA error code (sign inverted)
Text (Null) Micro-PWC system DBA error status description
Severity AAG_SUCCESS_SEVERITY AAG_ERROR_SEVERITY