Method: Phidgets::CurrentInput#setDataInterval

Defined in:
ext/phidgets/phidgets_current_input.c

#setDataInterval(interval) ⇒ Object Also known as: data_interval=

The DataInterval is the time that must elapse before the channel will fire another CurrentChange event. The data interval is bounded by MinDataInterval and MaxDataInterval. The timing between CurrentChange events can also affected by the CurrentChangeTrigger.



46
47
48
49
# File 'ext/phidgets/phidgets_current_input.c', line 46

VALUE ph_current_input_set_data_interval(VALUE self, VALUE interval) {
  ph_raise(PhidgetCurrentInput_setDataInterval((PhidgetCurrentInputHandle)get_ph_handle(self), NUM2UINT(interval)));
  return Qnil;
}