IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Selects the internal signal or physical input line that will be the source to start the timer.
Name |
TimerTriggerSource[TimerSelector] |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
Off AcquisitionTrigger AcquisitionTriggerMissed AcquisitionStart AcquisitionEnd Counter0Start Counter1Start Counter0End Counter1End ExposureTrigger ExposureTriggerMissed ExposureStart ExposureEnd FrameTrigger FrameTriggerMissed FrameStart FrameEnd LineTrigger LineTriggerMissed Line0 Line1 Line2 Line3 Line4 Line5 Line6 ReadOutStart ReadOutEnd Timer0Start Timer1Start Timer0End Timer1End UserOutput0 UserOutput1 UserOutput2 UserOutput3 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Off: Disables the timer trigger.
•AcquisitionTrigger: The timer starts with the reception of the "AcquisitionStart" trigger signal.
•AcquisitionTriggerMissed: The timer starts with the reception of a missed "AcquisitionStart" trigger signals.
•AcquisitionStart: The timer starts when an acquisition starts.
•AcquisitionEnd: The timer starts when an acquisition stops.
•Counter0Start, Counter1Start: The timer starts with the reception of the selected "CounterStart" signal.
•Counter0End, Counter1End: The timer starts with the reception of the selected "CounterEnd" signal.
•ExposureTrigger: The timer starts with the reception of the "ExposureStart" trigger signal. Only available in SensorOperationMode "LongExposure" and "Default".
•ExposureTriggerMissed: The timer starts with the reception of a missed "ExposureStart" trigger signal. Only available in SensorOperationMode "LongExposure" and "Default".
•ExposureStart: The timer starts when an exposure starts.
•ExposureEnd: The timer starts when an exposure stops.
•FrameTrigger: The timer starts with the reception of the "FrameStart" trigger signal. Only available in SensorOperationMode "Linescan".
•FrameTriggerMissed: The timer starts with the reception a missed "FrameStart" trigger signal. Only available in SensorOperationMode "Linescan".
•FrameStart: The timer starts when a frame starts. Only available in SensorOperationMode "Linescan".
•FrameEnd: The timer starts when a frame ends.
•LineTrigger: The timer starts with the reception of the "LineStart" trigger signal. Only available in SensorOperationMode "Linescan".
•LineTriggerMissed:The timer starts with the reception of a missed "LineStart" trigger signal. Only available in SensorOperationMode "Linescan".
•Line0 … Line6 (see overview): The timer is started by the chosen I/O line.
•ReadOutStart: The timer starts with the reception of the "ReadOutStart" signal.
•ReadOutEnd: The timer starts with the reception of the "ReadOutEnd" signal.
•Timer0Start, Timer1Start: The timer starts with the reception of the selected "TimerStart" signal.
•Timer0End, Timer1End: The timer starts with the reception of the selected "TimerEnd" signal.
•UserOutput0, UserOutput1, UserOutput2, UserOutput3: The timer is started by the selected "UserOutput".
Overview of available lines by camera family
This overview describes all available lines. Depending on the camera model used, not all functions may be supported.
Line |
GigE uEye+ Warp10 |
GigE uEye+ CP Rev. 2/CP Rev. 2.2 GigE uEye+ FA/FA Rev. 1.2 GigE uEye+ SE Rev. 4/SE Rev. 4.2 USB 3 uEye+ CP Rev. 2/CP 2.2 uEye+ SE USB 3.1 Gen 1/SE Rev 1.2 uEye+ LE USB 3.1 Rev. 1.2 (PCB version only) |
uEye+ XCP USB 3 Rev. 1.2 uEye+ XLE USB 3 Rev. 1.2 (PCB version only) uEye+ XLS USB 3 Rev. 1.2 |
uEye+ XLE USB 3 Rev. 1.1 (PCB version only) |
---|---|---|---|---|
Line0 |
(Trigger) Input 0 with optocoupler |
(Trigger) Input with optocoupler |
(Trigger) Input without optocoupler |
(Trigger) Input without optocoupler |
Line1 |
(Trigger) Input 1 with optocoupler |
(Flash) Output with optocoupler |
(Flash) Output without optocoupler |
(Flash) Output without optocoupler |
Line2 |
(Trigger) Input 2 with optocoupler |
GPIO 1 without optocoupler |
GPIO 1 without optocoupler |
- |
Line3 |
(Flash) Output 0 with optocoupler |
GPIO 2 without optocoupler |
GPIO 2 without optocoupler |
- |
Line4 |
(Flash) Output 1 with optocoupler |
- |
- |
- |
Line5 |
Fast (Flash) Output 2 with optocoupler |
- |
- |
- |
Line6 |
Fast (Flash) Output 3 with optocoupler |
- |
- |
- |
•Input: Physical input line that e.g. serves as trigger input (LineMode = "Input" only).
•Output: Physical output line that e.g. serves as flash output (LineMode = "Output" only).
•GPIO: Input or output line that can be used as input or output. To configure the line as input, change LineMode to "Input". To configure the line as output, change LineMode to "Output".
You will find information about the pin assignment and wiring of your camera either in the hardware descriptions of the respective camera family or in the model-specific data sheet.
Code example
C++
// Before accessing TimerTriggerSource, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerSelector")->SetCurrentEntry("Timer0");
// Determine the current entry of TimerTriggerSource
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerSource")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of TimerTriggerSource
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerSource")->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 TimerTriggerSource to "Off"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerSource")->SetCurrentEntry("Off");
C#
// Before accessing TimerTriggerSource, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerSelector").SetCurrentEntry("Timer0");
// Determine the current entry of TimerTriggerSource
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerSource").CurrentEntry().SymbolicValue();
// Get a list of all available entries of TimerTriggerSource
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerSource").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 TimerTriggerSource to "Off"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerSource").SetCurrentEntry("Off");
Python
# Before accessing TimerTriggerSource, make sure TimerSelector is set correctly
# Set TimerSelector to "Timer0" (str)
nodeMapRemoteDevice.FindNode("TimerSelector").SetCurrentEntry("Timer0")
# Determine the current entry of TimerTriggerSource (str)
value = nodeMapRemoteDevice.FindNode("TimerTriggerSource").CurrentEntry().SymbolicValue()
# Get a list of all available entries of TimerTriggerSource
allEntries = nodeMapRemoteDevice.FindNode("TimerTriggerSource").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 TimerTriggerSource to "Off" (str)
nodeMapRemoteDevice.FindNode("TimerTriggerSource").SetCurrentEntry("Off")