IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Selects the LED to be controlled by LEDTriggerSource.
This feature is supported by the following camera families: •GigE uEye+ Warp10 (status and network LED) •GigE uEye+ CP Rev. 2.2 (status LED only) •GigE uEye+ FA Rev. 1.2 (status and network LED) •GigE uEye+ SE Rev. 4.2 (status and network LED) •USB 3 uEye+ CP Rev. 2.2 (status LED only) •uEye+ SE USB 3.1 Gen 1 Rev. 1.2 (status LED only) •uEye+ LE USB 3.1 Gen 1 Rev. 1.2 (status LED only) |
Name |
LEDSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Beginner |
Values |
•LEDNetwork •LEDStatus |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•LEDNetwork: Selects the network LED.
•LEDStatus: Selects the status LED.
Code example
C++
// Determine the current entry of LEDSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LEDSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of LEDSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LEDSelector")->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 LEDSelector to "LEDStatus"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("LEDSelector")->SetCurrentEntry("LEDStatus");
C#
// Determine the current entry of LEDSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LEDSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of LEDSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LEDSelector").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 LEDSelector to "LEDStatus"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("LEDSelector").SetCurrentEntry("LEDStatus");
Python
# Determine the current entry of LEDSelector (str)
value = nodeMapRemoteDevice.FindNode("LEDSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of LEDSelector
allEntries = nodeMapRemoteDevice.FindNode("LEDSelector").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 LEDSelector to "LEDStatus" (str)
nodeMapRemoteDevice.FindNode("LEDSelector").SetCurrentEntry("LEDStatus")