5000 series error codes in FT4222 Library

Most of the error code from FTDI library is generated from actual LibFT4222 driver DLL. Below table explains the error code equivalent match between those. Refer below docs for more details from FTDI. An_329_user_guide_for_libft4222D2XX_Programmer's_Guide(FT_000071) FT4222 LabVIEW Error CodesError Description (Equivalent to LibFT4222 DLL)5100FT_OK5101FT_INVALID_HANDLE5102FT_DEVICE_NOT_FOUND5103FT_DEVICE_NOT_OPENED5104FT_IO_ERROR5105FT_INSUFFICIENT_RESOURCES5106FT_INVALID_PARAMETER5107FT_INVALID_BAUD_RATE5108FT_DEVICE_NOT_OPENED_FOR_ERASE5109FT_DEVICE_NOT_OPENED_FOR_WRITE5110FT_FAILED_TO_WRITE_DEVICE5111FT_EEPROM_READ_FAILED5112FT_EEPROM_WRITE_FAILED5113FT_EEPROM_ERASE_FAILED5114FT_EEPROM_NOT_PRESENT5115FT_EEPROM_NOT_PROGRAMMED5116FT_INVALID_ARGS5117FT_NOT_SUPPORTED5118FT_OTHER_ERROR5120FT4222_DEVICE_NOT_SUPPORTED5121FT4222_CLK_NOT_SUPPORTED // spi master do not support 80MHz/CLK_25122FT4222_VENDER_CMD_NOT_SUPPORTED5123FT4222_IS_NOT_SPI_MODE5124FT4222_IS_NOT_I2C_MODE5125FT4222_IS_NOT_SPI_SINGLE_MODE5126FT4222_IS_NOT_SPI_MULTI_MODE5127FT4222_WRONG_I2C_ADDR5128FT4222_INVAILD_FUNCTION5129FT4222_INVALID_POINTER5130FT4222_EXCEEDED_MAX_TRANSFER_SIZE5131FT4222_FAILED_TO_READ_DEVICE5132FT4222_I2C_NOT_SUPPORTED_IN_THIS_MODE5133FT4222_GPIO_NOT_SUPPORTED_IN_THIS_MODE5134FT4222_GPIO_EXCEEDED_MAX_PORTNUM5135FT4222_GPIO_WRITE_NOT_SUPPORTED5136FT4222_GPIO_PULLUP_INVALID_IN_INPUTMODE5137FT4222_GPIO_PULLDOWN_INVALID_IN_INPUTMODE5138FT4222_GPIO_OPENDRAIN_INVALID_IN_OUTPUTMODE5139FT4222_INTERRUPT_NOT_SUPPORTED5140FT4222_GPIO_INPUT_NOT_SUPPORTED5141FT4222_EVENT_NOT_SUPPORTED5142FT4222_FUN_NOT_SUPPORTLabVIEW Error codes equivalent of LibFT4222 DLL
Read More