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

NameDescriptionTypeDefault
classThe class name for the module; must be "Phidgets".string
nameThe name of this instance of the module.string
serialSerial 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 connectedint176729
infoInformation about the boards will be printed to stdout.booltrue
sensitivitySensitivity trigger. Defines how much a value must varie before registered. Can be use for some light filtering. 0 = all values.int10
ratiometricRatiometric mode. See www.phidgets.com for information about ratiometric mode.inttrue

Module Connections

Inputs

NameDescription
DIGITAL_INPUTSDigital output of the board (module inputs)

Outputs

NameDescription
ATTACHED1 if the board is connected.
ANALOG_OUTPUTSAnalog inputs of the board is forwarded to analog output of this module
DIGITAL_OUTPUTSDigital 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

blog comments powered by Disqus