Vimba C registering camera discovery event callbacks

To register camera discovery event callbacks in Vimba C:

// 1. define callback function

void VMB_CALL EventCallbackFunction(VmbHandle_t handle, const char* name, void* context)


printf("Event was fired: %s\n", name);



// 2. register the callback for the discovery event from the Vimba! handle

VmbFeatureInvalidationRegister( gVimbaHandle, "DiscoveryCameraEvent", EventCallbackFunction, NULL);

Please find more information in the Vimba C Manual, chapter Using Events.

Zurück zur Übersicht