Difference between revisions of "Component: FTDI (FTD2XX) (Third Party)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
==FTDI (FTD2XX) component== | ==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. | 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 Pack== | ||
+ | |||
+ | COMMSA | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 26: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 47: | Line 63: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
| colspan="2" | Handle of the device. | | colspan="2" | Handle of the device. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | RxQueueLength | | width="90%" | RxQueueLength | ||
|- | |- | ||
| colspan="2" | Pointer to a variable of type DWORD which receives the number of characters in the receive queue. | | colspan="2" | Pointer to a variable of type DWORD which receives the number of characters in the receive queue. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | TxQueueLength | | width="90%" | TxQueueLength | ||
|- | |- | ||
| colspan="2" | Pointer to a variable of type DWORD which receives the number of characters in the transmit queue. | | colspan="2" | Pointer to a variable of type DWORD which receives the number of characters in the transmit queue. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | EventStatus | | width="90%" | EventStatus | ||
|- | |- | ||
Line 80: | Line 96: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 98: | Line 114: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 131: | Line 147: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 164: | Line 180: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 197: | Line 213: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
| colspan="2" | Handle of the device. | | colspan="2" | Handle of the device. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | ModemStatus | | width="90%" | ModemStatus | ||
|- | |- | ||
Line 220: | Line 236: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 238: | Line 254: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | DevCount | | width="90%" | DevCount | ||
|- | |- | ||
Line 256: | Line 272: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
| colspan="2" | Handle of the device. | | colspan="2" | Handle of the device. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | ReadTimeout | | width="90%" | ReadTimeout | ||
|- | |- | ||
| colspan="2" | Read timeout in milliseconds. | | colspan="2" | Read timeout in milliseconds. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | WriteTimeout | | width="90%" | WriteTimeout | ||
|- | |- | ||
Line 284: | Line 300: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 312: | Line 328: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 365: | Line 381: | ||
| colspan="2" | Pointer to buffer to store device description as a null-terminated string | | colspan="2" | Pointer to buffer to store device description as a null-terminated string | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | TempHandle | | width="90%" | TempHandle | ||
|- | |- | ||
Line 383: | Line 399: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 401: | Line 417: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 419: | Line 435: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
| colspan="2" | Handle of the device. | | colspan="2" | Handle of the device. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Mask | | width="90%" | Mask | ||
|- | |- | ||
Line 442: | Line 458: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
| colspan="2" | Handle of the device. | | colspan="2" | Handle of the device. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | RxQueueLength | | width="90%" | RxQueueLength | ||
|- | |- | ||
Line 465: | Line 481: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 498: | Line 514: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 516: | Line 532: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 539: | Line 555: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 562: | Line 578: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 585: | Line 601: | ||
| colspan="2" | Index of the device to open. Indices are 0 based. | | colspan="2" | Index of the device to open. Indices are 0 based. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | ft_Handle | | width="90%" | ft_Handle | ||
|- | |- | ||
Line 616: | Line 632: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 634: | Line 650: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Handle | | width="90%" | Handle | ||
|- | |- | ||
Line 678: | Line 694: | ||
|- | |- | ||
| colspan="2" | A text label for the component's panel component. | | colspan="2" | A text label for the component's panel component. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 17:26, 9 November 2022
Author | Matrix Ltd |
Version | 1.0 |
Category | Third Party |
Contents
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 Pack
COMMSA
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
FT_ClrRts |
This function clears the Request To Send (RTS) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
FT_SetBreakOn |
Sets the BREAK condition for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
FT_SetRts |
This function sets the Request To Send (RTS) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
FT_Close |
Close an open device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
FT_ClrDtr |
This function clears the Data Terminal Ready (DTR) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
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_SetBreakOff |
Resets the BREAK condition for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
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 |
This function sets the baud rate for the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
BaudRate |
Baud rate. | |
![]() |
Return |
![]() |
FT_SetDtr |
This function sets the Data Terminal Ready (DTR) control signal. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
![]() |
ScanFor232 |
Scans for a FTDI D2XX device, returnes true if at least one device was found. | |
![]() |
Return |
![]() |
FT_ResetDevice |
This function sends a reset command to the device. | |
![]() |
Handle |
Handle of the device. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Label |
A text label for the component's panel component. |