Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

With the EventSelector you define which event should be sent to the host application.

hint_info

The supported events depend on the used camera model.

Name

EventSelector

Category

EventControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

CriticalError

Error

EventDropped

ExposureStart

ExposureEnd

FrameStart

FrameDropped

Line0FallingEdge

Line1FallingEdge

Line2FallingEdge

Line3FallingEdge

Line4FallingEdge

Line5FallingEdge

Line6FallingEdge

Line0RisingEdge

Line1RisingEdge

Line2RisingEdge

Line3RisingEdge

Line4RisingEdge

Line5RisingEdge

Line6RisingEdge

MissedTriggerExposure

MissedTriggerLine

PtpMasterSyncLost

Temperature

Test

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

Event

ID

Description

CriticalError

0x9011

This event will be generated when a critical error is detected.

Error

0x9010

This event will be generated when an error is detected.

EventDropped

0x9012

The event will be generated when one or more events are lost.

ExposureStart

0x9000

The camera started the exposure of a frame (or line in SensorOperationMode "Linescan").

ExposureEnd

0x9001

The camera completed the exposure of a frame (or line in SensorOperationMode "Linescan").

FrameStart

0x9002

The camera started the capture of a frame. Only available in SensorOperationMode "Linescan".

FrameDropped

0x900B

The event will be generated when one or more frames are lost.

Line0FallingEdge

0x9007

The event will be generated when a falling edge is detected on the Line 0.

Line1FallingEdge

0x9008

The event will be generated when a falling edge is detected on the Line 1.

Line2FallingEdge

0x9009

The event will be generated when a falling edge is detected on the Line 2.

Line3FallingEdge

0x900A

The event will be generated when a falling edge is detected on the Line 3.

Line4FallingEdge

0x9018

The event will be generated when a falling edge is detected on the Line 4.

Line5FallingEdge

0x9019

The event will be generated when a falling edge is detected on the Line 5.

Line6FallingEdge

0x901A

The event will be generated when a falling edge is detected on the Line 6.

Line0RisingEdge

0x9003

The event will be generated when a rising edge is detected on the Line 0.

Line1RisingEdge

0x9004

The event will be generated when a rising edge is detected on the Line 1.

Line2RisingEdge

0x9005

The event will be generated when a rising edge is detected on the Line 2.

Line3RisingEdge

0x9006

The event will be generated when a rising edge is detected on the Line 3.

Line4RisingEdge

0x9015

The event will be generated when a rising edge is detected on the Line 4.

Line5RisingEdge

0x9016

The event will be generated when a rising edge is detected on the Line 5.

Line6RisingEdge

0x9017

The event will be generated when a rising edge is detected on the Line 6.

MissedTriggerExposure

0x900C

The camera missed a trigger to start the exposure.

MissedTriggerLine

0x900D

The camera missed a trigger to start the capture of a line. Only available in SensorOperationMode "Linescan".

PtpMasterSyncLost

0x9013

The event will be generated when ptp master sync is lost.

Temperature

0x900E

This event will be generated when the temperature deviates by more than 0.5 degrees from the previous value.

Test

0x4FFF

The test event is a packet with a defined structure. It is generated by executing the TestEventGenerate command. The test event is not included in the EventSelector since the notification of this event is always enabled.

Code example

C++

// Determine the current entry of EventSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("EventSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of EventSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("EventSelector")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
  if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
          && (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
  {
      availableEntries.emplace_back(entry);
  }
}
// Set EventSelector to "EventDropped"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("EventSelector")->SetCurrentEntry("EventDropped");

C#

// Determine the current entry of EventSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("EventSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of EventSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("EventSelector").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
  if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
          && (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
  {
      availableEntries.Add(allEntries[i].SymbolicValue());
  }
}
// Set EventSelector to "EventDropped"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("EventSelector").SetCurrentEntry("EventDropped");

Python

# Determine the current entry of EventSelector (str)
value = nodeMapRemoteDevice.FindNode("EventSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of EventSelector
allEntries = nodeMapRemoteDevice.FindNode("EventSelector").Entries()
availableEntries = []
for entry in allEntries:
  if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
          and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
      availableEntries.append(entry.SymbolicValue())
 
# Set EventSelector to "EventDropped" (str)
nodeMapRemoteDevice.FindNode("EventSelector").SetCurrentEntry("EventDropped")

© 2024 IDS Imaging Development Systems GmbH