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 qualified
gfxErrorCollectionIndex
– a collection item corresponding to a specified index is not found in the collection
gfxErrorDisplayNotAnimating
– property writes and method calls are allowed only when a display is animating
gfxErrorDisplayNotFound
– the specified display does not exist
gfxErrorDisplaySetFocus
– attempting to set input focus to an element that cannot receive focus or that is on a hidden display
gfxErrorDisplayUnloading
– unable to set a property or call a method on a display that is in the process of unloading
gfxErrorExecuteCommand
– an error occurred while attempting to execute a command
gfxGetServerStatus – 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 focus
gfxErrorInvalidPropValue
– attempting to assign an invalid value to a property
gfxErrorLoginFailed
– unable to authenticate the user attempting to log in
gfxErrorLogMessage
– the specified diagnostics severity or diagnostics category is invalid
gfxErrorLogoutFailed
– unable to authenticate the user attempting to log out
gfxErrorMoveResize
– attempting to move or resize a display that is minimized or maximized
gfxErrorNoOPCServerFound
– unable to connect to server
gfxErrorPropReadOnlyAtRuntime
– attempting to assign a value to a property that is read-only at runtime
gfxErrorRecipeRestore
– error occurred while restoring a recipe
gfxErrorRecipeSave
– error occurred while saving a recipe
gfxErrorSecInvalidCodes
– the specified security code does not exist
gfxErrorSecurityAccess
– insufficient security to load the specified display, use the Display command, or perform an download or upload, or there may be no user logged in
gfxErrorSetElementFocus
– the specified Element was not found on the display
gfxErrorSetFocus
– 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 exist
gfxErrorTestAnimation
– 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 read
gfxErrorUnsupportedLanguage
– a language switch was attempted to a language that is not supported by the application
tagErrorAddressTooLong
- the specified address is too long
tagErrorAnaInvalidDataType -
the specified data type of an analog tag is not valid
tagErrorAnaInvalidInitVal -
the specified initial value of an analog tag is not valid
tagErrorAnaInvalidMaxVal -
the specified maximum value of an analog tag is not valid
tagErrorAnaInvalidMinMax -
the minimum value of an analog tag must be less than or equal to maximum value
tagErrorAnaInvalidMinVal -
the specified minimum value of an analog tag is not valid
tagErrorAnaInvalidOffset-
the specified offset of an analog tag is not valid
tagErrorAnaInvalidScale -
the specified scale of an analog tag is not valid
tagErrorBlockModeAlreadyStart
- unable to start the block mode because a block mode is already started
tagErrorCloseTagDBFail -
unable to close the tag database
tagErrorCollectionIndex
– collection item corresponding to index was not found
tagErrorCreateFolderFailed -
unable to create the specified folder
tagErrorCreateFoldersFailed -
unable to create folders collection
tagErrorCreateTagFailed -
unable to create the specified tag
tagErrorDeleteFolderFailed -
unable to delete the specified folder
tagErrorDestoryTagFailed -
unable to destroy the specified tag
tagErrorDigInvalidInitVal -
the specified initial value of a digital tag is not valid
tagErrorDigInvalidOnOffLabels -
the On and Off labels of a digital tag must be different
tagErrorDigOffLabelTooLong -
the Off label of a digital tag is too long
tagErrorDigOnLabelTooLong -
the On label of a digital tag is too long
tagErrorDuplicateFolderFailed -
unable to duplicate the specified folder
tagErrorFolderAlreadyExist
- unable to add the folder because a folder with that name already exists
tagErrorFolderNameTooLong
- the folder name is too long
tagErrorFolderNameTooShort
- the folder name is too short
tagErrorFolderNotFound
- the specified folder does not exist
tagErrorGeneralError
- a general error occurs
tagErrorGetFolderFailed
- unable to get the specified folder
tagErrorGetTagFailed
- unable to get the specified tag
tagErrorInvalidDataSrcType -
the specified data source type is not valid
tagErrorInvalidFolderName
- the specified folder name is not valid
tagErrorInvalidSecurity
– attempt to write to an HMI tag by a user whose security level does not permit them to write to the tag
tagErrorInvalidTagConfig -
the tag's configuration is not valid
tagErrorInvalidTagName -
the tag name is not valid
tagErrorInvalidTagSecurity -
the specified security code is not valid
tagErrorInvalidTagType -
the specified tag type is not supported
tagErrorInvalidTagTypeProperty -
the tag type does to support the specified property or method
tagErrorNumberOfDeviceTagsFailed
- unable to get the number of device tags
tagErrorNumberOfTagsFailed -
unable to get the number of tags
tagErrorOpenTagDBFail
- unable to open tag database
tagErrorOperationFailed
– the operation failed. The error message will contain a the error code and a text description
tagErrorParentNotFound -
the parent object does not exist
tagErrorPropertyNotSupported
– the requested tag property is not supported by the tag or the server
tagErrorReadOnlyAcces
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 database
tagErrorReadTagDBInfoFail -
unable to read tag database information
tagErrorReadValue
– unable to read a tag value because of a server error
tagErrorStrInitValTooLong
- the initial value of a string tag is too long
tagErrorStringInvalidInitVal
- the initial value of a string tag is not valid
tagErrorStringInvalidLen -
the length of a string tag is not valid
tagErrorTagAlreadyExist
- unable to add the tag because a tag with the same name already exists
tagErrorTagDescTooLong -
the description of the tag is too long
tagErrorTagNameTooLong
- the name of the tag is too long
tagErrorTagNameTooShort -
the name of the tag is too short
tagErrorTagNotFound
– unable to add the tag to the collection because the tag name was not found
tagErrorTransactionFailed
- unable to finish the transaction
tagErrorUnableToCreateGroup
– the specified tag group could not be created
tagErrorUnableToGetTagDB
- Unable to get the tag database
tagErrorUpdateRate
– invalid (i.e., negative) update rate specified
tagErrorWriteTagCfgFailed -
unable to write the tag configuration to the database
tagErrorWriteValue
– unable to write a tag value because of a server error
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal