TimestampTimestampSource Enumeration

Source of the timestamp.

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public enum TimestampSource

Members

System0 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.

CANivore1 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 System timestamp.

On the native roboRIO CAN bus, this timestamp is equivalent to the System timestamp.

When used with CANivore, the only inaccuracy in this measurement is latency from CAN bus arbitration.

Device2 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.

See Also