Frequently Asked Question
~ Linux section is located at the bottom of the page ~
Windows
Building an API example:
1. Open Microsoft Visual Studio project 'KYFGLib_Example
' that can be found "API Samples" directory.
2. Choose a solution platform according to your operation system
Please verify the selected platform is compatible with your OS.
3. Build a solution
Running an API example:
1. Run the application.
2. Enter a device (preferably physical Frame Grabber device, not virtual), or Demo mode, from the list.
3. Enter a command. The following table describes the commands options:
Command | Description |
[0-4] | Device selection |
o | Open Frame Grabber |
c | Connect to camera |
s | Start the frame acquisition |
t | Stop the frame acquisition |
e | Exit the Example |
An example of this operation is shown in the image below.
Queued Buffer and Cyclic Buffer:
'KYFGLib_Example
' uses Cyclic Buffer.
'KYFGLib_Example_QueuedBuffers
' uses Queued Buffer.
We advise to work in the more advanced Queued Buffer mode.
Linux
Building an API sample:
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 'KYFGLib_Example
' executable file was created in the same directory.
The image below shows the 1st and the 2nd step.
Running an API sample:
1. To run the API Example, run './KYFGLib_Example
'.
2. Enter a device, or Demo mode, from the list.
3. Enter a command. The following table describes the commands options:
Command | Description |
[0-4] | Device selection |
o | Open Frame Grabber |
c | Connect to camera |
s | Start the frame acquisition |
t | Stop the frame acquisition |
e | Exit the Example |
An example of this operation is shown in the image below.
NOTE:
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.