Error Codes
You might encounter the following error codes while you use the Historian User API:
Code | Message | Description |
---|---|---|
100 | ihuSTATUS_FAILED | Generic failure. |
101 | ihuSTATUS_API_TIMEOUT | Server machine name not found, or server found but archiver service not running. |
102 | ihuSTATUS_NOT_CONNECTED | Not currently connected to a Historian server. |
103 | ihuSTATUS_INTERFACE_NOT_FOUND | Interface not found. |
104 | ihuSTATUS_NOT_SUPPORTED | Reserved. |
105 | ihuSTATUS_DUPLICATE_DATA | ihuWriteData was called with error_on_replace = TRUE and the supplied data would have overwritten existing data. |
106 | ihuSTATUS_DUPLICATE_DATA | Server found, but invalid username or password. |
107 | ihuSTATUS_ACCESS_DENIED | Access denied by the Historian server. Check username and password or security group membership. |
108 | ihuSTATUS_WRITE_IN_FUTURE | Write time stamp is too far in the future. |
109 | ihuSTATUS_WRITE_ARCH_OFFLINE | There is no archiver to hold the write time stamp. |
110 | ihuSTATUS_ARCH_READONLY | The destination archive to hold the write time stamp is marked as read-only. |
111 | ihuSTATUS_WRITE_OUTSIDE_ACTIVE | The write time stamp is before the active hours (now − "data is read only after") setting. |
112 | ihuSTATUS_WRITE_NO_ARCH_AVAILABLE | No archive is available to hold the write time stamp. |
113 | ihuSTATUS_INVALID_TAGNAME | Tagname used is not valid. Tagname does not exist in the Historian server. |
114 | ihuSTATUS_LIC_TOO_MANY_TAGS | Exceeded tag license count on the server. |
115 | ihuSTATUS_LIC_TOO_MANY_USERS | Exceeded user license count on the server. |
116 | ihuSTATUS_LIC_INVALID_LIC_DLL | An invalid license DLL is installed. |
117 | ihuSTATUS_NO_VALUE | No value has been passed to the function. |
118 | ihuSTATUS_NOT_LICENSED | Your Historian installation is not licensed. |
119 | ihuSTATUS_CALC_CIRC_REFERENCE | Reserved. |
120 | ihuSTATUS_DUPLICATE_INTERFACE | Reserved. |
121 | ihuSTATUS_BACKUP_EXCEEDED_SPACE | Reserved. |
122 | ihuSTATUS_INVALID_SERVER_VERSION | You are attempting to use this API on an invalid version of Historian. |
123 | ihuSTATUS_DATA_RETRIEVAL_COUNT_EXCEEDED | You requested too many samples in one read request. |
124 | ihuSTATUS_INVALID_PARAMETER | Generic failure when an invalid value is passed into the User API. |