Protocol independent common status flags enumeration.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[SerializableAttribute] [FlagsAttribute] public enum CommonStatusFlags
<SerializableAttribute> _ <FlagsAttribute> _ Public Enumeration CommonStatusFlags
[SerializableAttribute] [FlagsAttribute] public enum class CommonStatusFlags
Members
Member | Description |
---|---|
DataDiscarded |
Data was discarded from real-time stream due to late arrival (0 when not discarded, 1 when discarded).
|
DataIsValid |
Data is valid (0 when device data is valid, 1 when invalid or device is in test mode).
|
SynchronizationIsValid |
Synchronization is valid (0 when in device is in sync, 1 when it is not).
|
DataSortingType |
Data sorting type, 0 by timestamp, 1 by arrival.
|
DeviceError |
Device error (including configuration error), 0 when no error.
|
ReservedFlags |
Reserved bits for future common flags, presently set to 0.
|
NoFlags |
No flags.
|
Remarks
These flags are expected to exist in the high-word of a double-word flag set such that original word flags remain in-tact in low-word of double-word flag set.
Note that value being stored in a historian using a 32-bit single precision floating number value will only have castable conversion accuracy back to an unsigned 32-bit integer up to the 24th bit, so any bits used beyond Bit23 will be lossy.