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.
Inherited Members
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 ulong AuxYTimestampNs { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
EncoderTimestampNs
The time the encoder was sampled.
Declaration
public ulong EncoderTimestampNs { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
EncoderValue
The value of the encoder.
Declaration
public long EncoderValue { get; }
Property Value
| Type | Description |
|---|---|
| long |
Flags
Encoder inputs and faults.
Declaration
public EncoderFlags Flags { get; }
Property Value
| Type | Description |
|---|---|
| EncoderFlags |
IndexZTimestampNs
Timestamp of when signal for index Z input last went high.
Declaration
public ulong IndexZTimestampNs { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
Sequence
A monotonically increasing number that gets incremented for each global ScanSync update.
Declaration
public uint Sequence { get; }
Property Value
| Type | Description |
|---|---|
| uint |
SerialNumber
The serial number of the ScanSync.
Declaration
public uint SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| uint |
SyncTimestampNs
Timestamp of when signal for sync input last went high.
Declaration
public ulong SyncTimestampNs { get; }
Property Value
| Type | Description |
|---|---|
| ulong |