Debugging |
Using the Visual Studio debugger for a FlexPendant SDK application presents no difference compared to standard .NET development. Debugging can be done using the virtual IRC5 in RobotStudio or a real controller.
Exception error codesSome exceptions that may appear during development have error codes associated with them. The error codes may help you correct the problem.
Code | Description |
---|---|
0x80040401 | The requested poll level could not be met, poll level low is used. |
0x80040402 | The requested poll level could not be met, poll level medium is used. |
0xC0040401 | No connection with controller. |
0xC0040402 | Error connecting to controller. |
0xC0040403 | No response from controller. |
0xC0040404 | Message queue full. (Should only happen if asynchronous calls are made.) |
0xC0040405 | Waiting for a resource. |
0xC0040406 | The message sent is too large to handle. |
0xC0040408 | A string does not contain characters exclusively from a supported encoding, for example ISO-8859-1 (ISO-Latin1). |
0xC0040409 | The resource can not be released since it is in use. |
0xC0040410 | The client is already logged on as a controller user. |
0xC0040411 | The controller was not present in NetScan. |
0xC0040412 | The NetScanID is no longer in use. Controller removed from list. |
0xC0040413 | The client id is not associated with a controller user. Returned only by methods that need to check this before sending request to controller. Otherwise, see 0xC004840F. |
0xC0040414 | The RobotWare version is later than the installed Robot Communication Runtime. A newer Robot Communication Runtime needs to be installed. Returned by RobHelperFactory. |
0xC0040415 | The major and minor part of the RobotWare version is known, but the revision is later and not fully compatible. A newer Robot Communication Runtime needs to be installed. Code returned by RobHelperFactory. |
0xC0040416 | The RobotWare version is no longer supported. Code returned by RobHelperFactory. |
0xC0040417 | The helper type is not supported by the RobotWare. Helper might be obsolete or for later RobotWare versions, or the helper may not be supported by a BootLevel controller. Code returned by RobHelperFactory. |
0xC0040418 | System id and network id mismatch, they do not identify the same controller. |
0xC0040601 | Call was made by other client than the one that made the Connect() call. |
0xC0040602 | File not found on the local file system. Can be that file, directory or device does not exist. |
0xC0040603 | File not found on the remote file system. Can be that file, directory or device does not exist. |
0xC0040604 | Error when accessing/creating file on the local file system. |
0xC0040605 | Error when accessing/creating file on the remote file system. |
0xC0040606 | The path or filename is too long or otherwise bad for the VxWorks file system. |
0xC0040607 | The file transfer was interrupted. When transferring to remote system, the cause may be that the remote device is full. |
0xC0040608 | The local device is full. |
0xC0040609 | Client already has a connection and can not make a new connection until the present one is disconnected. |
0xC0040701 | One or more files in the release directory is corrupt and cannot be used when launching a VC. |
0xC0040702 | One or more files in the system directory is corrupt and cannot be used when launching a VC. |
0xC0040703 | A VC for this system has already been started; only one VC per system is allowed. |
0xC0040704 | Could not warm start VC since it must be cold started first. |
0xC0040705 | The requested operation failed since VC ownership is not held or could not be obtained. |
0xC0048401 | Out of memory. |
0xC0048402 | Not yet implemented. |
0xC0048403 | The service is not supported in this version of the controller. |
0xC0048404 | Operation not allowed on active system. |
0xC0048405 | The data requested does not exist. |
0xC0048406 | The directory does not contain all required data to complete the operation. |
0xC0048407 | Operation rejected by the controller safety access restriction mechanism. |
0xC0048408 | The resource is not held by caller. |
0xC0048409 | An argument specified by the client is not valid for this type of operation. |
0xC004840A | Mismatch in controller id between backup and current system. |
0xC004840B | Mismatch in key id, that is, options, languages and so on. between backup and current system. |
0xC004840C | Mismatch in robot type between backup and current system. |
0xC004840D | Client not allowed to log on as local user. |
0xC004840F | The client is not logged on as a controller user. |
0xC0048410 | The requested resource is already held by caller |
0xC0048411 | The max number of the requested resources has been reached. |
0xC0048412 | No request active for the given user. |
0xC0048413 | Operation/request timed out on controller. |
0xC0048414 | No local user is logged on. |
0xC0048415 | The operation was not allowed for the given user. |
0xC0048416 | The URL used to initialize the helper does not resolve to a valid object. |
0xC0048417 | The amount of data is too large to fulfill the request. |
0xC0048418 | Controller is busy. Try again later. |
0xC0048419 | The request was denied. |
0xC004841A | Requested resource is held by someone else. |
0xC004841B | Requested feature is disabled. |
0xC004841C | The operation is not allowed in current operation mode. For example, a remote user may not be allowed to perform the operation in manual mode. |
0xC004841D | The user does not have required mastership for the operation. |
0xC004841E | Operation not allowed while backup in progress. |
0xC004841F | Operation not allowed when tasks are in synchronized state. |
0xC0048420 | Operation not allowed when task is not active in task selection panel. |
0xC0048421 | Mismatch in controller id between backup and current system. |
0xC0048422 | Mismatch in controller id between backup and current. |
0xC0048423 | Invalid client id. |
0xC0049000 | RAPID symbol was not found. |
0xC0049001 | The given source position is illegal for the operation. |
0xC0049002 | The given file was not recognized as a program file, for example the XML semantics may be incorrect. |
0xC0049003 | Ambiguous module name. |
0xC0049004 | The RAPID program name is not set. |
0xC0049005 | Module is read protected. |
0xC0049006 | Module is write protected. |
0xC0049007 | Operation is illegal in current execution state. |
0xC0049008 | Operation is illegal in current task state. |
0xC0049009 | The robot is not on path and is unable to restart. Regain to or clear path. |
0xC004900A | Operation is illegal at current execution level. |
0xC004900B | Operation can not be performed without destroying the current execution context. |
0xC004900C | The RAPID heap memory is full. |
0xC004900D | Operation not allowed due to syntax error(s). |
0xC004900E | Operation not allowed due to semantic error(s). |
0xC004900F | Given routine is not a legal entry point. Possible reasons are: routine is a function, or routine has parameters. |
0xC0049010 | Illegal to move PCP to given place. |
0xC0049011 | Max number of rob targets exceeded. |
0xC0049012 | Object is not mod possible. Possible reasons are: object is a variable, object is a parameter, object is an array. |
0xC0049013 | Operation not allowed with displacement active. |
0xC0049014 | The robot is not on path and is unable to restart. Regain to path. Clear is not allowed. |
0xC0049015 | Previously planned path remains. Choose to either consume the path, which means the initial movement might be in an unexpected direction, or to clear the path and move directly to next target. |
0xC004A000 | General file handling error. |
0xC004A001 | The device is full. |
0xC004A002 | Wrong disk. Change disk and try again. |
0xC004A003 | The device is not ready. |
0xC004A004 | Invalid path. |
0xC004A005 | Not a valid device. |
0xC004A006 | Unable to create directory. |
0xC004A007 | The directory does not exist. |
0xC004A008 | The directory already exists. |
0xC004A009 | The directory contains data. |
0xC004A00B | Unable to create file. |
0xC004A00C | File not found or could not be opened for reading. |
0xC004A200 | Disable of unit not allowed at trustlevel 0. |