736
Discussion - Software / Re: Would need to know more details about the FT_Write() function
« on: November 09, 2018, 04:34:06 pm »
Hello,
Please see the D2XX Programmer's Guide for all available information.
dwBytesToWrite is DWORD type. This is an unsigned, 32-bit unit of data. It can contain an integer value in the range 0 through 4,294,967,295.
FT_Write would return with an error code other than FT_OK if it's not completed successfully.
Error codes can be found in Appendix A - Type Definitions.
You may also want to set FT_SetTimeouts which sets the read and write timeouts for the device.
Please also take a look at AN232B-04 Data Throughput, Latency & Handshaking which provides additional useful information and applies to all our FTDI USB products.
Best Regards,
FTDI Community
Please see the D2XX Programmer's Guide for all available information.
dwBytesToWrite is DWORD type. This is an unsigned, 32-bit unit of data. It can contain an integer value in the range 0 through 4,294,967,295.
FT_Write would return with an error code other than FT_OK if it's not completed successfully.
Error codes can be found in Appendix A - Type Definitions.
You may also want to set FT_SetTimeouts which sets the read and write timeouts for the device.
Please also take a look at AN232B-04 Data Throughput, Latency & Handshaking which provides additional useful information and applies to all our FTDI USB products.
Best Regards,
FTDI Community