
IS-1500 User Guide
Thales Visionix, Inc.
MNL- 0024 (D)
Page 47 of 59
5.4.2
Changing TCP and UDP Settings in sfAccess.ini and sfHub.ini
Configuring the communication ports requires changes to both sfAccess.ini and sfHub.ini. Under normal circumstances, these
settings do not need to be changed. However, there are two scenarios that may require a change. The first is if there a port conflict,
in which case the ports used by sfAccess and sfHub may need to be changed. The second is in a server setup, where data needs to be
received or viewed by a different computer (the master) than the one running sfHub to perform the tracking computations (the
host, or slave).
A. To change the TCP and UDP ports, follow the instructions below.
1.
If they are currently running, close the sfHub and sfStudio or the end user application.
2.
Open the applicable sfAccess.ini file (for either sfStudio or the end user application).
3.
Under the Processing section, find the variables for each of the ports.
[Communication]
TcpSfRxEnabled = true
TcpSfRxAddr = localhost
TcpSfRxPort =
51717
UdpSfRxPort =
9001
UdpSfRxImgPort =
9003
UdpSfCorePort =
9002
UdpSfRxInputPort =
9004
UdpSfHubPort =
9005
UdpNftPort =
9007
4.
Change the values as needed for the system. In this example, it will be assumed there is a conflict on all or most of the
default UDP ports. However, ports 51718, 8001-8005 and 8007 are unused by the system and make for ideal replacements.
[Communication]
TcpSfRxEnabled = true
TcpSfRxAddr = localhost
TcpSfRxPort =
51718
UdpSfRxPort =
8001
UdpSfRxImgPort =
8003
UdpSfCorePort =
8002
UdpSfRxInputPort =
8004
UdpSfHubPort =
8005
UdpNftPort =
8007
5.
Once the changes have been made, save the file.
6.
The variable names for each port in sfHub.info differ from those in sfAccess.ini. The table below shows the sfAccess.ini
variable names that correspond to each sfHub.info variable and their default ports (as seen in Step 3). The UdpSfHubPort is
not used by sfHub. If only this port was changed in Step 4, the remaining steps can be skipped. Otherwise, sfHub.info needs
to be edited to reflect the changes made in the sfAccess.ini.
sfAccess.ini Variable
sfHub.info Variable
Default Port
TcpSfRxPort
tcpPort
51717
UdpSfRxPort
udpMeta
9001
UdpSfRxImgPort
udpImg
9003
UdpSfCorePort
udpCore
9002
UdpSfRxInputPort
port
9004
UdpSfHubPort
9005
UdpNftPort
udpNft
9007