Trappable errors
The trappable error constants and descriptions for the FactoryTalk View SE Client object model are as follows:
gfxErrorAreaName
– no area of the name specified was found, or the area name was not fully qualifiedgfxErrorCollectionIndex
– a collection item corresponding to a specified index is not found in the collectiongfxErrorDisplayNotAnimating
– property writes and method calls are allowed only when a display is animatinggfxErrorDisplayNotFound
– the specified display does not existgfxErrorDisplaySetFocus
– attempting to set input focus to an element that cannot receive focus or that is on a hidden displaygfxErrorDisplayUnloading
– unable to set a property or call a method on a display that is in the process of unloadinggfxErrorExecuteCommand
– an error occurred while attempting to execute a commandgfxGetServerStatus – unable to get the status of a server. The server FullServerName does not exist
gfxInvalidLanguage – the specified string is not the name of a valid language
gfxErrorInvalidOperation
– attempting to change the state or position (PushBack, PullForward) of a hidden display or to give it focusgfxErrorInvalidPropValue
– attempting to assign an invalid value to a propertygfxErrorLoginFailed
– unable to authenticate the user attempting to log ingfxErrorLogMessage
– the specified diagnostics severity or diagnostics category is invalidgfxErrorLogoutFailed
– unable to authenticate the user attempting to log outgfxErrorMoveResize
– attempting to move or resize a display that is minimized or maximizedgfxErrorNoOPCServerFound
– unable to connect to servergfxErrorPropReadOnlyAtRuntime
– attempting to assign a value to a property that is read-only at runtimegfxErrorRecipeRestore
– error occurred while restoring a recipegfxErrorRecipeSave
– error occurred while saving a recipegfxErrorSecInvalidCodes
– the specified security code does not existgfxErrorSecurityAccess
– insufficient security to load the specified display, use the Display command, or perform an download or upload, or there may be no user logged ingfxErrorSetElementFocus
– the specified Element was not found on the displaygfxErrorSetFocus
– attempting to set focus to a hidden display or an element on a hidden display, to an element that is incapable of getting input focus, or using an index that does not existgfxErrorTestAnimation
– while a display is under test animation, attempting to hide a display (set Visible to False) or to set the WindowState property; or calling one of these methods CurrentUserHasCode, LoadDisplay, Login, Logout, Move, PullForward, PushBack, Quit, SetFocus, ShowDisplay, StopAnimation, or UnloadDisplay; or attempting to read one of these properties Version, ConfigurationFileName, CurrentUserHasCodes or WindowHandle.gfxErrorUnexpected
– error occurred in attempting to open a display, a specified display contains too many tags, too many files are open, a file might be locked by another application, a value of the specified property cannot be readgfxErrorUnsupportedLanguage
– a language switch was attempted to a language that is not supported by the applicationtagErrorAddressTooLong
- the specified address is too longtagErrorAnaInvalidDataType -
the specified data type of an analog tag is not validtagErrorAnaInvalidInitVal -
the specified initial value of an analog tag is not validtagErrorAnaInvalidMaxVal -
the specified maximum value of an analog tag is not validtagErrorAnaInvalidMinMax -
the minimum value of an analog tag must be less than or equal to maximum valuetagErrorAnaInvalidMinVal -
the specified minimum value of an analog tag is not validtagErrorAnaInvalidOffset-
the specified offset of an analog tag is not validtagErrorAnaInvalidScale -
the specified scale of an analog tag is not validtagErrorBlockModeAlreadyStart
- unable to start the block mode because a block mode is already startedtagErrorCloseTagDBFail -
unable to close the tag databasetagErrorCollectionIndex
– collection item corresponding to index was not foundtagErrorCreateFolderFailed -
unable to create the specified foldertagErrorCreateFoldersFailed -
unable to create folders collectiontagErrorCreateTagFailed -
unable to create the specified tagtagErrorDeleteFolderFailed -
unable to delete the specified foldertagErrorDestoryTagFailed -
unable to destroy the specified tagtagErrorDigInvalidInitVal -
the specified initial value of a digital tag is not validtagErrorDigInvalidOnOffLabels -
the On and Off labels of a digital tag must be differenttagErrorDigOffLabelTooLong -
the Off label of a digital tag is too longtagErrorDigOnLabelTooLong -
the On label of a digital tag is too longtagErrorDuplicateFolderFailed -
unable to duplicate the specified foldertagErrorFolderAlreadyExist
- unable to add the folder because a folder with that name already existstagErrorFolderNameTooLong
- the folder name is too longtagErrorFolderNameTooShort
- the folder name is too shorttagErrorFolderNotFound
- the specified folder does not existtagErrorGeneralError
- a general error occurstagErrorGetFolderFailed
- unable to get the specified foldertagErrorGetTagFailed
- unable to get the specified tagtagErrorInvalidDataSrcType -
the specified data source type is not validtagErrorInvalidFolderName
- the specified folder name is not validtagErrorInvalidSecurity
– attempt to write to an HMI tag by a user whose security level does not permit them to write to the tagtagErrorInvalidTagConfig -
the tag's configuration is not validtagErrorInvalidTagName -
the tag name is not validtagErrorInvalidTagSecurity -
the specified security code is not validtagErrorInvalidTagType -
the specified tag type is not supportedtagErrorInvalidTagTypeProperty -
the tag type does to support the specified property or methodtagErrorNumberOfDeviceTagsFailed
- unable to get the number of device tagstagErrorNumberOfTagsFailed -
unable to get the number of tagstagErrorOpenTagDBFail
- unable to open tag databasetagErrorOperationFailed
– the operation failed. The error message will contain a the error code and a text descriptiontagErrorParentNotFound -
the parent object does not existtagErrorPropertyNotSupported
– the requested tag property is not supported by the tag or the servertagErrorReadOnlyAcces
s – attempt to write a tag value or values when the FactoryTalk View SE Client is in Read-only mode (configured or licensed)tagErrorReadTagCfgFailed -
unable to read the tag configuration from the tag databasetagErrorReadTagDBInfoFail -
unable to read tag database informationtagErrorReadValue
– unable to read a tag value because of a server errortagErrorStrInitValTooLong
- the initial value of a string tag is too longtagErrorStringInvalidInitVal
- the initial value of a string tag is not validtagErrorStringInvalidLen -
the length of a string tag is not validtagErrorTagAlreadyExist
- unable to add the tag because a tag with the same name already existstagErrorTagDescTooLong -
the description of the tag is too longtagErrorTagNameTooLong
- the name of the tag is too longtagErrorTagNameTooShort -
the name of the tag is too shorttagErrorTagNotFound
– unable to add the tag to the collection because the tag name was not foundtagErrorTransactionFailed
- unable to finish the transactiontagErrorUnableToCreateGroup
– the specified tag group could not be createdtagErrorUnableToGetTagDB
- Unable to get the tag databasetagErrorUpdateRate
– invalid (i.e., negative) update rate specifiedtagErrorWriteTagCfgFailed -
unable to write the tag configuration to the databasetagErrorWriteValue
– unable to write a tag value because of a server errorProvide Feedback