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.

Specifies which signal state of the TimerTriggerSource signal activates the timer.

hint_info

Make sure that you specify the TimerTriggerSource before choosing a TimerTriggerActivation because not all activation values are available with all sources.

Name

TimerTriggerActivation[TimerSelector]

Category

CounterAndTimerControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

RisingEdge

FallingEdge

AnyEdge

LevelHigh

LevelLow

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Values description

RisingEdge: Starts the timer on the rising edge of the TimerTriggerSource signal.

FallingEdge: Starts the timer on the falling edge of the TimerTriggerSource signal.

AnyEdge: Starts the timer on the falling and rising edge of the TimerTriggerSource signal.

LevelHigh: The timer runs as long as the level of the TimerTriggerSource signal is HIGH.

LevelLow: The timer runs as long as the level of the TimerTriggerSource signal is LOW.

Code example

C++

// Before accessing TimerTriggerActivation, make sure TimerTriggerSource is set correctly
// Set TimerTriggerSource to "AcquisitionStart"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerSource")->SetCurrentEntry("AcquisitionStart");
// Determine the current entry of TimerTriggerActivation
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerActivation")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of TimerTriggerActivation
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerActivation")->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 TimerTriggerActivation to "RisingEdge"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerTriggerActivation")->SetCurrentEntry("RisingEdge");

C#

// Before accessing TimerTriggerActivation, make sure TimerTriggerSource is set correctly
// Set TimerTriggerSource to "AcquisitionStart"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerSource").SetCurrentEntry("AcquisitionStart");
// Determine the current entry of TimerTriggerActivation
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerActivation").CurrentEntry().SymbolicValue();
// Get a list of all available entries of TimerTriggerActivation
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerActivation").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 TimerTriggerActivation to "RisingEdge"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerTriggerActivation").SetCurrentEntry("RisingEdge");

Python

# Before accessing TimerTriggerActivation, make sure TimerTriggerSource is set correctly
# Set TimerTriggerSource to "AcquisitionStart" (str)
nodeMapRemoteDevice.FindNode("TimerTriggerSource").SetCurrentEntry("AcquisitionStart")
# Determine the current entry of TimerTriggerActivation (str)
value = nodeMapRemoteDevice.FindNode("TimerTriggerActivation").CurrentEntry().SymbolicValue()
# Get a list of all available entries of TimerTriggerActivation
allEntries = nodeMapRemoteDevice.FindNode("TimerTriggerActivation").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 TimerTriggerActivation to "RisingEdge" (str)
nodeMapRemoteDevice.FindNode("TimerTriggerActivation").SetCurrentEntry("RisingEdge")

© 2024 IDS Imaging Development Systems GmbH