922-20007052/1.2
29
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
Data is exported through the UDP port to an external server. You must enter the IP
address of this external server into the <DataExport_Dest_IPAddr> XML tag found in
the “UsersInfo.xml” file. To start streaming ALL data, you must use the
Start Export
API command.
Procedure
1
Configure the IP address of the external server that will receive the ALL stream.
Alternatively, if you prefer using a graphical user interface, you can open the M3
software, click
Setup
→
Preferences
, then enter the IP address into the
Remote IP
Address
field. Make sure that the
Display Mode
in the
Profiling Settings
dialog box is
set to
Image and Profile
or
Profile Only
. Also, click
File
→
Exporting Format
and
make sure that
Profile Point (.all)
is selected.
a
Navigate to C:\KML\M3_V0240\BIN\SETTINGS
b
Right-click on the file “UsersInfo.xml”.
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 <DataExport_Dest_IPAddr>
e
Enter the IP address of the external server that will receive the ALL stream.
f
Make sure to leave these parameters at the following default values.
<ProfileMode>1</ProfileMode>
<ExportingFormat>19</ExportingFormat>
g
Click
File
→
Save
, then close your XML file editor.
2
Enable the 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
Type the following into the command prompt, then press
Enter
.
start c:\kml\m3_v0240\bin\m3.exe /api
Note
Do not use the
/no_dm
switch for profiling applications.
Содержание 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...