PhidgetBridge |
A class for controlling a PhidgetBridge. See your product manual for more specific API details, supported functionality, units, etc.
PhidgetBridge | A class for controlling a PhidgetBridge. |
Events | Events supported by PhidgetBridge. |
Constants | |
Bridge Gains | These are the Gains supported by PhidgetBridge. |
Properties and Functions | |
InputCount | Gets the number of inputs on this bridge. |
DataRate | Gets the number of inputs on this bridge. |
DataRateMin | Gets the number of inputs on this bridge. |
DataRateMax | Gets the number of inputs on this bridge. |
getEnabled | Gets the enabled state of an input. |
getBridgeValue | Gets the value of an input, in mV/V |
getBridgeMin | Gets minimum bridge value, in mV/V |
getBridgeMax | Gets maximum bridge value, in mV/V |
getGain | Gets the gain for an input. |
DataRate | Sets the data rate of the board, in ms. |
setEnabled | Enables/Disables an input. |
setGain |
public function setGain( index: int, val: int ):void
Sets the gain for an input. Set to one of the defined gains | PHIDGET_BRIDGE_GAIN_1 - PHIDGET_BRIDGE_GAIN_128. |
index | input index |
val | state |
Gets the number of inputs on this bridge.
public function get InputCount():int
Gets the number of inputs on this bridge.
public function get DataRate():int
Gets the number of inputs on this bridge.
public function get DataRateMin():int
Gets the number of inputs on this bridge.
public function get DataRateMax():int
Gets the enabled state of an input.
public function getEnabled( index: int ):Boolean
Gets the value of an input, in mV/V
public function getBridgeValue( index: int ):Number
Gets minimum bridge value, in mV/V
public function getBridgeMin( index: int ):Number
Gets maximum bridge value, in mV/V
public function getBridgeMax( index: int ):Number
Gets the gain for an input.
public function getGain( index: int ):int
Enables/Disables an input.
public function setEnabled( index: int, val: Boolean ):void
public function setGain( index: int, val: int ):void