Frequently Asked Question

How to set/get Frame Grabber parameters?
Last Updated 2 years ago

Frame Grabber parameters setters and getters described in paragraphs "11 Frame Grabber Parameters - Setters" and "12 Frame Grabber Parameters - Getters" of the Vision Point API Data Book

The Frame Grabber parameter access is done using the GenIcam name (which may be different than the display name represented in GUI). The GenIcam name can be found using one of the following methods:

1. Find the information about a specific parameter in the KAYA Frame Grabber Feature Guide
2. In Vision Point 2022.1 and later, the "Code samples" feature will show what function should used. More information can be found in section "5.8 Code Sample" of the Vision Point App User Guide For Acquisition Mode

Example:
How to set/get "Camera Discovery Delay" parameter.

// Getting parameter type
KYFG_GetGrabberValueType(grabberHandle, "CameraDiscoveryDelay")

// Getting value of 'CameraDiscoveryDelay'
KYFG_GetGrabberValueInt(grabberHandle, "CameraDiscoveryDelay");

// Setting value of 'CameraDiscoveryDelay'
KYFG_SetGrabberValueInt(grabberHandle, "CameraDiscoveryDelay", 4000);

Please Wait!

Please wait... it will take a second!