Error Codes

 

Many of the PIPLX.DLL and PICMLX.DLL functions return a numeric error code that indicates success or failure of the function call

 

Note:

For Visual Basic, corresponding global constants are provided in PILPXI.BAS and PICMLX.BAS

For Visual C++, corresponding enumerated constants are provided in PILPXI.H and PICMLX.H

 

Error codes are as follows:

 

PIPLX
0NO_ERRSuccess, no error
1ER_NO_CARDNo Pickering card has the specified number
2ER_NO_INFOCard information unobtainable - hardware problem
3ER_CARD_DISABLEDSpecified card is disabled
4ER_BAD_SUBSub-unit value out of range for target card
5ER_BAD_BITBit number out of range for target card
6ER_NO_CAL_DATATarget sub-unit has no calibration data to read/write
7ER_BAD_ARRAY"SafeArray type, shape or size in incorrect"
8ER_MUX_ILLEGALNon zero write data value is illegal for MUX sub-unit
9ER_EXCESS_CLOSUREExecution would cause closure limit to be exceeded
10ER_ILLEGAL_MASKOne or more of the specified channels can not be masked
11ER_OUTPUT_MASKEDCan not activate an output that is masked
12ER_BAD_LOCATIONCan not open a Pickering card at the specified location
13ER_READ_FAILFailed read from hardware
14ER_WRITE_FAILFailed write to hardware
15ER_DRIVER_OPHardware driver failure
16ER_DRIVER_VERSIONIncompatible hardware driver version
17ER_SUB_TYPEFunction call incompatible with sub-unit type or capabilities
18ER_BAD_ROWMatrix row value out of range
19ER_BAD_COLUMNMatrix column value out of range
20ER_BAD_ATTENAttenuation value out of range
21ER_BAD_VOLTAGEVoltage value out of range
22ER_BAD_CAL_INDEXCalibration reference out of range
23ER_BAD_SEGMENTSegment number out of range
24ER_BAD_FUNC_CODEFunction code value out of range
25ER_BAD_SUBSWITCHSubswitch value out of range
26ER_BAD_ACTIONAction code out of range
27ER_STATE_CORRUPTCannot execute due to corrupt sub-unit state
28ER_BAD_ATTR_CODEUnrecognized attribute code
29ER_EEPROM_WRITE_TMOTimeout writing to EEPROM
30ER_ILLEGAL_OPOperation is illegal in the sub-unit's current state
31ER_BAD_POTUnrecognized pot number
32ER_MATRIXR_ILLEGALInvalid write pattern for MATRIX sub-unit
33ER_MISSING_CHANNELAttempted operation on non-existent channel
34ER_CARD_INACCESSIBLECard can not be accessed (failed/removed/unpowered)
35ER_BAD_FP_FORMATUnsupported internal floating-point format (internal error)
36ER_UNCALIBRATEDSub-unit is not calibrated
37ER_BAD_RESISTANCEUnobtainable resistance value
38ER_BAD_STOREInvalid calibration store number
39ER_BAD_MODEInvalid mode value
40ER_SETTINGS_CONFLICTConflicting device settings
8194ER_PIPLX_FUNC_NOT_LOADEDDesired function not loaded from pilpxi.dll library
8195ER_PIPLX_NOT_CONNECTEDYou are not connected to remote host
8196ER_PIPLX_FUNC_NOT_LOCALFunction not supported on localhost
PICMLX
4096ER_PICMLX_BASEDeprecated
4097ER_PICMLX_CLI_NOT_INITDeprecated
4098ER_PICMLX_CLI_INVALID_SESSIONClient: Invalid session ID
4099ER_PICMLX_CLI_HOST_UNAVAILABLEClient: Destination host is unavailable
4100ER_PICMLX_CLI_ECHOB_SERVERDeprecated
4101ER_PICMLX_CLI_ECHOB_SENDDeprecated
4102ER_PICMLX_CLI_ECHOB_OPTIONDeprecated
4103ER_PICMLX_CLI_ECHOB_CREATEDeprecated
4104ER_PICMLX_CLI_ECHOD_DATADeprecated
4105ER_PICMLX_CLI_ECHOD_RECVDeprecated
4106ER_PICMLX_CLI_ECHOD_CREATEDeprecated
4107ER_PICMLX_CLI_ECHOD_HOSTDeprecated
4108ER_PICMLX_CLI_SESSIONDeprecated
4109ER_PICMLX_CLI_CONNECTClient: Can't connect to device
4110ER_PICMLX_CLI_RECV_FAILEDClient: Can't receive data
4111ER_PICMLX_CLI_RECV_DATAClient: Received corrputed data
4112ER_PICMLX_CLI_SEND_FAILEDClient: Can't send data
4113ER_PICMLX_CLI_FUNC_NOT_LOCALClient: Function is not supported on local system
4114ER_PICMLX_CLI_NOT_CONNECTEDClient: Session isn't connected to the device
4115ER_PICMLX_CLI_PARAM_SIZEClient: Parameter is NULL or size invalid
Server Side
4116ER_PICMLX_SRV_INVALID_FIDServer: Invalid function ID
4117ER_PICMLX_SRV_RPC_DATAServer: RPC data corrupt
4118ER_PICMLX_SRV_INVALID_CARDIDServer: Invalid card ID
4119ER_PICMLX_SRV_INVALID_ADDRESSServer: Address of card is invalid
4120ER_PICMLX_SRV_OPEN_CARDServer: The card is in use
4121ER_PICMLX_SRV_ACCESS_DENIEDServer: You haven't any rights to the card(s)
4122ER_PICMLX_SRV_NOT_SUPPORTEDServer: Function is not supported by this LXI device
4123ER_PICMLX_SRV_DEVICE_INFOServer: Information about LXI device is not obtainable
4124ER_PICMLX_SRV_OUT_OF_RESOURCESServer: Out of resources
4125ER_PICMLX_SRV_DATA_LENGTHServer: Required length of data is wrong
4126ER_PICMLX_SRV_CARD_TYPEServer: LXI device has no card of this type
4127ER_PICMLX_SRV_FUNC_NOT_IMPLServer: Function is not implemented or it is reserved
4128ER_PICMLX_SRV_CARD_USED_BYCLIServer: The card is already used by the client
4129ER_PICMLX_SRV_UNDEFINEDServer: Undefined error
4130ER_PICMLX_SRV_WAIT_TIMEOUTServer: Wait timeout expired
4131ER_PICMLX_SRV_DEVICE_LOCKEDServer: Device is locked - another client has exclusive access
4132ER_PICMLX_CLI_BONJOUR_FAILEDDeprecated
Client Side
4133ER_PICMLX_CLI_BEGINTRANSClient: Transmission wasn't initiated. First call PICMLX_BeginTransmission!
4134ER_PICMLX_CLI_ENDTRANSClient: Previous transmission wasn't ended. Call PICMLX_EndTransmission first!
4135ER_PICMLX_CLI_INVALID_INDEXClient: Invalid list item index
4136ER_PICMLX_CLI_DIRECTECHO_FAILEDClient: Direct discovery function failed
4137ER_PICMLX_CLI_BROADCASTECHO_FAILEDClient: Broadcast discovery function failed
Additional PIPLX Errors
8194ER_PIPLX_FUNC_NOT_LOADEDDesired function not loaded from pilpxi.dll library
8195ER_PIPLX_NOT_CONNECTEDYou are not connected to remote host
8196ER_PIPLX_FUNC_NOT_LOCALFunction not supported on localhost
PIPSLX Errors
12289ER_PIPSLX_INVALID_SESSIONNo longer used - now ER_PICMLX_INVALID_SESSION
12290ER_PIPSLX_FUNC_NOT_LOCALFunction not supported on local host
12291ER_PIPSLX_NOT_CONNECTEDNot connected to remote host
12292ER_PIPSLX_NOT_INITLibrary not initialized
12293ER_PIPSLX_SWITCH_FAULTSwitch fault
12294ER_PIPSLX_BAD_FORMAT_DATAData or command format bad
12295ER_PIPSLX_UNKNOWN_CMDUnknown command
12296ER_PIPSLX_BUSYDevice busy
12297ER_PIPSLX_SEQUPINPROGRESSUp sequence in progress
12298ER_PIPSLX_SEQDOWNINPROGRESSDown sequence in progress
12299ER_PIPSLX_CHANTESTINPROGRESSChannel test running
12300ER_PIPSLX_EMERGENCYSTOPEmergency stop button engaged
12301ER_PIPSLX_PARAM_SIZEParameter is NULL or invalid size