Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

...

Table of Contents
minLevel1
maxLevel4

Introduction

...

You can output a debug log from AdamApp by using ADAM_DEBUG_PRINT() fuction function included in AdamDebug.h. (In this case, you do not need to call ADAM_DEBUG_OPEN() function nor ADAM_DEBUG_CLOSE() function.)

Info

For Python, please use the adam_debug_print() function.

The logs will be saved in non-volatile memory of i-PRO camera itself if the UDP Log setting shown below
was not set.
The non-volatile memory is a ring buffer, thus the older logs will be overwritten by new ones.
The AdamApp log output will be in pf_<install ID>_<processId>.log* within log/adam in syslog.tgz which
can be obtained from the i-PRO Web display.

...

Also, this tutorial refers to the SDK installation directory as ${SDK_DIR}.

How to view debug logs on i-PRO

...

(1) Launch Google Chrome

(2) Click the "Extensions" button on the right side of the address bar in Chrome and click "Adam application manager for i-pro".

...

(3) Enter the IP address of the camera in Target and click the Connect button.

...

Note

However, you cannot connect to the camera unless you are logged in to the camera.
If you cannot connect, enter the camera's IP address (eg 192.168.0.10) in the browser URL as shown below, and click the "Connect" button while logged into the camera.

...

Image Added

Enable UDPLog

Set IP address and port number of PC to receive UDPLog by using Adam Control Extension.

Info

Check the PC's IP address by using ipconfig at the command prompt.

...

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

Receive UDPLog

The tools for receiving and displaying UDPLog consists of ‘UDPLog receiving server’ and ‘UDPLog Receiver (Google Chrome extension)’. They are included in the iPRO_CAMERA_SDK as shown below.

...

${SDK_DIR}/tool/ResourceMonitorExtension
* ‘UDPLog Receiver’ is included in ‘Resource Monitor’.

...

UDPLog receiving server

Start UDP Log receiving server by disabling the firewall on your PC(If you do not disable the firewall, please set the port appropriately or configure the security software appropriately).

Note

It is the customer's responsibility to change or disable firewall and security software settings. Please note that we cannot be held responsible for any trouble that may occur.

On Windows, run UDPLogRecvSrv.exe. On Linux, run startup.sh.
Here, run ${SDK_DIR}/tool/UDPLogRecvSrv/UDPLogRecvSrv-win32-x64/UDPLogRecvSrv.exe.
Run a startup.sh using a root privilege if you are using well-known port for the UDP Log port number on Linux.

...

Here, leave the default values and click the START button to start the UDPLog receiving server.

UDPLog Receiver

Launch Resource Monitor. Please refer to here(how to install) and here(how to launch) for how to install Resource Monitor and how to launch Resource Monitor respectively.

Select ‘UDPLog Receiver’ in ‘Select Mode’.

...