User`s manual

UPort 1200/1400/1600 Series User’s Manual Driver Installation
Fast Flush
Setting Factory Default Necessity
Enable/Disable Enable Required
1. For some applications, the user’s program will use the Win32 PurgeComm() function
before it reads or writes data. With our design, after the program uses this PurgeComm()
function, the UPort driver will keep querying the UPort’s firmware several times to make
sure that no data is queued in the UPort’s firmware buffer, rather than just flushing the
local buffer. This kind of design is used because of some special considerations. However,
it might take more time (about several hundred milliseconds) than a native COM1,
because it needs to work over Ethernet. This is why the native COM ports on the
motherboard can work fast with this function call, but the UPort requires much more time.
2. To begin with, make sure there are some PurgeComm() functions being used in your
application program. In this kind of situation, you might find that your UPort exhibits a
much poorer operation performance than when using the native COM1 port. Once you
have enabled the Fast Flush function, you can check to see if there has been an
improvement in performance.
3. By default, the optional Fast Flush function is enabled, which allows the UPort driver to
work faster when using the PurgeComm() function.
4. Win32 function PurgeComm() with PURGE_TXCLEAR will clear all queued Tx data.
But for some applications, it will call this function for each transaction and result in low
throughput. To avoid this, you can enable this function. The driver will only clear the data
queued in the local buffer; it will not send firmware through the USB port to clear the
data queued in the firmware buffer.
Interface
UPort 1410, 1610-8, 1610-16
Setting Factory Default Necessity
RS-232 RS-232 Required
UPort 1250, 1250I, 1450, 1450I, 1650-8, 1650-16
Setting Factory Default Necessity
RS-232, RS-422,
4-wire RS-485, 2-wire
RS-485
RS-232 Required
Reset default
If you click the Reset default button, all the settings will return to Factory default settings:
COM Number: <Assign available COM number automatically>
Tx Mode: Hi-Performance
UART FIFO: Enable
Fast Flush: Enable
Interface: RS-232
2-18