This page is a part of ReMapPro online Help Manual.
ReMapPro makes serial (RS232) data from your PC available on TCP/IP-based networks and makes TCP/IP data available on COM port on your PC. Visit Home of ReMapPro for more information.



The "[COMSERV]" Section of the ini-file

The "[COMSERV]" section of the ini-file may have the following entry lines you can customize for particular needs and applications.

Number_of_COM-ports=N

This entry line specifies Comserv to use N COM ports (as the max number of COM ports in the pool (or the array) used by the TCP/IP server) instead of the default (64) value.

RtsControlForNone=L

You can select one of three modes for RTS flow control if Flow control in the Serial Setting is set to None.

Behavior of Comserv for these modes is implemented according to the MSDN Library, i.e., the following flags are set up after opening a COM-port:

  • 'fInX', 'fOutX', 'fOutXDsrFlow', and 'fOutXCtsFlow' are all set to FALSE
  • 'fDtrControl' is set to DTR_CONTROL_ENABLE
  • 'fRtsControl' is set to RTS_CONTROL_ENABLE.

To select the mode for the RTS flow control (if Flow control in the Serial Setting is set to None), the RtsControlForNone=... line can be inserted into the "[COMSERV]" section of the xwp.ini file (that is in the home directory of the package).

The setting provides the following modes:

  • RtsControlForNone=0
    With this setting, flag 'fRtsControl' is set to RTS_CONTROL_DISABLE after opening a COM-port. RTS_CONTROL_DISABLE disables the RTS line when the device is opened and leaves it disabled.

  • RtsControlForNone=1
    With this setting or if this line is absent, the software works as in the previous version, i.e. flag 'fRtsControl' is set to RTS_CONTROL_ENABLE after opening a COM-port. RTS_CONTROL_ENABLE enables the RTS line when the device is opened and leaves it on.

  • RtsControlForNone=2
    This setting makes 'GetCommState' before 'SetCommState' without changing parameter 'PortDCB.fRtsControl' for RTS flow control.

To take the mode into effect, you should do the following:

  1. Stop port mapping
  2. Select the mode of your choice
  3. Start port mapping again.

SetTimeouts=L

With L=1, this entry line causes Comserv to show the Timeouts button active in the main window (thus allowing you to specify the Timeout parameters).

With L=0, Comserv will keep the button dimmed.

Tracing=L

With L=0, Comserv will store no tracing data.

With L=1, this entry line specifies Comserv to store brief tracing information into the Comserv.log file.

With L=3, Comserv will store the contents of every packet too in the log-file (thus decreasing the performance).




Home | Product | Download | Order Now | Upgrade | Support | Pricing | Company Information | Contact Us


Labtam Copyright 1999 - 2007 LabtamTM Inc.