API samples

Last modified by Lev Andronov on 2025/05/27 13:56

Vision Point II

Vision Point II API samples locations

Windows

C:\Users\Public\Documents\KAYA Instruments\Vision Point II\API Samples

Linux

/opt/KAYA_Instruments/VisionPointII/Examples

If you would like to use Vision Point legacy API samples with the Vision Point II API, link 'KYFGLibA' instead of 'KYFGLib'. More information is available in the knowledge base article Migration to VP II.

The new Vision Point II API is not monolithic — it has a modular structure consisting of:

  • KYVPLibTL, our new GenTL-inspired transport layer (API sample "KYVP_LibTL_Example"). Refer to the "KYVPTL library" section of the Vision Point II API Data Book.
  • KYVP ParametersHandler, which is a high-level library for handling GeniCam commands (API sample "KYVP_ParametersHandle_Example"). ParametersHandler is described in the same document under the section "KYVP ParametersHandler library".

The comprehensive API sample 'KYVP_QueuedBuffers_Example' demonstrates the usage of both transport layer and and device parameters.

Directory nameDescription
KYFGLib_Adapter_ExamplePlain C sample demonstrating usage of Vision Point legacy code to use under Vision Point II API
KYVP_FirmwareUpdate_ExamplePlain C sample for KAYA Instruments PCIe devices firmware update procedure
KYVP_ParametersHandle_ExamplePlain C sample shows how to handle cameras parameters using KYVP ParametersHandler library
KYVP_QueuedBuffers_ExamplePlain C sample for Queued Buffers image acquisition using KYVPLibTL and KYVP ParametersHandler library
KYVPLibTL_ExamplePlain C basic sample demonstrating Vision Point transport layer

Vision Point

Vision Point II API samples locations

Windows

C:\Users\Public\Documents\KAYA Instruments\Vision Point\API Samples

Linux

/opt/KAYA_Instruments/Examples
Directory nameSample nameDescription
Vision Point .NET APIKYFGLib.NET.NET wrapper for the KAYA API library
Vision Point .NET APIKYFGLib.NET_Example.NET image acquisition: open grabber, scan camera, camera parameters management, start stream; cyclic buffer type
Vision Point .NET APIKYFGLib.NET_Example_QueuedBuffers.NET image acquisition: open grabber, scan camera, camera parameters management, start stream; queued buffer type
Vision Point APIGenICam_fw_updatePlain C sample of GenICam firmware update for the Iron CoaXPress cameras
Vision Point APIGenTL_ExamplePlain C sample of GenTL producer usage: open grabber, scan camera, camera parameters management, start stream; queued buffer type
Vision Point APIImage_StitchingC++ image stitching: composing an image from chunks assigned to multiple cameras (configured to run in freerun mode with the same frame rate)
Vision Point APIKAYA_SystemStartupPlain C sample for the system startup and perform various initializations of KAYA Instrument devices
Vision Point APIKY_Chameleon_ExamplePlain C sample forChameleon operation flow: open grabber, scan camera, camera parameters management, start stream; queued buffer type
Vision Point APIKYFGLib_ExamplePlain C sample for image acquisition: open grabber, scan camera, camera parameters management, start stream; cyclic buffer type
Vision Point APIKYFGLib_Example_QueuedBuffersPlain C sample for image acquisition: open grabber, scan camera, camera parameters management, start stream; queued buffer type
Vision Point Python APIKYFGLib_API_SamplePython image acquisition: open grabber, scan camera, camera parameters management, start stream; cyclic buffer type
Vision Point Python APIKYFGLib_API_Sample_mutiple_camerasPython image acquisition: open grabber, scan camera, camera parameters management, start stream; cyclic buffer type for 2 cameras and more
Vision Point Python APIKYFGLib_Chameleon_ExamplePython Chameleon operation flow: open grabber, scan camera, camera parameters management, start stream; queued buffer type
Vision Point Python APIKYFGLib_Example_QueuedBuffersPython image acquisition: open grabber, scan camera, camera parameters management, start stream; queued buffer type for 1 camera
Vision Point Python APIKYFGLib_Example_QueuedBuffers_mutiple_camerasPython image acquisition: open grabber, scan camera, camera parameters management, start stream; queued buffer type for 2 cameras and more

More API samples and test cases can be found in our GitHub repository.

KAYA Instruments © 2024. All Rights Reserved.