Packagefunnel
Classpublic class Fio
InheritanceFio Inheritance IOSystem Inheritance flash.events.EventDispatcher

FioクラスはFunnel I/Oモジュールを扱うためのクラスです。



Public Properties
 PropertyDefined by
 InheritedautoUpdate : Boolean
出力ポートを手動で更新する場合はfalseにします。
IOSystem
  FIRMATA : Configuration
[static][read-only] Fio用のデフォルトのコンフィギュレーションを取得します。
Fio
 InheritedsamplingInterval : int
サンプリング間隔
IOSystem
Public Methods
 MethodDefined by
  
Fio(nodes:Array = null, config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)
Fio
 Inherited
ioModule(moduleNum:uint):IOModule
moduleNumで指定した番号のI/Oモジュールを取得します。
IOSystem
 Inherited
sendSysex(moduleNum:uint, command:uint, sysexMessage:Array):void
IOSystem
 Inherited
update():void
全ての出力ポートの値を更新します。通常、autoUpdateをfalseに設定して利用します。
IOSystem
Events
 EventSummaryDefined by
 Inherited 指定したコンフィギュレーションの設定に失敗したとき送出されます。 IOSystem
 Inherited エラーが起きたとき送出されます。 IOSystem
 Inherited This event will be sent when I2C power pins of an I/O module is ready IOSystem
 Inherited This event will be sent when an I/O module is ready IOSystem
 Inherited I/Oモジュールの再起動に失敗したとき送出されます。 IOSystem
Public Constants
 ConstantDefined by
  ALL : uint = 0xFFFF
[static] 全てのモジュールを表します。fio.module(ALL).pin(10).value = xのようにすることで、全モジュールの10番目のピンの値をxに設定します。
Fio
Protected Constants
 ConstantDefined by
 InheritedI2C_POWER_PINS_STARTUP_TIME : uint = 500
[static]
IOSystem
Property detail
FIRMATAproperty
FIRMATA:Configuration  [read-only]

Fio用のデフォルトのコンフィギュレーションを取得します。

Implementation
    public static function get FIRMATA():Configuration
Constructor detail
Fio()constructor
public function Fio(nodes:Array = null, config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)

Parameters
nodes:Array (default = null) — 利用するモジュールのID配列
 
config:Configuration (default = null) — コンフィギュレーション
 
host:String (default = "localhost") — ホスト名
 
portNum:Number (default = 9000) — ポート番号
 
samplingInterval:int (default = 33) — サンプリング間隔(ms)
Constant detail
ALLconstant
public static const ALL:uint = 0xFFFF

全てのモジュールを表します。fio.module(ALL).pin(10).value = xのようにすることで、全モジュールの10番目のピンの値をxに設定します。