General Phidget Programming

From Phidgets Support
Revision as of 16:55, 4 July 2018 by Mparadis (talk | contribs)

This page presents the general concepts needed to write code for a Phidget.

By this point, you should have already done the following:

  1. Installed the drivers for your operating system
  2. Installed any libraries and downloaded required files for your chosen programming language.
  3. Downloaded and successfully run code samples (instructions found on language page)



Phidget programming basics.jpg

Phidget Programming Basics

Here you can find the basic concepts to help you get started with making your own programs that use Phidgets.


Data interval change trigger.jpg

Data Interval/Change Trigger

Learn about these two properties that control how much data comes in from your sensors.


Using multiple phidgets.jpg

Using Multiple Phidgets

It can be difficult to figure out how to use more than one Phidget in your program. This page will guide you through the steps.


Polling events.jpg

Polling vs. Events

Your program can gather data in either a polling-driven or event-driven manner. Learn the difference to determine which is best for your application.


Logging exceptions errors.jpg

Logging, Exceptions, and Errors

Learn about all the tools you can use to debug your program.


Network service icon.jpg

Phidget Network Server

Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet.


Best practices icon.jpg

Best Phidgets Practices

Good programming habits that will save you from common problems when writing code for your Phidgets.