IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Selects the type of trigger to configure.
Name |
TriggerSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Beginner |
Values |
AcquisitionStart AcquisitionEnd ExposureStart ExposureEnd FrameStart LineStart ReadOutStart |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•AcquisitionStart: Selects a trigger that starts the acquisition of one or more images according to AcquisitionMode. This feature is only supported by uEye+ cameras (GV and U3 models).
•AcquisitionEnd: Selects a trigger that ends the acquisition of one or more images according to AcquisitionMode. This feature is only supported by uEye+ cameras (GV and U3 models).
•ExposureStart: Selects a trigger controlling the start of the exposure of one image.
•ExposureEnd: Selects a trigger controlling the end of the exposure of one image. This feature is only supported by uEye+ cameras (GV and U3 models).
•FrameStart: Selects a trigger starting the capture of one image. This feature is only supported by uEye+ cameras (GV and U3 models).
•LineStart: Selects a trigger starting the capture of one line of an image (mainly used in line scan mode). This feature is only supported by uEye+ cameras (GV and U3 models).
•ReadOutStart: Selects a trigger that starts the readout of the next frame. This feature is only supported by uEye+ cameras (GV and U3 models).
The TriggerSelector is limited to the values "LineStart" and "FrameStart" in the SensorOperationMode "Linescan". |
Code example
C++
// Determine the current entry of TriggerSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TriggerSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of TriggerSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TriggerSelector")->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 TriggerSelector to "ExposureStart"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TriggerSelector")->SetCurrentEntry("ExposureStart");
C#
// Determine the current entry of TriggerSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TriggerSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of TriggerSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TriggerSelector").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 TriggerSelector to "ExposureStart"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TriggerSelector").SetCurrentEntry("ExposureStart");
Python
# Determine the current entry of TriggerSelector (str)
value = nodeMapRemoteDevice.FindNode("TriggerSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of TriggerSelector
allEntries = nodeMapRemoteDevice.FindNode("TriggerSelector").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 TriggerSelector to "ExposureStart" (str)
nodeMapRemoteDevice.FindNode("TriggerSelector").SetCurrentEntry("ExposureStart")