In this topic Hide
The Frame Start event occurs whenever a Frame Start trigger has been generated by the camera (free run) or applied externally (triggered image acquisition).
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Frame Start Overtrigger event occurs whenever the Frame Start trigger has been overtriggered. This happens if you apply a Frame Start trigger signal when the camera is not ready to receive the signal.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Frame Start Wait event occurs whenever the camera is ready to receive a Frame Start trigger signal.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Frame Burst Start event and the Acquisition Start event are identical, only their names differ. The naming depends on your camera model.
In the following, the term "Frame Burst Start event" refers to both.
The Frame Burst Start event occurs whenever a Frame Burst Start trigger has been generated by the camera (free run) or applied externally (triggered image acquisition).
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Frame Burst Start Overtrigger event and the Acquisition Start Overtrigger event are identical, only their names differ. The naming depends on your camera model.
In the following, the term "Frame Burst Start event" refers to both.
The Frame Burst Start Overtrigger event occurs whenever the Frame Burst Start trigger has been overtriggered. This happens if you apply a Frame Burst Start trigger signal when the camera is not ready to receive the signal.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Frame Burst Start Wait event and the Acquisition Start Wait event are identical, only their names differ. The naming depends on your camera model.
In the following, the term "Frame Burst Start event" refers to both.
The Frame Burst Start Wait event occurs whenever the camera is ready to receive a Frame Burst Start trigger signal.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
The Exposure End event occurs whenever an image has been exposed.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
If available, the Event Overrun event occurs if the camera's internal event queue has overrun. This happens if events are generated at a very high frequency and there isn't enough bandwidth available to send the events.
The event overrun event is a warning that events are being dropped. The notification contains no specific information about how many or which events have been dropped.
When this event occurs, the corresponding message contains the following information:
The names of the parameters containing the information vary by camera model.
If available, the Critical Temperature event occurs if the camera’s temperature state has reached a critical level.
When this event occurs, the corresponding message contains the following information:
If available, the Over Temperature event occurs if the camera’s temperature state has reached the over temperature level.
When this event occurs, the corresponding message contains the following information:
If available, the Action Late event occurs if the camera receives a scheduled action command with a timestamp in the past.
When this event occurs, the corresponding message contains the following information:
Events
Camera Model | Events Available |
---|---|
All ace 2 GigE camera models | Event Notification feature not supported |
All ace 2 USB 3.0 camera models | Event Notification feature not supported |
acA640-90gm |
|
acA640-90gc |
|
acA640-120gm |
|
acA640-120gc |
|
acA640-121gm |
|
acA640-300gm |
|
acA640-300gc |
|
acA720-290gm |
|
acA720-290gc |
|
acA780-75gm |
|
acA780-75gc |
|
acA800-200gm |
|
acA800-200gc |
|
acA1280-60gm |
|
acA1280-60gc |
|
acA1300-22gm |
|
acA1300-22gc |
|
acA1300-30gm |
|
acA1300-30gc |
|
acA1300-60gm |
|
acA1300-60gmNIR |
|
acA1300-60gc |
|
acA1300-75gm |
|
acA1300-75gc |
|
acA1440-73gm |
|
acA1440-73gc |
|
acA1600-20gm |
|
acA1600-20gc |
|
acA1600-60gm |
|
acA1600-60gc |
|
acA1920-25gm |
|
acA1920-25gc |
|
acA1920-40gm |
|
acA1920-40gc |
|
acA1920-48gm |
|
acA1920-48gc |
|
acA1920-50gm |
|
acA1920-50gc |
|
acA2000-50gm |
|
acA2000-50gmNIR |
|
acA2000-50gc |
|
acA2040-25gm |
|
acA2040-25gmNIR |
|
acA2040-25gc |
|
acA2040-35gm |
|
acA2040-35gc |
|
acA2440-20gm |
|
acA2440-20gc |
|
acA2500-14gm |
|
acA2500-14gc |
|
acA2500-20gm |
|
acA2500-20gc |
|
acA2500-20gmMED |
|
acA2500-20gcMED |
|
acA3088-16gm |
|
acA3088-16gc |
|
acA3800-10gm |
|
acA3800-10gc |
|
acA4024-8gm |
|
acA4024-8gc |
|
acA4096-11gm |
|
acA4096-11gc |
|
acA4112-8gm |
|
acA4112-8gc |
|
acA4600-7gc |
|
acA5472-5gm |
|
acA5472-5gc |
|
acA640-750um |
|
acA640-750uc |
|
acA640-90um |
|
acA640-90uc |
|
acA640-120um |
|
acA640-120uc |
|
acA720-520um |
|
acA720-520uc |
|
acA800-510um |
|
acA800-510uc |
|
acA1300-200um |
|
acA1300-200uc |
|
acA1300-30um |
|
acA1300-30uc |
|
acA1440-220um |
|
acA1440-220uc |
|
acA1600-20um |
|
acA1600-20uc |
|
acA1920-25um |
|
acA1920-25uc |
|
acA1920-40um |
|
acA1920-40uc |
|
acA1920-40umMED |
|
acA1920-40ucMED |
|
acA1920-150um |
|
acA1920-150uc |
|
acA1920-155um |
|
acA1920-155uc |
|
acA1920-155umMED |
|
acA1920-155ucMED |
|
acA2040-90um |
|
acA2040-90umNIR |
|
acA2040-90uc |
|
acA2000-165um |
|
acA2000-165umNIR |
|
acA2000-165uc |
|
acA2040-55um |
|
acA2040-55uc |
|
acA2040-120um |
|
acA2040-120uc |
|
acA2440-35um |
|
acA2440-35uc |
|
acA2440-35umMED |
|
acA2440-35ucMED |
|
acA2440-75um |
|
acA2440-75uc |
|
acA2440-75umMED |
|
acA2440-75ucMED |
|
acA2500-14um |
|
acA2500-14uc |
|
acA2500-60um |
|
acA2500-60uc |
|
acA3088-57um |
|
acA3088-57uc |
|
acA3800-14um |
|
acA3800-14uc |
|
acA4024-29um |
|
acA4024-29uc |
|
acA4096-30um |
|
acA4096-30uc |
|
acA4096-30umMED |
|
acA4096-30ucMED |
|
acA4096-40um |
|
acA4096-40uc |
|
acA4096-40umMED |
|
acA4096-40ucMED |
|
acA4112-20um |
|
acA4112-20uc |
|
acA4112-20umMED |
|
acA4112-20ucMED |
|
acA4112-30um |
|
acA4112-30uc |
|
acA4112-30umMED |
|
acA4112-30ucMED |
|
acA4600-10uc |
|
acA5472-17um |
|
acA5472-17uc |
|
All boost CXP-12 camera models | Event Notification feature not supported |
All dart BCON for LVDS camera models | Event Notification feature not supported |
All dart BCON for MIPI camera models | Event Notification feature not supported |
All dart USB 3.0 camera models | Event Notification feature not supported |
All pulse USB 3.0 camera models | Event Notification feature not supported |
Event Parameters
Camera Model | Event Parameters Available |
---|---|
All ace 2 GigE camera models | Event Notification feature not supported |
All ace 2 USB 3.0 camera models | Event Notification feature not supported |
All ace USB 3.0 camera models | For each
event, the following parameter is available: Event[Event Name]Timestamp Example: Frame Start Wait event: For the Exposure End event, an additional parameter is available: EventExposureEndFrameID. |
All ace GigE camera models | For each
event, the following parameters are available:
Example: Frame Start Overtrigger Event:
For the Exposure End event, an additional parameter is available: ExposureEndEventFrameID. |
All boost CXP-12 camera models | Event Notification feature not supported |
All dart BCON for LVDS camera models | Event Notification feature not supported |
All dart BCON for MIPI camera models | Event Notification feature not supported |
All dart USB 3.0 camera models | Event Notification feature not supported |
All pulse USB 3.0 camera models | Event Notification feature not supported |
// Enable the Exposure End event notification
camera.EventSelector.SetValue(EventSelector_ExposureEnd);
camera.EventNotification.SetValue(EventNotification_On);
// Enable the Critical Temperature event notification
camera.EventSelector.SetValue(EventSelector_CriticalTemperature);
camera.EventNotification.SetValue(EventNotification_On);
// Now, you must implement event handling in your application.
// For a C++ sample implementation, see the "Grab_CameraEvents" and "Grab_CameraEvents_Usb"
// code samples in the C++ Programmer's Guide and Reference Documentation delivered
// with the Basler pylon Camera Software Suite.
// For a C and C .NET sample implementation, see the "Events Sample" code sample in
// the C Programmer's Guide and Reference Documentation and the pylon C .NET Programmer's
// Guide and Reference Documentation delivered with the Basler pylon Camera Software Suite.
INodeMap& nodemap = camera.GetNodeMap();
// Enable the Exposure End event notification
CEnumerationPtr(nodemap.GetNode("EventSelector"))->FromString("ExposureEnd");
CEnumerationPtr(nodemap.GetNode("EventNotification"))->FromString("On");
// Enable the Critical Temperature event notification
CEnumerationPtr(nodemap.GetNode("EventSelector"))->FromString("CriticalTemperature");
CEnumerationPtr(nodemap.GetNode("EventNotification"))->FromString("On");
// Now, you must implement event handling in your application.
// For a C++ sample implementation, see the "Grab_CameraEvents" and "Grab_CameraEvents_Usb"
// code samples in the C++ Programmer's Guide and Reference Documentation delivered
// with the Basler pylon Camera Software Suite.
// For a C and C .NET sample implementation, see the "Events Sample" code sample in
// the C Programmer's Guide and Reference Documentation and the pylon C .NET Programmer's
// Guide and Reference Documentation delivered with the Basler pylon Camera Software Suite.
// Enable the Exposure End event notification
camera.Parameters[PLCamera.EventSelector].SetValue(PLCamera.EventSelector.ExposureEnd);
camera.Parameters[PLCamera.EventNotification].SetValue(PLCamera.EventNotification.On);
// Enable the Critical Temperature event notification
camera.Parameters[PLCamera.EventSelector].SetValue(PLCamera.EventSelector.CriticalTemperature);
camera.Parameters[PLCamera.EventNotification].SetValue(PLCamera.EventNotification.On);
// Now, you must implement event handling in your application.
// For a C++ sample implementation, see the "Grab_CameraEvents" and "Grab_CameraEvents_Usb"
// code samples in the C++ Programmer's Guide and Reference Documentation delivered
// with the Basler pylon Camera Software Suite.
// For a C and C .NET sample implementation, see the "Events Sample" code sample in
// the C Programmer's Guide and Reference Documentation and the pylon C .NET Programmer's
// Guide and Reference Documentation delivered with the Basler pylon Camera Software Suite.
// Enable the Exposure End event notification
Pylon.DeviceFeatureFromString(hdev, "EventSelector", "ExposureEnd");
Pylon.DeviceFeatureFromString(hdev, "EventNotification", "On");
// Enable the Critical Temperature event notification
Pylon.DeviceFeatureFromString(hdev, "EventSelector", "CriticalTemperature");
Pylon.DeviceFeatureFromString(hdev, "EventNotification", "On");
// Now, you must implement event handling in your application.
// For a C++ sample implementation, see the "Grab_CameraEvents" and "Grab_CameraEvents_Usb"
// code samples in the C++ Programmer's Guide and Reference Documentation delivered
// with the Basler pylon Camera Software Suite.
// For a C and C .NET sample implementation, see the "Events Sample" code sample in
// the C Programmer's Guide and Reference Documentation and the pylon C .NET Programmer's
// Guide and Reference Documentation delivered with the Basler pylon Camera Software Suite.
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK; /* Return value of pylon methods */
/* Enable the Exposure End event notification */
errRes = PylonDeviceFeatureFromString(hdev, "EventSelector", "ExposureEnd");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "EventNotification", "On");
CHECK(errRes);
/* Enable the Critical Temperature event notification */
errRes = PylonDeviceFeatureFromString(hdev, "EventSelector", "CriticalTemperature");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "EventNotification", "On");
CHECK(errRes);
/* Now, you must implement event handling in your application. */
/* For a C++ sample implementation, see the "Grab_CameraEvents" and "Grab_CameraEvents_Usb" */
/* code samples in the C++ Programmer's Guide and Reference Documentation delivered */
/* with the Basler pylon Camera Software Suite. */
/* For a C and C .NET sample implementation, see the "Events Sample" code sample in */
/* the C Programmer's Guide and Reference Documentation and the pylon C .NET Programmer's */
/* Guide and Reference Documentation delivered with the Basler pylon Camera Software Suite. */
You can also use the pylon Viewer to easily set the parameters.