Phidget Channels: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Recommended_Flow_Links|{{Flow Page Number|{{PAGENAME}} }} }}
[[Category:Programming]]{{Recommended_Flow_Links|{{Flow Page Number|{{PAGENAME}} }} }}


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.
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.
Line 5: Line 5:
==What are Phidget channels?==
==What are Phidget channels?==


Each part of a Phidget's behaviour 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 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 {{code|DCMotor}} channel will control a DC motor, a {{code|TemperatureSensor}} channel will measure temperature, and an {{code|RFID}} channel will deal with an RFID reader.
Each channel has a '''Channel Class''', corresponding to the type of function the channel performs. For example, a {{code|DCMotor}} channel will control a DC motor, a {{code|TemperatureSensor}} channel will measure temperature, and an {{code|RFID}} channel will deal with an RFID reader.

Latest revision as of 16:57, 15 March 2021

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.