PhidgetInterfaceKit |
A class for controlling a PhidgetInterfaceKit. See your product manual for more specific API details, supported functionality, units, etc.
PhidgetInterfaceKit | A class for controlling a PhidgetInterfaceKit. |
Events | Events supported by PhidgetInterfaceKit. |
Properties and Functions | |
InputCount | Gets the number of digital inputs supported by this board. |
OutputCount | Gets the number of digital outputs supported by this board. |
SensorCount | Gets the number of sensors (analog inputs) supported by this board |
Ratiometric | Gets the ratiometric state for the board. |
getInputState | Gets the state of a digital input. |
getOutputState | Gets the state of a digital output. |
getSensorValue | Gets the value of a sensor (0-1000). |
getSensorRawValue | Gets the raw 12-bit value of a sensor (0-4095). |
getSensorChangeTrigger | Gets the change trigger for a sensor. |
getDataRate | Gets the data rate for a sensor, in milliseconds. |
DataRateMin | Gets the minimum data rate for a sensor, in milliseconds. |
DataRateMax | Gets the maximum data rate for a sensor, in milliseconds. |
setOutputState | Sets the state of a digital output. |
setSensorChangeTrigger | Sets the change trigger for a sensor. |
Ratiometric | Sets the ratiometric state for a board. |
setDataRate | Sets the data rate for a sensor, in milliseconds. |
Gets the number of digital inputs supported by this board.
public function get InputCount():int
Gets the number of digital outputs supported by this board.
public function get OutputCount():int
Gets the number of sensors (analog inputs) supported by this board
public function get SensorCount():int
Gets the ratiometric state for the board.
public function get Ratiometric():Boolean
Gets the state of a digital input.
public function getInputState( index: int ):Boolean
Gets the state of a digital output.
public function getOutputState( index: int ):Boolean
Gets the value of a sensor (0-1000).
public function getSensorValue( index: int ):int
Gets the raw 12-bit value of a sensor (0-4095).
public function getSensorRawValue( index: int ):int
Gets the change trigger for a sensor.
public function getSensorChangeTrigger( index: int ):int
Gets the data rate for a sensor, in milliseconds.
public function getDataRate( index: int ):int
Gets the minimum data rate for a sensor, in milliseconds.
public function getDataRateMin( index: int ):int
Gets the maximum data rate for a sensor, in milliseconds.
public function getDataRateMax( index: int ):int
Sets the state of a digital output.
public function setOutputState( index: int, val: Boolean ):void
Sets the change trigger for a sensor.
public function setSensorChangeTrigger( index: int, val: int ):void
Sets the data rate for a sensor, in milliseconds.
public function setDataRate( index: int, val: int ):void