922-20007052/1.2
31
Observe that a context menu opens.
c
Select
Edit with +
to open the file.
Alternatively, open the file in your preferred XML file editor.
d
Find the XML tag <IPAddress>
e
Enter the IP address of the Sonar Head you wish to use with this M3 Sonar
API instance.
Make sure that you don’t use the same IP address used in another instance.
Tip
By entering the IP address into the “UsersInfo.xml” file, you will not have
to discover and connect to the Sonar Head by running the M3 software.
However, if you do not know each Sonar Head’s IP address, you may run
the M3 software, then click
Setup
→
System Configuration
→
Devices
→
Sonar
Setup
→
Discover Sonar Heads
to view the IP addresses.
f
Enter unique port numbers into the following three XML tags.
<API_Commands_Port> (send API commands from your client to this port)
<DataExport_IMB_Port>
<DataExport_DotALL_Port>
Note
Use any free numbers not used in other instances. For example, if
M3_V0240_1’s range of ports is 20000, 20001, and 20002, then use 20010,
20011, and 20012 for M3_V0240_2 (and so on). Using the same port numbers
for all instances of the M3 Sonar API will cause a conflict.
g
Click
File
→
Save
, then close your XML file editor.
h
Repeat this procedure for each instance of the M3 Sonar API.
4
Run each instance of the M3 Sonar API.
a
In the bottom-left corner of your desktop, type “cmd” into the Windows search
box, then press
Enter
.
Observe that the
Command Prompt
window opens.
b
Run the “m3.exe” file for each instance in the command line.
For example, for three instances, you will run the three different “m3.exe”
files found in each folder you created:
start c:\kml\m3_v0240_1\bin\m3.exe /api /no_dm
start c:\kml\m3_v0240_2\bin\m3.exe /api /no_dm
start c:\kml\m3_v0240_3\bin\m3.exe /api /no_dm
5
Send your API commands from your client to the API Commands Port you specified
for each instance.
Содержание M3 Sonar API
Страница 1: ...Instruction Manual M3 Sonar API...
Страница 2: ......
Страница 57: ...922 20007052 1 2 55 V version software 5 W Windows regional format changing 18 Index...
Страница 58: ...2020 Kongsberg Mesotech...