Phidgets
A module for comunication with a Phidgets IOBoard. It uses the Phidgets own library.
Example XML definition
A simple example
<module class = "Phidgets" name = "Phidgets" serial = "123123" info = "true" sensitivify = "10" ratiometric = "true" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Phidgets". | string | |
name | The name of this instance of the module. | string | |
serial | Serial of the board. This is only needed if you running multiple boards on the same computer. Comment this line and turn on info to get the serial of the board currently connected | int | 176729 |
info | Information about the boards will be printed to stdout. | bool | true |
sensitivity | Sensitivity trigger. Defines how much a value must varie before registered. Can be use for some light filtering. 0 = all values. | int | 10 |
ratiometric | Ratiometric mode. See www.phidgets.com for information about ratiometric mode. | int | true |
Module Connections
Inputs
Name | Description |
---|---|
DIGITAL_INPUTS | Digital output of the board (module inputs) |
Outputs
Name | Description |
---|---|
ATTACHED | 1 if the board is connected. |
ANALOG_OUTPUTS | Analog inputs of the board is forwarded to analog output of this module |
DIGITAL_OUTPUTS | Digital inputs of the board is forwarded to digital output of this module |
Author
Birger Johansson
m@birgerjohansson.com
Lund University Cognitive Science
Files
Phidgets.h
Phidgets.cc
Phidgets.ikc