Phidget Channels

From Phidgets Support
Revision as of 15:57, 6 March 2019 by Burley (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2 . Phidget Channels

To program with Phidgets, it is important to understand how the physical input and output channels of Phidget devices correspond to the software controlling them.

What are Phidget channels?

Each part of a Phidget's behaviour is split into individual parts called Channels. Each channel represents a single part of a device, such as a single input on a digital input Phidget, the humidity sensor on a humidity Phidget, or one motor on a DC motor controller.

Each channel has a Channel Class, corresponding to the type of function the channel performs. For example, a DCMotor channel will control a DC motor, a TemperatureSensor channel will measure temperature, and an RFID channel will deal with an RFID reader.

Phidget Channels w Panel.png


Each channel class is designed to make using channels of that class as similar as possible, regardless of the Phidget they are a part of. For example, every VoltageInput channel has functions to set the data interval and read the voltage on the input.

Each channel class also provides settings unique to devices in that class, such as the ability to set a QuietMode on sonar sensors, which use the DistanceSensor class.

You can find out what channel classes are available to your Phidget by looking at its User Guide.