Functions
API Control | |
---|---|
FtVspcApiClose | Closes API and clears all data. You should call it once at the end of using the API. |
FtVspcApiInit | Initializes API. You should call it once at the beginning before using the API. |
FtVspcApplyKey | Apply a new license key. The previously applied key will be replaced with lpszLicenseKey. |
Port Enumeration | |
FtVspcEnumPhysical | Refreshes information about physical serial ports (or third-party virtual serial ports) and returns their number. |
FtVspcEnumVirtual | Refreshes information about virtual serial ports and returns their number. |
FtVspcGetPhysical | Retrieves the name of physical serial port by index. |
FtVspcGetPhysicalNum | Retrieves the number of physical serial port by index. |
FtVspcGetVirtual | Retrieves virtual serial port name by index. |
FtVspcGetVirtualNum | Retrieves virtual serial port number by index. |
Creating and Removing Ports | |
FtVspcCreatePort | Creates virtual serial port with non-standard name. |
FtVspcCreatePortEx | Creates virtual serial port with non-standard name and allows replacing the value of FriendlyName and CompanyName (indicated by the license key) with alternative values. |
FtVspcCreatePortByNum | Creates virtual serial port. |
FtVspcCreatePortOverlapped | Creates virtual serial port with non-standard name over existing COM port. |
FtVspcCreatePortOverlappedEx | Creates virtual serial port with non-standard name over existing COM port and allows replacing the value of FriendlyName and CompanyName (indicated by the license key) with alternative values. |
FtVspcCreatePortOverlappedByNum | Creates virtual serial port over existing COM port. |
FtVspcCreateTwinPort | Creates virtual serial port twin with non-standard name. |
FtVspcCreateTwinPortEx | Creates virtual serial port twin with non-standard name and allows replacing the value of FriendlyName and CompanyName (indicated by the license key) with alternative values. |
FtVspcCreateTwinPortByNum | Creates virtual serial port twin. |
FtVspcRemovePort | Removes a virtual serial port with non-standard name. |
FtVspcRemovePortByNum | Removes a virtual serial port. |
Attaching to the Port | |
FtVspcAttach | Attaches to virtual serial port with non-standard name. |
FtVspcAttachByNum | Attaches to virtual COM port. |
FtVspcDetach | Detaches from virtual serial port. |
Managing Port Properties | |
FtVspcGetPermanent | Retrieves value of Permanent flag for virtual serial port with non-standard name. |
FtVspcGetPermanentByNum | Retrieves value of Permanent flag. |
FtVspcGetPortType | Retrieves value of virtual serial port type with non-standard name. |
FtVspcGetPortTypeByNum | Retrieves value of virtual serial port type. |
FtVspcGetQueryOpen | Retrieves value of QueryOpen flag for virtual serial port with non-standard name. |
FtVspcGetQueryOpenByNum | Retrieves value of QueryOpen flag. |
FtVspcSetPermanent | Sets value of Permanent flag for virtual serial port with non-standard names. |
FtVspcSetPermanentByNum | Sets value of Permanent flag. |
FtVspcSetQueryOpen | Sets value of QueryOpen flag for virtual serial port with non-standard names. |
FtVspcSetQueryOpenByNum | Sets value of QueryOpen flag. |
Reading/Writing Data | |
FtVspcRead | Reads data from the port. |
FtVspcWrite | Writes data to the port. |
Managing Serial Port Signals | |
FtVspcGetBitrateEmulation | Retrieves the state of bitrate emulation flag. |
FtVspcGetBreak | Retrieves the state of Break error. |
FtVspcGetCts | Retrieves the state of CTS signal. |
FtVspcGetDcd | Retrieves the state of DCD signal. |
FtVspcGetDsr | Retrieves the state of DSR signal. |
FtVspcGetFraming | Retrieves the state of Framing error. |
FtVspcGetInQueueBytes | Retrieves the number of bytes in buffer. |
FtVspcGetOverrun | Retrieves the state of Overrun error. |
FtVspcGetParity | Retrieves the state of Parity error. |
FtVspcGetRing | Retrieves the state of RING signal. |
FtVspcSetBitrateEmulation | Sets the state of bitrate emulation flag. |
FtVspcSetBreak | Sets the state of Break error. |
FtVspcSetCts | Sets the state of CTS signal. |
FtVspcSetDcd | Sets the state of DCD signal. |
FtVspcSetDsr | Sets the state of DSR signal. |
FtVspcSetFraming | Sets the state of Framing error. |
FtVspcSetOverrun | Sets the state of Overrun error. |
FtVspcSetParity | Sets the state of Parity error. |
FtVspcSetRing | Sets the state of RING signal. |
Other | |
FtVspcGetErrorMessage | Retrieves the error code description. |
FtVspcGetInfo | Retrieves information about the program version and license type. |
FtVspcGetLastError | Returns last error code for the latest operation. |