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.

Controls if the selected trigger is active.

Name

TriggerMode[TriggerSelector]

Category

AcquisitionControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Beginner

Values

Off
On

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

Values description

Off: Disables the selected trigger.

On: Enables the selected trigger.

hint_info

The access changes to read-only during an acquisition.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH