A status summary message of any errors generated by a call to the CreateTags, GetItemHandles, or Insert method appears in the Windows Event Viewer under .
|
Value |
Type | Method | Description |
|---|---|---|---|
|
0x00000000 |
HRESULT |
CreateTags |
All history tag creations, data writes, or item deletions succeeded. |
|
0x00000001 |
HRESULT |
CreateTags |
One or more of the history tag creations, data writes, or item deletions failed. |
|
0x40041002 |
ppError | DeleteAtTime | No values matching times given to delete. |
|
0x80004003 |
HRESULT | CreateTags | A null pointer was passed for either pszTag or pTagType. |
| Insert | A null pointer was passed for either phServer, ftTimeStamps, vDataValues, or pdwQualities. | ||
|
0x80004005 |
HRESULT |
CreateTags |
An unexpected error occurred during history tag creation, while writing a history sample, or deleting an item. |
|
0x80040305 |
ppError | CreateTags | History tag creation failed because it would result in more than 2,000 tags in the current and active data sets. |
|
0x80040307 |
ppError |
CreateTags |
The Enable historical data entry option on the Advanced tab of the Continuous Historian Properties dialog is not enabled on the workstation where the DeltaV Continuous Historian is running. |
|
0x80070057 |
HRESULT | CreateTags | dwNumItems is either equal to 0 or greater than 2,000. |
|
Insert |
dwNumItems is equal to 0. | ||
| ppError | Insert(1) |
|
|
|
0xC0040001 |
ppError |
Insert(1) |
Invalid OPC HDA server item handle. |
|
0xC0040006 |
ppError |
CreateTags |
Invalid user security prevented history tag creation, inserting the history sample, or deleting an item. |
|
0xC0040007 |
ppError | GetItemHandles(1) | The item does not exist. |
|
0xC0040008 |
ppError | GetItemHandles(1) | The OPC item ID was specified incorrectly. |
|
0xC004100B |
ppError | Insert(1) | A history sample with the same time stamp has already been inserted. |
|
0xE23E0017 |
HRESULT |
CreateTags |
No licenses available or too many clients are currently connected. |
|
0xE23E0453 |
ppError | CreateTags | History tag creation failed because the history tag already exists. |
|
0xE23E0454 |
ppError | CreateTags | History tag creation failed because the history tag contains an illegal character, is missing the .HDE suffix, or is greater than 160 characters (excluding the .HDE suffix). |
|
0xE23E0455 |
ppError | CreateTags | History tag creation failed because the history tag type passed was something other than a DvCHFloat32 or DVCHUNCString. |
| (1) For more information about these return codes for the DeleteAtTime, GetItemHandles, and Insert methods, refer to OPC Historical Data Access Specification Version 1.20. | |||