- Overview
ActiveX Component Reference
- Getting Started
FTSPCControl Class
- FTSPCControl Class description
Methods
- Close Method
- Open Method
- SetSettingsFromString Method
- EnumSerialPorts Method
- GetSerialPort Method
- GetSerialPortDescription Method
- Read Method
- ReadArray Method
- ReadArrayOverlapped Method
- ReadOverlapped Method
- Write Method
- WriteArray Method
- WriteArrayOverlapped Method
- WriteOverlapped Method
- CancelIO Method
- Flush Method
- GetLastError Method
- PurgeQueue Method
- SetBreak Method
Properties
- BaudRate Property
- DataBits Property
- FlowControl Property
- Parity Property
- PortName Property
- StopBits Property
- Cts Property
- Dcd Property
- Dsr Property
- Dtr Property
- Ring Property
- Rts Property
- ReadIntervalTimeout Property
- ReadTotalTimeoutConstant Property
- ReadTotalTimeoutMultiplier Property
- WriteTotalTimeoutConstant Property
- WriteTotalTimeoutMultiplier Property
- EofChar Property
- ErrorChar Property
- EventChar Property
- XoffChar Property
- XonChar Property
- AutoOpen Property
- DiscardNull Property
- InQUsedBytes Property
- IsOpened Property
- RxThreshold Property
FTSPCOverlapped Class
.NET Component Reference
- Getting Started
FTSPCControl Class
- FTSPCControl Class description
Methods
- Close Method
- Open Method
- SetSettingsFromString Method
- EnumSerialPorts Method
- GetSerialPort Method
- GetSerialPortDescription Method
- Read Method
- ReadArray Method
- ReadArrayOverlapped Method
- ReadOverlapped Method
- Write Method
- WriteArray Method
- WriteArrayOverlapped Method
- WriteOverlapped Method
- CancelIO Method
- Flush Method
- PurgeQueue Method
- SetBreak Method
Properties
- BaudRate Property
- DataBits Property
- FlowControl Property
- Parity Property
- PortName Property
- StopBits Property
- Cts Property
- Dcd Property
- Dsr Property
- Dtr Property
- Ring Property
- Rts Property
- ReadIntervalTimeout Property
- ReadTotalTimeoutConstant Property
- ReadTotalTimeoutMultiplier Property
- WriteTotalTimeoutConstant Property
- WriteTotalTimeoutMultiplier Property
- EofChar Property
- ErrorChar Property
- EventChar Property
- XoffChar Property
- XonChar Property
- AutoOpen Property
- DiscardNull Property
- InQUsedBytes Property
- IsOpened Property
- RxThreshold Property
FTSPCOverlapped Class
FTSPCException Class
Borland Component Reference
- Getting Started
FTSPCControl Class
- FTSPCControl Class description
Methods
- Close Method
- Open Method
- SetSettingsFromString Method
- EnumSerialPorts Method
- GetSerialPort Method
- GetSerialPortDescription Method
- Read Method
- ReadArray Method
- ReadArrayOverlapped Method
- ReadOverlapped Method
- Write Method
- WriteArray Method
- WriteArrayOverlapped Method
- WriteOverlapped Method
- CancelIO Method
- Flush Method
- PurgeQueue Method
- SetBreak Method
Properties
- BaudRate Property
- DataBits Property
- FlowControl Property
- Parity Property
- PortName Property
- StopBits Property
- Cts Property
- Dcd Property
- Dsr Property
- Dtr Property
- Ring Property
- Rts Property
- ReadIntervalTimeout Property
- ReadTotalTimeoutConstant Property
- ReadTotalTimeoutMultiplier Property
- WriteTotalTimeoutConstant Property
- WriteTotalTimeoutMultiplier Property
- EofChar Property
- ErrorChar Property
- EventChar Property
- XoffChar Property
- XonChar Property
- AutoOpen Property
- DiscardNull Property
- InQUsedBytes Property
- IsOpened Property
- RxThreshold Property
FTSPCOverlapped Class
FTSPCException Class
Read data
void CSPCDemoDlg::OnReceiveFtspccontrol1(unsigned long Count) { CHAR *Buffer = new CHAR[Count]; LONG ReadCnt; try { ReadCnt = m_SPCControl1.Read((LONG)Buffer, Count); } catch (COleDispatchException* E) { MessageBox(E->m_strDescription, mbCaption, MB_OK | MB_ICONERROR); } for (int i = 0; i < ReadCnt; i++) { PCHAR P = (PCHAR)Buffer + i; // Todo: add your code } }