|
TsscDecoderTryGetMeasurement Method
|
Reads the next measurement from the stream. If the end of the stream has been encountered,
return false.
Namespace: GSF.TimeSeries.Transport.TSSCAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.246-beta
Syntaxpublic bool TryGetMeasurement(
out ushort id,
out long timestamp,
out uint quality,
out float value
)
Public Function TryGetMeasurement (
<OutAttribute> ByRef id As UShort,
<OutAttribute> ByRef timestamp As Long,
<OutAttribute> ByRef quality As UInteger,
<OutAttribute> ByRef value As Single
) As Boolean
public:
bool TryGetMeasurement(
[OutAttribute] unsigned short% id,
[OutAttribute] long long% timestamp,
[OutAttribute] unsigned int% quality,
[OutAttribute] float% value
)
member TryGetMeasurement :
id : uint16 byref *
timestamp : int64 byref *
quality : uint32 byref *
value : float32 byref -> bool
function TryGetMeasurement(id, timestamp, quality, value);
View SourceParameters
- id UInt16
- the id
- timestamp Int64
- the timestamp in ticks
- quality UInt32
- the quality
- value Single
- the value
Return Value
Booleantrue if successful, false otherwise.
See Also