Difference between revisions of "Component: FTDI (FTD2XX) (Third Party)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 83: | Line 85: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===FT_GetStatus=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 116: | Line 119: | ||
| + | ===FT_ClrRts=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 134: | Line 138: | ||
| + | ===FT_Write=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 167: | Line 172: | ||
| + | ===FT_Read=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 200: | Line 206: | ||
| + | ===FT_SetFlowControl=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 233: | Line 240: | ||
| + | ===FT_GetModemStatus=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 256: | Line 264: | ||
| + | ===FT_SetBreakOn=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 274: | Line 283: | ||
| + | ===FT_CreateDeviceInfoList=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 292: | Line 302: | ||
| + | ===FT_SetTimeouts=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 320: | Line 331: | ||
| + | ===FT_SetBitMode=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 348: | Line 360: | ||
| + | ===FT_SetRts=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 366: | Line 379: | ||
| + | ===FT_GetDeviceInfoDetail=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 419: | Line 433: | ||
| + | ===FT_Close=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 437: | Line 452: | ||
| + | ===FT_ClrDtr=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 455: | Line 471: | ||
| + | ===FT_Purge=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 478: | Line 495: | ||
| + | ===FT_GetQueueStatus=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 501: | Line 519: | ||
| + | ===FT_SetDataCharacteristics=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 534: | Line 553: | ||
| + | ===FT_SetBreakOff=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 552: | Line 572: | ||
| + | ===FT_SetDivisor=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 575: | Line 596: | ||
| + | ===FT_SetBaudRate=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 598: | Line 620: | ||
| + | ===FT_SetDtr=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 616: | Line 639: | ||
| + | ===FT_Open=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 639: | Line 663: | ||
| + | ===ScanFor232=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 652: | Line 677: | ||
| + | ===FT_ResetDevice=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 670: | Line 696: | ||
| + | ===FT_SetChars=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:53, 3 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_GetStatus
- 5.2 FT_ClrRts
- 5.3 FT_Write
- 5.4 FT_Read
- 5.5 FT_SetFlowControl
- 5.6 FT_GetModemStatus
- 5.7 FT_SetBreakOn
- 5.8 FT_CreateDeviceInfoList
- 5.9 FT_SetTimeouts
- 5.10 FT_SetBitMode
- 5.11 FT_SetRts
- 5.12 FT_GetDeviceInfoDetail
- 5.13 FT_Close
- 5.14 FT_ClrDtr
- 5.15 FT_Purge
- 5.16 FT_GetQueueStatus
- 5.17 FT_SetDataCharacteristics
- 5.18 FT_SetBreakOff
- 5.19 FT_SetDivisor
- 5.20 FT_SetBaudRate
- 5.21 FT_SetDtr
- 5.22 FT_Open
- 5.23 ScanFor232
- 5.24 FT_ResetDevice
- 5.25 FT_SetChars
- 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_GetStatus
FT_ClrRts
| FT_ClrRts | |
| This function clears the Request To Send (RTS) control signal. | |
| Handle | |
| Handle of the device. | |
| Return | |
FT_Write
FT_Read
FT_SetFlowControl
FT_GetModemStatus
FT_SetBreakOn
| FT_SetBreakOn | |
| Sets the BREAK condition for the device. | |
| Handle | |
| Handle of the device. | |
| Return | |
FT_CreateDeviceInfoList
FT_SetTimeouts
FT_SetBitMode
FT_SetRts
| FT_SetRts | |
| This function sets the Request To Send (RTS) control signal. | |
| Handle | |
| Handle of the device. | |
| Return | |
FT_GetDeviceInfoDetail
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_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_GetQueueStatus
FT_SetDataCharacteristics
FT_SetBreakOff
| FT_SetBreakOff | |
| Resets the BREAK condition for the device. | |
| Handle | |
| Handle of the device. | |
| Return | |
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_SetBaudRate
| FT_SetBaudRate | |
| This function sets the baud rate for the device. | |
| Handle | |
| Handle of the device. | |
| BaudRate | |
| Baud rate. | |
| Return | |
FT_SetDtr
| FT_SetDtr | |
| This function sets the Data Terminal Ready (DTR) control signal. | |
| Handle | |
| Handle of the device. | |
| Return | |
FT_Open
ScanFor232
| ScanFor232 | |
| Scans for a FTDI D2XX device, returnes true if at least one device was found. | |
| Return | |
FT_ResetDevice
| FT_ResetDevice | |
| This function sends a reset command to the device. | |
| Handle | |
| Handle of the device. | |
| Return | |
FT_SetChars
Property reference
| Properties | |
| Label | |
| A text label for the component's panel component. | |