- All Implemented Interfaces:
- Enclosing class:
public static enum Timestamp.TimestampSource extends Enum<Timestamp.TimestampSource>
Nested Class Summary
Enum Constant Summary
Fields Modifier and Type Field Description
Modifier and Type Method Description
valueOf(int value)Gets TimestampSource from specified value
valueOf(String name)Returns the enum constant of this type with the specified name.
values()Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
Timestamp as reported by the system. This timestamp is captured when the system receives the signal value.
This timestamp is present on all systems and is guaranteed to be monotonic. However, this timestamp is the least accurate due to processing delays within the system.
Timestamp as reported by the CANivore. This timestamp is captured when the CANivore receives the signal value.
The CANivore is synchronized to the system monotonic clock and benefits from reduced latency over the
On the native roboRIO CAN bus, this timestamp is equivalent to the
When used with CANivore, the only inaccuracy in this measurement is latency from CAN bus arbitration.
This timestamp source is not currently implemented in this version of Phoenix Pro.
Timestamp as reported by the device. This timestamp is captured when the device transmits the signal value. Because it is timestamped in the device, it is the most accurate timestamp source.
This timestamp is synchronized to the CANivore clock, which is itself synchronized to the system monotonic clock. As a result, this timestamp source requires a CANivore.
It can be assumed there is no latency between this timestamp and when the data was taken.
Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Gets TimestampSource from specified value
value- Value of TimestampSouce
- TimestampSource of specified value