Online documentation for PhidgetInterfaceKit
Generated 2006-03-17
Used to control a PhidgetInterfaceKit.
Summary
This component can be used to connect to and control
a PhidgetInterfaceKit.
Description
This component can be used to connect to any of the variety
of available PhidgetInterfaceKits. These devices can be
used to gather both analog and digital inputs, and to
produce digital outputs. For more information, see
http://www.phidgets.com.
Installation
Installing the Phidget library
Before using any Phidget component, you should install the
Phidget library. This can be downloaded from
http://www.phidgets.com - click downloads, then
release then download and install PHIDGET.msi.
Installing a PhidgetInterfaceKit board
Before using this component, you should (in this order)
- connect as sensors that are required to your
PhidgetInterfaceKit board
- connect your board, via USB, to your computer
Configuration
If you only have one PhidgetInterfaceKit board connected to your computer,
then simply create a PhidgetInterfaceKit component, and set its configured
property to true. The component will then connect to the board and
create the correct number of digitalin,digitalout
and analogin properties for the board
that you have used. If you have more than one board connected, find
out the serial number of the board you wish to connect, specify this
using the configSerialNumber property, and then set the
configured property to true.
Usage
digitalin and analogin properties will automatically
update to match the signals being received by the board.
You can set any of the digitalout properties to a value in
the range 0.0-1.0, and the board will then change the relevant
digital output.