...
Info |
---|
All filenames are case-sensitive and the system will not be able to process the data if the expected characters are not used. |
HTML |
---|
<p>Open the <span class="keyword">TCPSOURCES.CFG</span> file found in the <span class="keyword">\config</span> folder within the main program folder.</p>
<p>In a multiple site situation, it is immaterial how the data from each site reaches the
<span class="keyword">\spool</span> folder, as long as it does get there. What is important is the filename
extension of each site's data, as described in the previous
section. This is because the software distinguishes each site by its
resultant file extension.</p>
<p>When data is transmitted to the software via TCP/IP, the software doesn't
automatically have a filename extension to give to the incoming data.
The way the software differentiates its various sites is by the
sender's IP address. Thus, the data is sent from a particular IP
address, this is corresponded to a filename extension and the data is
set in the <span class="keyword">\spool</span> folder with this filename extension. The software
can then identify the original site by this filename extension.</p>
<p>IP addresses and their corresponding filename extensions are set in the <span class="keyword">TCPSOURCES.CFG</span>
file, in the normal way.</p>
<p>For example, suppose we have three sites with the following IP addresses, all transmitting to
the host application:</p>
<table class="confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" width=120>Site 1</th>
<th class="confluenceTh" width=120>Site 2</th>
<th class="confluenceTh" width=120>Site 3</th>
</tr>
<tr>
<td class="confluenceTd">Main Building<br/>192.168.0.29</td>
<td class="confluenceTd">Financial Centre<br/>192.168.0.100</td>
<td class="confluenceTd">Conference Building<br/>192.168.0.54</td>
</tr>
</tbody>
</table>
<p>We would first start by assigning filename extensions to the various IP addresses in the <span class="keyword">TCPSOURCES.CFG</span> file:</p> |
Code Block | ||
---|---|---|
| ||
[TCP Data Sources]
192.168.0.29 = MBG
192.168.0.100 = FNC
192.168.0.54 = CNF |
HTML |
---|
<p>Then, in the <span class="keyword">SITES.CFG</span> file, as described previously, we would include each filename extension as such:</p> |
Code Block | ||
---|---|---|
| ||
[All Sites]
MBG = Main Building
FNC = Financial Centre
CNF = Conference Building |
HTML |
---|
<p>So, for example, Site 1 (the main building), IP address 192.168.0.29 transmits some data to
the host. The host looks for the IP address in <span class="keyword">TCPSOURCES.CFG</span>
and finds the extension <span class="keyword">MBG</span>. A randomly named file is created in the <span class="keyword">\spool</span>
folder containing the data that was sent, eg. 4de9380f.MBG.</p>
<p>When the software picks this file up from the spool folder, it can successfully identify that
the data was from the "Main Building", as described in the
<span class="keyword">SITES.CFG</span> file.</p>
|
Note |
---|
NOTE: It is important to remember that all filename extensions are case-sensitive and that this is the first most likely cause of any problem in the system not identifying where data came from. |