Struct ScanSyncData
Global time synchronization and encoder information sent from the ScanSync to all ScanHeads. This data should only be used for diagnostic purposes. Any relevant optimization information relating to timing or the encoder will be in the IProfile.
Namespace: JoeScan.Pinchot
Assembly: JoeScan.Pinchot.dll
Syntax
public readonly struct ScanSyncData
Properties
| Improve this Doc View SourceAuxYTimestampNs
Timestamp of when signal for aux Y input last went high.
Declaration
public readonly ulong AuxYTimestampNs { get; }
Property Value
Type | Description |
---|---|
UInt64 |
EncoderTimestampNs
The time the encoder was sampled.
Declaration
public readonly ulong EncoderTimestampNs { get; }
Property Value
Type | Description |
---|---|
UInt64 |
EncoderValue
The value of the encoder.
Declaration
public readonly long EncoderValue { get; }
Property Value
Type | Description |
---|---|
Int64 |
Flags
Encoder inputs and faults.
Declaration
public readonly EncoderFlags Flags { get; }
Property Value
Type | Description |
---|---|
EncoderFlags |
IndexZTimestampNs
Timestamp of when signal for index Z input last went high.
Declaration
public readonly ulong IndexZTimestampNs { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Sequence
A monotonically increasing number that gets incremented for each global ScanSync update.
Declaration
public readonly uint Sequence { get; }
Property Value
Type | Description |
---|---|
UInt32 |
SerialNumber
The serial number of the ScanSync.
Declaration
public readonly uint SerialNumber { get; }
Property Value
Type | Description |
---|---|
UInt32 |
SyncTimestampNs
Timestamp of when signal for sync input last went high.
Declaration
public readonly ulong SyncTimestampNs { get; }
Property Value
Type | Description |
---|---|
UInt64 |