Module: TesterStdLib

Included in:
TesterStdLibDev::Interface
Defined in:
lib/tester_std_lib.rb,
lib/tester_std_lib/v93k.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.add_v93k_std_lib(i) ⇒ Object



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/tester_std_lib/v93k.rb', line 2

def self.add_v93k_std_lib(i)
  i.add_tml :origen,
            class_name:            'origen_tml',

            functional_test:       {
            },

            dc_measurement:        {
              class_name:       'DCMeasurement',

              apply_shutdown:   [:integer, 0],
              shutdown_pattern: [:string, nil],
              measure:          [:string, 'VOLT', %w(VOLT CURR)],
              settling_time:    [:double, 0],
              pin:              [:string, nil],
              force_value:      [:double, 0],
              i_range:          [:integer, 0]
            },

            frequency_measurement: {
              period_based: [:integer, 0],
              pin:          [:string, nil],
              samples:      [:integer, 2000],
              period_in_ns: [:integer, nil]
            }
end

Instance Method Details

#initialize(*args) ⇒ Object



20
21
22
23
24
25
# File 'lib/tester_std_lib.rb', line 20

def initialize(*args)
  super
  if tester.v93k?
    TesterStdLib.add_v93k_std_lib(self)
  end
end