Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

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

UserOutput0

UserOutput1

UserOutput2

UserOutput3

AcquisitionActive

FlashActive

FrameActive

ExposureActive

Counter0Active

Counter1Active

Timer0Active

Timer1Active

PWM0

PPS

ReadOutActive

SignalMultiplier0

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

hint_info

For uEye cameras, LineMode must be set to "Output" in order to set LineSource.

Values description

Off: Line output is disabled.

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

AcquisitionActive: The camera is currently acquiring images. 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).

ExposureActive: The camera is exposing an image. 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).

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

PWM0: The output of PWM0.

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

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).

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