Indicates the expected precision of the device's PTP clock when it is the grandmaster or if it becomes the grandmaster.
Name |
PtpClockAccuracy |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
Within25ns Within100ns Within250ns Within1us Within2p5us Within10us Within25us Within100us Within250us Within1ms Within2p5ms Within10ms Within25ms Within100ms Within250ms Within1s Within10s GreaterThan10s AlternatePTPProfile Unknown |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Within25ns: Expected accuracy is better than 25 ns.
•Within100ns: Expected accuracy is better than 100 ns.
•Within250ns: Expected accuracy is better than 250 ns.
•Within1us: Expected accuracy is better than 1 µs.
•Within2p5us: Expected accuracy is better than 2.5 µs.
•Within10us: Expected accuracy is better than 10 µs.
•Within25us: Expected accuracy is better than 25 µs.
•Within100us: Expected accuracy is better than 100 µs.
•Within250us: Expected accuracy is better than 250 µs.
•Within1ms: Expected accuracy is better than 1 ms.
•Within2p5ms: Expected accuracy is better than 2.5 ms.
•Within10ms: Expected accuracy is better than 10 ms.
•Within25ms: Expected accuracy is better than 25 ms.
•Within100ms: Expected accuracy is better than 100 ms.
•Within250ms: Expected accuracy is better than 250 ms.
•Within1s: Expected accuracy is better than 1 s.
•Within10s: Expected accuracy is better than 10 s.
•GreaterThan10s: Expected accuracy is greater than 10 s.
•AlternatePTPProfile: Alternate PTP profile.
•Unknown: The expected accuracy is unknown.
Code example
C++
// Determine the current entry of PtpClockAccuracy
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PtpClockAccuracy")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of PtpClockAccuracy
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PtpClockAccuracy")->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 PtpClockAccuracy
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PtpClockAccuracy").CurrentEntry().SymbolicValue();
// Get a list of all available entries of PtpClockAccuracy
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PtpClockAccuracy").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 PtpClockAccuracy (str)
value = nodeMapRemoteDevice.FindNode("PtpClockAccuracy").CurrentEntry().SymbolicValue()
# Get a list of all available entries of PtpClockAccuracy
allEntries = nodeMapRemoteDevice.FindNode("PtpClockAccuracy").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())