Versions Compared

Key

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

Table of contents

...

Table of Contents
minLevel1
maxLevel4

Introduction

...

This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.

Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}.

Operation overview

...

fdiac_server_sample_app is a sample application that receives file descriptor events and outputs logs.communicates with iac_client_sample_app.
Send messages periodically from iac_client_sample_app.

...

External libraries required for operation

...

No special mention.

Directory path of the sample app

...

The C/C++ source code is stored below.

${SDK_DIR}/src/adamapp/fdiac_server_sample_app

${SDK_DIR}/src/adamapp/iac_client_sample_app

No Python source code.

How to build the sample app (C/C++)

...

Load the build environment settings file in the SDK installation directory.

...

Code Block
$ cd src/adamapp/fdiac_server_sample_app
$ make
$ cd src/adamapp/iac_client_sample_app
$ make

It is successful if the .ext file is created in ${SDK_DIR}/src/adamapp/iac_server_sample_app and ${SDK_DIR}/src/adamapp/fdiac_client_sample_app.

 

Install it on the camera (eg, you can install from the green frame in the image below). Select the created .ext file and install it.
Open the app screen (red frame button in the image below).

...

 

It is successful if the characters like the image below are displayed.

...

 Press the Setup >> button of iac_client_sample_app, and if the following screen is displayed, it is successful.

...

Press the Setup >> button of iac_server_sample_app, and if the following screen is displayed, it is successful.

...

How to use the sample app

...

Receives and logs file descriptor events. As shown in the red line belowIn this sample app, messages are sent from iac_client_sample_app to iac_server_sample_app at a 1-second cycle. Try refreshing the screen by pressing the F5 key several times on the iac_server_sample_app screen.

...

You can see that the number following ALOHA!! is updated every second. This is updated because iac_client_sample_app is sending messages, so let's stop iac_client_sample_app.

Open the ADAM OPERATION UI. For ADAM OPERATION UI, please build the environment referring to here. Stop the iac_client_sample_app by pressing the button in the pink frame in the image below.

...

Open the iac_server_sample_app in this state and press the F5 key several times to refresh the screen.

...

Since iac_client_sample_app has stopped sending messages, you can see that the log is output when the file descriptor event is received.

...

number following ALOHA!! is no longer updated at 1-second intervals.