Class: Tdms::DataType::DoubleWithUnit

Inherits:
Base
  • Object
show all
Defined in:
lib/tdms/datatypes.rb

Constant Summary collapse

Id =
0x1A
LengthInBytes =
8

Instance Attribute Summary

Attributes inherited from Base

#value

Class Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Tdms::DataType::Base

Class Method Details

.read_from_stream(tdms_file) ⇒ Object



116
117
118
# File 'lib/tdms/datatypes.rb', line 116

def self.read_from_stream(tdms_file)
  new(tdms_file.read_double)
end