IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
If TriggerDivider is set to a value x > 1, only every xth source signal will activate the trigger.
Using TriggerDivider can be useful for source signals with high frequency. It reduces the signal to the desired frequency for acquisition. A typical example is an encoder. |
Name |
TriggerDivider[TriggerSelector] |
Category |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
1 … 64 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Code example
C++
// Before accessing TriggerDivider, make sure TriggerSelector is set correctly
// Set TriggerSelector to "ExposureStart"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TriggerSelector")->SetCurrentEntry("ExposureStart");
// Determine the current TriggerDivider
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("TriggerDivider")->Value();
// Set TriggerDivider to 1
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("TriggerDivider")->SetValue(1);
C#
// Before accessing TriggerDivider, make sure TriggerSelector is set correctly
// Set TriggerSelector to "ExposureStart"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TriggerSelector").SetCurrentEntry("ExposureStart");
// Determine the current TriggerDivider
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("TriggerDivider").Value();
// Set TriggerDivider to 1
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("TriggerDivider").SetValue(1);
Python
# Before accessing TriggerDivider, make sure TriggerSelector is set correctly
# Set TriggerSelector to "ExposureStart" (str)
nodeMapRemoteDevice.FindNode("TriggerSelector").SetCurrentEntry("ExposureStart")
# Determine the current TriggerDivider (int)
value = nodeMapRemoteDevice.FindNode("TriggerDivider").Value()
# Set TriggerDivider to 1 (int)
nodeMapRemoteDevice.FindNode("TriggerDivider").SetValue(1)