IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the file operation execution status.
Name |
FileOperationStatus[FileSelector][FileOperationSelector] |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Guru |
Values |
Success Failure |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•Success: File operation was successful.
•Failure: File operation failed.
Code example
C++
// Determine the current entry of FileOperationStatus
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("FileOperationStatus")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of FileOperationStatus
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("FileOperationStatus")->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);
}
}
C#
// Determine the current entry of FileOperationStatus
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("FileOperationStatus").CurrentEntry().SymbolicValue();
// Get a list of all available entries of FileOperationStatus
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("FileOperationStatus").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());
}
}
Python
# Determine the current entry of FileOperationStatus (str)
value = nodeMapRemoteDevice.FindNode("FileOperationStatus").CurrentEntry().SymbolicValue()
# Get a list of all available entries of FileOperationStatus
allEntries = nodeMapRemoteDevice.FindNode("FileOperationStatus").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())