General Phidget Programming: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
Line 42: Line 42:


[[Phidget Network Server]] - Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet.
[[Phidget Network Server]] - Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet.
<br clear="all">
----
[[Image:best_practices_icon.jpg|link=Best Phidgets Practices|100px|left]]
[[Best Phidgets Practices]] - Good programming habits that will save you from common problems when writing code for Phidgets.
<br clear="all">
<br clear="all">
----
----

Revision as of 19:47, 3 May 2017

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

By this point, you should have installed the drivers for your operating system and the libraries for your specific programming language.



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 Phidgets.