Alphabetical error summary

All Natural Access functions return a status code of SUCCESS (0) or an error code indicating that the function failed and the reason for the failure.

Switching service error codes are defined in the swidef.h include file. The error codes are prefixed with SWIERR.

The following table lists the Switching service errors. All errors are 32 bits.

Error name

Hex

Decimal

Description

SWIERR_CONNECTION_NOT_SUPPORTED

0x40011

262161

Switch block does not support the requested connection. A permanent limitation in the switch block prevents the connection.

SWIERR_DEVICE_ERROR

0x40002

262146

MVIP device driver encountered an error while using the services of another device driver.

SWIERR_DLL_INVALID_DEVICE

0x40001

262145

Dynamic link library (DLL) could not find the requested device.

SWIERR_INTERNAL_CONFLICT

0x40010

262160

Switch component of a switch matrix conflicts with another switch component (the state of the switch matrix is ambiguous).

SWIERR_INVALID_CLOCK_PARM

0x40007

262151

Value of a clock configuration parameter is invalid. Enter a valid value.

SWIERR_INVALID_COMMAND

0x40000

262144

Device driver does not support the requested operation.

SWIERR_INVALID_MINOR_SWITCH

0x4000B

262155

Value of the switch parameter is invalid.

SWIERR_INVALID_MODE

0x4000A

262154

Device driver does not support the setting of the mode of an output terminus to the mode specified (for example, swiMakeFramedConnection is not supported in all hardware or by MVIP-90 drivers).

Enter a valid mode. If you are using swiMakeFramedConnection on a board with the H.100 or H.110 bus, ensure that the statement SwitchConnectMode = AllConstantDelay is present in the board keyword file.

SWIERR_INVALID_PARAMETER

0x4000C

262156

Parameter needed by the called function is set to an invalid value. Enter a valid value.

SWIERR_INVALID_SPEED

0x40008

262152

Invalid stream speed capacity was entered. This functionality works only in MVIP-95. Enter one of the following acceptable speed values:

MVIP95_2MBPS_STREAM_SPEED

MVIP95_4MBPS_STREAM_SPEED

MVIP95_8MBPS_STREAM_SPEED

SWIERR_INVALID_STREAM

0x40004

262148

Value of stream in a terminus element is out of range. Enter a valid value for stream in the terminus element.

SWIERR_INVALID_TIMESLOT

0x40005

262149

Value of timeslot in a terminus element is out of range. Enter a valid value for timeslot in the terminus element.

SWIERR_MISSING_PARAMETER

0x40006

262150

Insufficient number of parameters were provided for the driver to complete the command.

SWIERR_MVIP_BUS_NOT_ENABLED

0x40012

262162

Switching command was called on a switch block on which the MVIP bus was not enabled.

CLOCKING.HBUS.CLOCKMODE = Master_A, Master_B, or Slave in the board keyword file for the switch block.

SWIERR_NO_PATH

0x4000E

262158

Device driver is unable to complete the connection because there is blocking or some other temporary switch limitation encountered.

SWIERR_NOT_CONFIGURABLE

0x40009

262153

Device does not support configuration of the requested parameters, values, or both.

SWIERR_SWITCH_VERIFY_ERROR

0x4000F

262159

Verification of the switch operation failed.

SWIERR_UNSUPPORTED_MODE

0x4000D

262157

Mode is not supported by either the device driver or the hardware below the driver.