Difference between revisions of "Component: FTDI (FTD2XX) (Third Party)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_ftd2xx_232.fcsx FC_Comp_Source_ftd2xx_232.fcsx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_ftd2xx_232.fcsx FC_Comp_Source_ftd2xx_232.fcsx] |
==Detailed description== | ==Detailed description== | ||
Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Latest revision as of 13:13, 7 February 2023
Author | Matrix Ltd |
Version | 1.0 |
Category | Third Party |
Contents
- 1 FTDI (FTD2XX) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 FT_Close
- 5.2 FT_ClrDtr
- 5.3 FT_ClrRts
- 5.4 FT_CreateDeviceInfoList
- 5.5 FT_GetDeviceInfoDetail
- 5.6 FT_GetModemStatus
- 5.7 FT_GetQueueStatus
- 5.8 FT_GetStatus
- 5.9 FT_Open
- 5.10 FT_Purge
- 5.11 FT_Read
- 5.12 FT_ResetDevice
- 5.13 FT_SetBaudRate
- 5.14 FT_SetBitMode
- 5.15 FT_SetBreakOff
- 5.16 FT_SetBreakOn
- 5.17 FT_SetChars
- 5.18 FT_SetDataCharacteristics
- 5.19 FT_SetDivisor
- 5.20 FT_SetDtr
- 5.21 FT_SetFlowControl
- 5.22 FT_SetRts
- 5.23 FT_SetTimeouts
- 5.24 FT_Write
- 5.25 ScanFor232
- 6 Property reference
FTDI (FTD2XX) component
Simulation only interface to allow communications with a FTDI USB 232 IC connected to the system. For more details refer to the D2XX_Programmers_Guide from FTDI.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ftd2xx_232.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_ftd2xx_232.fcsx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
FT_Close
![]() |
FT_Close |
Close an open device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_ClrDtr
![]() |
FT_ClrDtr |
This function clears the Data Terminal Ready (DTR) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_ClrRts
![]() |
FT_ClrRts |
This function clears the Request To Send (RTS) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_CreateDeviceInfoList
FT_GetDeviceInfoDetail
FT_GetModemStatus
FT_GetQueueStatus
FT_GetStatus
FT_Open
FT_Purge
![]() |
FT_Purge |
This function purges receive and transmit buffers in the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Mask |
Used to determine which buffer to purge, 1=Rx / 2=Tx / 3=Both | |
![]() |
Return |
FT_Read
FT_ResetDevice
![]() |
FT_ResetDevice |
This function sends a reset command to the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_SetBaudRate
![]() |
FT_SetBaudRate |
This function sets the baud rate for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
BaudRate |
Baud rate. | |
![]() |
Return |
FT_SetBitMode
FT_SetBreakOff
![]() |
FT_SetBreakOff |
Resets the BREAK condition for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_SetBreakOn
![]() |
FT_SetBreakOn |
Sets the BREAK condition for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_SetChars
FT_SetDataCharacteristics
FT_SetDivisor
![]() |
FT_SetDivisor |
This function sets the baud rate for the device. It is used to set non-standard baud rates. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Divisor |
Divisor. | |
![]() |
Return |
FT_SetDtr
![]() |
FT_SetDtr |
This function sets the Data Terminal Ready (DTR) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_SetFlowControl
FT_SetRts
![]() |
FT_SetRts |
This function sets the Request To Send (RTS) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
FT_SetTimeouts
FT_Write
ScanFor232
![]() |
ScanFor232 |
Scans for a FTDI D2XX device, returnes true if at least one device was found. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Label |
A text label for the component's panel component. |