Online documentation for PhidgetServo
Generated 2006-03-17
Used to control a 1-motor or 4-motor Phidget Servo board.
Summary
This component can be used to connect and to control a
PhidgetServo board.
Description
This component can be used to connect to a 1-motor or 4-motor
PhidgetServo board. This means that it can be used to control
the motor position of any servo motors that are connected
to this board. 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 PhidgetServo board
Before using this component, you should (in this order)
- connect as many motors as are required to your PhidgetServo
board
- connect your board, via USB, to your computer
Configuration
If you only have one PhidgetServo board connected to your computer,
then simply create a PhidgetServo component, and set its configured
property to true. The component will then connect to the board and
create the correct number of servoout 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
To control the position of any servo motors attached to the board,
set the values of the servoout properties to any value in the
range 0.0-1.0 (corresponds to a positional range of 0-180 deg).