RMCLink C++ Wrapper Class

CRMCLink::enumRMCLINKERRORS Enumeration

These constants represent the values of the COM exceptions that can be thrown by the RMCLink COM component.

 

Member Name

Description

RMCLINK_E_ALREADYLOCKED = 0x800A03E9

Internal RMCLink locking error.

RMCLINK_E_DISCONNECTING = 0x800A03EA

Link is being disconnected by another thread.

RMCLINK_E_BADTYPE = 0x800A03EB

Invalid type passed in for write data.

RMCLINK_E_BADLEN = 0x800A03EC

Array length of write data does not match count parameter.

RMCLINK_E_DISCONNECTED = 0x800A03ED

The link has not been connected.

RMCLINK_E_ALREADY_CONN = 0x800A03EE

The link was already connected.

RMCLINK_E_ALREADY_DISC = 0x800A03EF

The link was already disconnected.

RMCLINK_E_SOCK_INTERNAL = 0x800A03F0

Internal socket error.

RMCLINK_E_SOCK_CONN_FAIL = 0x800A03F1

Unable to connect over TCP/IP to requested device.

RMCLINK_E_CANCELLED = 0x800A03F2

Operation cancelled by call to CancelRequest.

RMCLINK_E_TIMEOUT = 0x800A03F3

Operation timed out.

RMCLINK_E_SOCK_HOSTNAME_NOTIP = 0x800A03F4

Host name did not resolve to an IPv4 address.

RMCLINK_E_SOCK_HOSTNAME_FAIL = 0x800A03F5

Host name did not resolve.

RMCLINK_E_SOCK_GRACEFUL_CLOSE = 0x800A03F6

TCP/IP connection closed by remote device.

RMCLINK_E_SOCK_ERROR_RD = 0x800A03F7

Connection error while waiting for response from the remote device.

RMCLINK_E_SOCK_INV_RD_LEN = 0x800A03F8

Connection error while waiting for response from the remote device.

RMCLINK_E_SOCK_ERROR_WR = 0x800A03F9

Connection error while sending request to the remote device.

RMCLINK_E_SOCK_INV_WR_LEN = 0x800A03FA

Connection error while sending request to the remote device.

RMCLINK_E_PORT_ACCESS_DENIED = 0x800A03FB

Access to serial port denied. Verify not in use by another application.

RMCLINK_E_PORT_NOT_FOUND = 0x800A03FC

Serial port not found.

RMCLINK_E_CE_IOE = 0x800A03FD

Serial IOE error.

RMCLINK_E_CE_FRAME = 0x800A03FE

Serial framing error.

RMCLINK_E_CE_BREAK = 0x800A03FF

Serial Break error.

RMCLINK_E_CE_OVERRUN = 0x800A0400

Serial overrun.

RMCLINK_E_CE_RXOVER = 0x800A0401

Serial receive overrun.

RMCLINK_E_CE_RXPARITY = 0x800A0402

Serial parity error.

RMCLINK_E_CE_TXFULL = 0x800A0403

Serial transmitter full.

RMCLINK_E_CONN_BROKEN = 0x800A0404

Connection broken.

RMCLINK_E_PARTIAL_WRITE = 0x800A0405

Unable to send full request to the remote device.

RMCLINK_E_READ_ONLY = 0x800A0406

Attempt to write to read-only registers.

RMCLINK_E_PRIVATE_RANGE = 0x800A0407

Attempt to read/write from private registers.

RMCLINK_E_BAD_ADDRESS = 0x800A0408

Attempt to read beyond the end of a file.

RMCLINK_E_SOCK_HOSTNAME_INV = 0x800A0409

Invalid host name format.

RMCLINK_E_WRONG_CONTROLLER = 0x800A040A

Remote device is the wrong controller type.

RMCLINK_E_NOT_SUPPORTED = 0x800A040B

Operation not supported on this controller type.

RMCLINK_E_BLDIMG_TIMEOUT = 0x800A040C

Timeout waiting for image to be built.

RMCLINK_E_BLDIMG_ERROR = 0x800A040D

Controller unable to build image.

RMCLINK_E_BLDIMG_STATE = 0x800A040E

Unexpected state encountered while building image.

RMCLINK_E_UL_FAILED = 0x800A040F

Unable to upload completed image.

RMCLINK_E_DL_CANT_RESET = 0x800A0410

Unable to reset Image Area for download.

RMCLINK_E_DL_FAILED = 0x800A0411

Unable to download controller image.

RMCLINK_E_BAD_IMAGE = 0x800A0412

Image format is invalid.

RMCLINK_E_APPLY_TIMEOUT = 0x800A0413

Timeout applying downloaded image.

RMCLINK_E_APPLY_STATE = 0x800A0414

Unexpected state encountered while applying image.

RMCLINK_E_APPLY_RSTREQ = 0x800A0415

Image not applied because restart required.

RMCLINK_E_APPLY_FLASH = 0x800A0416

Error writing to flash memory while applying image.

RMCLINK_E_APPLY_NOTINRUN = 0x800A0417

Image cannot be applied without restart while in RUN mode.

RMCLINK_E_APPLY_WRONGHW = 0x800A0418

Image not applied because of hardware mismatch.

RMCLINK_E_USB_NO_DRIVERS = 0x800A0419

Unable to access RMC USB driver. Please ensure that the driver has been properly installed.

RMCLINK_E_USB_DEV_NOT_FOUND = 0x800A041A

The controller with the specified DeviceId was not found on any USB port.

RMCLINK_E_USB_SETTIMEOUT = 0x800A041B

Internal USB driver error.

RMCLINK_E_USB_TXRXCLEAR = 0x800A041C

Internal USB driver error.

RMCLINK_E_USB_OP_ABORT = 0x800A041D

Unsuccessful transfer of data between the PC and the controller. Ensure that the physical connection between the PC and controller is still intact.

RMCLINK_E_USB_DISCONNECT = 0x800A041E

The controller appears to have been disconnected from the USB port. Ensure that the physical connection between the PC and controller is still intact.

RMCLINK_E_USB_UNK_FAILURE = 0x800A041F

The requested RMC is plugged into a USB port, but cannot be accessed. Ensure that no other applications are using this RMC. If the problem persists, try unplugging and re-plugging the USB cable to this controller and retry.

RMCLINK_E_USB_IN_USE = 0x800A0420

The requested RMC is plugged into a USB port, but cannot be accessed. Ensure that no other applications are using this RMC. If the problem persists, try unplugging and re-plugging the USB cable to this controller and retry.

RMCLINK_E_USB_NO_SETUPAPI = 0x800A0421

Unable to access operating system functionality for connecting to USB devices.

RMCLINK_E_FILE_NOT_FOUND = 0x800A0422

Unable the find the specified file.

RMCLINK_E_PATH_NOT_FOUND = 0x800A0423

Unable the find the specified file path.

RMCLINK_E_ACCESS_DENIED = 0x800A0424

Access denied to the file or path.

RMCLINK_E_DRIVE_NOT_READY = 0x800A0425

Removable drive not ready.

RMCLINK_E_BLDIMG_NOT_ALLOWED = 0x800A0426

Controller unable to build upload image because copy protection is enabled.

 

See Also

CRMCLink Class | RMCLink C++ Wrapper Class


Send comments on this topic.

Copyright (c) 2024 Delta Computer Systems, Inc. dba Delta Motion