Programming Resources: Difference between revisions

From Phidgets Support
No edit summary
Line 16: Line 16:
|-
|-


|[[Image:Icon-CSharp.png|alt=C Sharp|24x24px|link=Language - C Sharp 22]] [[Language - C Sharp 22|C#]]
|[[Image:Icon-CSharp.png|alt=C Sharp|24x24px|link=Language - C Sharp]] [[Language - C Sharp|C#]]
|style="background: #f0f0ff" align=center| [[Language - C Sharp#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - C Sharp#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 27: Line 27:
|-
|-


|[[Image:Icon-C++.png|alt=C/C++|24x24px|link=Language - C/C++ 22]] [[Language - C/C++ 22|C/C++]]  
|[[Image:Icon-C++.png|alt=C/C++|24x24px|link=Language - C/C++]] [[Language - C/C++|C/C++]]  
|style="background: #f0f0ff" align=center| [[Language - C/C++#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - C/C++#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 38: Line 38:
|-
|-


|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python 22]] [[Language - Python 22|Python]]  
|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python]] [[Language - Python|Python]]  
|style="background: #f0f0ff" align=center| [[Language - Python#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Python#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 49: Line 49:
|-
|-


|[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java 22]] [[Language - Java 22|Java]]  
|[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java]] [[Language - Java|Java]]  
|style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 60: Line 60:
|-
|-


|[[Image:Icon-Visual Basic Net.png|alt=Visual Basic .NET|24x24px|link=Language - Visual Basic .NET 22]] [[Language - Visual Basic .NET 22|Visual Basic .NET]]
|[[Image:Icon-Visual Basic Net.png|alt=Visual Basic .NET|24x24px|link=Language - Visual Basic .NET]] [[Language - Visual Basic .NET|Visual Basic .NET]]
|style="background: #f0f0ff" align=center| [[Language - Visual Basic .NET#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Visual Basic .NET#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 71: Line 71:
|-
|-


|[[Image:Icon-Cocoa.png|alt=Cocoa|24x24px|link=Language - Cocoa 22]] [[Language - Cocoa 22|Cocoa]]  
|[[Image:Icon-Cocoa.png|alt=Cocoa|24x24px|link=Language - Cocoa]] [[Language - Cocoa|Cocoa]]  
|style="background: #f0f0ff" align=center| [[Language - Cocoa#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Cocoa#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 85: Line 85:
|-
|-


|[[Image:Icon-Android.png|alt=Android Java|24x24px|link=Language - Android Java 22]] [[Language - Android Java 22|Android Java]]
|[[Image:Icon-Android.png|alt=Android Java|24x24px|link=Language - Android Java]] [[Language - Android Java|Android Java]]
|style="background: #f0f0ff" align=center| [[Language - Android Java#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Android Java#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 96: Line 96:
|-
|-


|[[Image:Icon-iOS.png|alt=iOS|24x24px|link=Language - iOS 22]] [[Language - iOS 22|iOS]]
|[[Image:Icon-iOS.png|alt=iOS|24x24px|link=Language - iOS]] [[Language - iOS|iOS]]
|style="background: #f0f0ff" align=center| [[Language - iOS#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - iOS#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 110: Line 110:
|-
|-


|[[Image:Icon-LabVIEW.png|alt=LabVIEW|24x24px|link=Language - LabVIEW 22]] [[Language - LabVIEW 22|LabVIEW]]  
|[[Image:Icon-LabVIEW.png|alt=LabVIEW|24x24px|link=Language - LabVIEW]] [[Language - LabVIEW|LabVIEW]]  
|style="background: #f0f0ff" align=center| [[Language - LabVIEW#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - LabVIEW#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
Line 121: Line 121:
|-
|-


|[[Image:Icon-MaxMSP.png|24x24px|alt=Max/MSP|link=Language - Max/MSP 22]] [[Language - Max/MSP 22|Max/MSP]]
|[[Image:Icon-MaxMSP.png|24x24px|alt=Max/MSP|link=Language - Max/MSP]] [[Language - Max/MSP|Max/MSP]]
|style="background: #f0f0ff" align=center| [[Language - Max/MSP#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Max/MSP#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  

Revision as of 21:18, 13 January 2017

Language Support

We provide a variety of supported languages for using Phidgets. Each language has its own libraries, which may be found on the language pages below, along with code examples and an in-depth API.

Many languages also depend on the core drivers being installed as well. These drivers can be found on the operating system pages above.

Phidgets supports the following languages. If the language you have chosen is not fully supported with examples for all products then there are some resources available for you to fill in the gaps. First we recommend you look at the API which will show you all of the functions you can use. Next, you should look at the code samples that are available in that language. Finally you should look at code samples for your device in other languages. Between those three things you should be able to piece together what you need to be doing, as always, if you run into trouble contact us. If you have some flexibility in what language to use, we recommend using a Core Language:

Language Libraries API Code Samples Events Logic Code Use via Direct USB* Phidget User Base OS Support
Core Languages
C Sharp C# Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-10.png OS - Windows OS - OS X OS - Linux
C/C++ C/C++ Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-10.png OS - Windows OS - OS X OS - Linux
Python Python Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-07.png OS - Windows OS - OS X OS - Linux
Java Java Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-07.png OS - Windows OS - OS X OS - Linux
Visual Basic .NET Visual Basic .NET Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-05.png OS - Windows
File:Icon-Cocoa.png Cocoa Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-01.png OS - OS X
Mobile Languages
Android Java Android Java Quick Downloads All Devices InterfaceKit Only Checkmark.png X Some Devices File:Level-01.png OS - Android
iOS iOS Quick Downloads All Devices InterfaceKit Only Checkmark.png Checkmark.png X File:Level-01.png OS - iOS
Other Languages
LabVIEW LabVIEW Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-04.png OS - Windows
Max/MSP Max/MSP Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png File:Level-01.png OS - Windows OS - OS X

* A direct USB connection would be plugging the Phidget into a USB port and using it locally. This is the typical way to use a Phidget. However, some platforms (such as the iPhone platform) do not have USB ports and hence can only use a Phidget over a network, via the Phidget WebService.

Most languages have code samples for all Phidgets, but some have only some devices (visit the language page to learn which ones), and some only have an Interface Kit example. The Phidget Interface Kit is a common Phidget which provides an interface with analog sensors, digital input, and digital output. So, when we choose which examples to write, the Interface Kit is often at the top of our customer's lists.

Icon-Android Honeycomb.pngAndroid Honeycomb Version 3.1 or Higher Only