How Can We Help?

Categories

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.

FT4222 LabVIEW Error CodesError Description (Equivalent to LibFT4222 DLL)
5100FT_OK
5101FT_INVALID_HANDLE
5102FT_DEVICE_NOT_FOUND
5103FT_DEVICE_NOT_OPENED
5104FT_IO_ERROR
5105FT_INSUFFICIENT_RESOURCES
5106FT_INVALID_PARAMETER
5107FT_INVALID_BAUD_RATE
5108FT_DEVICE_NOT_OPENED_FOR_ERASE
5109FT_DEVICE_NOT_OPENED_FOR_WRITE
5110FT_FAILED_TO_WRITE_DEVICE
5111FT_EEPROM_READ_FAILED
5112FT_EEPROM_WRITE_FAILED
5113FT_EEPROM_ERASE_FAILED
5114FT_EEPROM_NOT_PRESENT
5115FT_EEPROM_NOT_PROGRAMMED
5116FT_INVALID_ARGS
5117FT_NOT_SUPPORTED
5118FT_OTHER_ERROR
5120FT4222_DEVICE_NOT_SUPPORTED
5121FT4222_CLK_NOT_SUPPORTED // spi master do not support 80MHz/CLK_2
5122FT4222_VENDER_CMD_NOT_SUPPORTED
5123FT4222_IS_NOT_SPI_MODE
5124FT4222_IS_NOT_I2C_MODE
5125FT4222_IS_NOT_SPI_SINGLE_MODE
5126FT4222_IS_NOT_SPI_MULTI_MODE
5127FT4222_WRONG_I2C_ADDR
5128FT4222_INVAILD_FUNCTION
5129FT4222_INVALID_POINTER
5130FT4222_EXCEEDED_MAX_TRANSFER_SIZE
5131FT4222_FAILED_TO_READ_DEVICE
5132FT4222_I2C_NOT_SUPPORTED_IN_THIS_MODE
5133FT4222_GPIO_NOT_SUPPORTED_IN_THIS_MODE
5134FT4222_GPIO_EXCEEDED_MAX_PORTNUM
5135FT4222_GPIO_WRITE_NOT_SUPPORTED
5136FT4222_GPIO_PULLUP_INVALID_IN_INPUTMODE
5137FT4222_GPIO_PULLDOWN_INVALID_IN_INPUTMODE
5138FT4222_GPIO_OPENDRAIN_INVALID_IN_OUTPUTMODE
5139FT4222_INTERRUPT_NOT_SUPPORTED
5140FT4222_GPIO_INPUT_NOT_SUPPORTED
5141FT4222_EVENT_NOT_SUPPORTED
5142FT4222_FUN_NOT_SUPPORT
LabVIEW Error codes equivalent of LibFT4222 DLL

Leave a Reply

Your email address will not be published. Required fields are marked *