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 the target file in the camera that will be subject to the operation selected by FileOperationSelector.

Name

FileSelector

Category

FileAccessControl

Interface

Enumeration

Access

Read/Write

Unit

-

Visibility

Guru

Values

UserData1

UserData2

CriticalEventLog

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

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

Values description

UserData1:
uEye+ (GV and U3 models): User-defined data file with max. 64 kB size.
uEye (UI models): User-defined data file with max. 64 B size.

UserData2:
uEye+ (GV and U3 models): User-defined data file with max. 64 kB size.
uEye (UI models): User-defined data file with max. 64 kB size. Note: "UserData2" is not supported by all camera families.

CriticalEventLog: Read-only log file that contains information about critical events. The file can provide helpful information in case of service request. This feature is only supported by uEye+ cameras (GV and U3 models).

Code example

C++

// Determine the current entry of FileSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("FileSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of FileSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("FileSelector")->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 FileSelector to "UserData1"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("FileSelector")->SetCurrentEntry("UserData1");

C#

// Determine the current entry of FileSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("FileSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of FileSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("FileSelector").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 FileSelector to "UserData1"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("FileSelector").SetCurrentEntry("UserData1");

Python

# Determine the current entry of FileSelector (str)
value = nodeMapRemoteDevice.FindNode("FileSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of FileSelector
allEntries = nodeMapRemoteDevice.FindNode("FileSelector").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 FileSelector to "UserData1" (str)
nodeMapRemoteDevice.FindNode("FileSelector").SetCurrentEntry("UserData1")

© 2024 IDS Imaging Development Systems GmbH