Frequently Asked Question

Building and running an API example for Generation mode
Last Updated 2 years ago

(Linux section below)

Building and Running an API example on Windows OS:


Building an API example:

1. Open an API example project KY_Chameleon_Example.vcxproj for Microsoft Visual Studio, provided in the download directory.

The "API Samples" directory can be easily found using the quick search, as shown in the image below.

image

2. Choose a solution platform according to your operation system, as shown in the image below.
Please verify the selected platform is compatible with your OS.

image

3. Build a solution.

Running an API example:

1. Run the application.
2. Select a Chameleon device from the list.
3. Enter a command. The following table describes the commands options:

Command Description
[0-4] Device selection
s Start the frame generation
t Stop the frame generation
e Exit the Example

An example of this operation is shown in the image below.

image


Building and running an API example on Linux OS:


Building an API example:

1. Open the Terminal and enter the directory path of the API Example. API Example is stored under
Vision Point/Examples/ directory.
2. Type "make" and ensure the KY_Chameleon_Example executable file was created in the same directory.
The image below shows the 1st and the 2nd step.

image

Running an API example:

1. To run the API Example, type "./KY_Chameleon_Example" followed by "Enter," as shown in the image below.

image

2. Select a Chameleon device from the list.
3. Enter a command. The following table describes the commands options:

Command Description
[0-4] Device selection
s Start the frame generation
t Stop the frame generation
e Exit the Example

An example of this operation is shown in the image below.

image

NOTES:

A separate log file is created for each application, which uses KAYA API, with a display name of the primary executable and process ID and timestamp.

Please Wait!

Please wait... it will take a second!