Class: Phidgets::Analog

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/phidgets-ffi/analog.rb

Overview

This class represents a PhidgetAnalog.

Defined Under Namespace

Classes: AnalogOutputs

Constant Summary collapse

Klass =
Phidgets::FFI::CPhidgetAnalog

Instance Attribute Summary collapse

Method Summary

Methods included from Common

#attached?, #attached_to_server?, attributes, #close, #detached?, #detached_to_server?, device_class, #device_class, device_id, #id, #initialize, #label, #label=, #name, #on_attach, #on_detach, #on_error, #on_server_connect, #on_server_disconnect, #on_sleep, #on_wake, #serial_number, #server_address, server_address, #server_id, server_id, server_status, #type, #version, #wait_for_attachment

Instance Attribute Details

#attributesObject (readonly)

The attributes of a PhidgetAnalog



16
17
18
# File 'lib/phidgets-ffi/analog.rb', line 16

def attributes
  @attributes
end

#outputsAnalogOutputs (readonly)

Collection of analog outputs

Returns:



11
12
13
# File 'lib/phidgets-ffi/analog.rb', line 11

def outputs
  @outputs
end