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.

Selects which internal acquisition or I/O source signal to output on the selected line.

hint_info

LineSource is only applied if LineMode is set to "Output".

Name

LineSource[LineSelector]

Category

DigitalIOControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Expert

Values

Off

AcquisitionActive

Counter0Active

Counter1Active

ExposureActive

FlashActive

FrameActive

Line1Signal

PPS

PWM0

ReadOutActive

SignalMultiplier0

Timer0Active

Timer1Active

UserOutput0

UserOutput1

UserOutput2

UserOutput3

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

hint_info

Note for uEye cameras (UI models)

LineMode must be set to "Output" in order to set LineSource.

If you want to apply a flash signal to a GPIO, you must set "Line1Signal" as LineSource for the GPIO (Line2 or Line3) and configure Line1 as a flash.

Values description

Off: Line output is disabled.

AcquisitionActive: The camera is currently acquiring images. This feature is only supported by uEye+ cameras (GV and U3 models).

Counter0Active, Counter1Active: The chosen counter is active. This feature is only supported by uEye+ cameras (GV and U3 models).

ExposureActive: The camera is exposing an image. This feature is only supported by uEye+ cameras (GV and U3 models).

FlashActive: The "FlashActive" signal is HIGH.
This setting is only available for uEye cameras if the TriggerMode is "On".

FrameActive: The camera is currently capturing one image. Only available in SensorOperationMode "Linescan". This feature is only supported by uEye+ cameras (GV and U3 models).

Line1Signal: The signal from Line1 is mirrored, e.g. “FlashActive”. This feature is only supported by uEye cameras (UI models).

PPS: The PTP synchronization signal (pulse per second). This feature is only supported by GigE Vision cameras (GV models).

PWM0: The output of PWM0.

ReadOutActive: The camera is currently doing a sensor readout of an image. This feature is only supported by uEye+ cameras (GV and U3 models).

SignalMultiplier0: The generated signal from "SignalMultiplier0" is output on the selected line. This feature is only supported by GigE Vision cameras (GV models).

Timer0Active, Timer1Active: The chosen timer is active. This feature is only supported by uEye+ cameras (GV and U3 models).

UserOutput0, UserOutput1, UserOutput2, UserOutput3: The current UserOutputValue of the chosen user output.

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH