28
922-20007052/1.2
Changing the IMB port number
The default IMB port is 20001. You can change the default IMB port of the M3 Sonar
API by editing the “UsersInfo.xml” file and finding the <DataExport_IMB_Port> XML
tag.
Prerequisites
Download and install a free XML file editor, such as +.
Note
Avoid using the default Notepad editor in Windows, as it may insert hidden characters
into XML files that will cause the M3 Sonar API to crash.
Context
You can stream IMB data from the M3 Sonar API once it is connected to the Sonar Head,
and the head is running. As soon as your TCP/IP client connects to the IMB port of the
API, the IMB data will start streaming back to the client.
Procedure
1
Navigate to C:\KML\M3_V0240\BIN\SETTINGS
2
Right-click on the file “UsersInfo.xml”.
Observe that a context menu opens.
3
Select
Edit with +
to open the file.
Alternatively, open the file in your preferred XML file editor.
4
Find the XML tag <DataExport_IMB_Port>
5
Change the value between the tags to your desired port number.
6
Click
File
→
Save
, then close your XML file editor.
Related topics
Streaming ALL data for profiling applications
You can configure the external server that will receive an ALL stream by editing a text
file. To start streaming ALL data, you must use the
Start Export
API command.
Prerequisites
Download and install a free XML file editor, such as +.
M3 Sonar API Instruction Manual