General Phidget Programming: Difference between revisions

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


----
----
[[Image:phidget_programming_basics.jpg|link=[[Phidget Programming Basics]]|100px|left]]
[[Image:phidget_programming_basics.jpg|link=Phidget Programming Basics|100px|left]]




Line 18: Line 18:


----
----
[[Image:using_multiple_phidgets.jpg|link=Using Multiple Phidgets|100px|left]]


[[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.
[[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.
 
<br clear="all">
----
----


Line 26: Line 28:


----
----
[[Image:logging_exceptions_errors.jpg|link=Logging, Exceptions, and Errors|100px|left]]


[[Logging, Exceptions, and Errors]] - Learn about all the tools you can use to debug your program.
[[Logging, Exceptions, and Errors]] - Learn about all the tools you can use to debug your program.
 
<br clear="all">
----
----



Revision as of 15:14, 25 April 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 - 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 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.


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