Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Programming Resources: Difference between revisions

From Phidgets Legacy Support
(Created page with "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 examp...")
 
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Overview]]
==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.  
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 Support|operating system pages]] above.
Many languages also depend on the ''core drivers'' being installed as well.  These drivers can be found on the [[#Operating System Support|operating system pages]] above.


Phidgets supports the following languages.  If you have some flexibility in what language to use, we recommend using a '''Core Language''':
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''':


{| style="border:1px solid darkgray;" cellpadding="7px;"
{| style="border:1px solid darkgray;" cellpadding="7px;"
|-style="background: #f0f0f0" align=center  
|-style="background: #f0f0f0" align=center  
! Language || Libraries || API || Code Samples<sup>&dagger;</sup> || [[General Phidget Programming#Event Driven Code|Events]] || [[General Phidget Programming#Logic Code|Logic Code]] || Use via Direct USB* || [[Phidget WebService]] || Native Library** || Phidget User Base
! Language || Libraries || API || Code Samples<sup>&dagger;</sup> || [[General Phidget Programming#Event Driven Code|Events]] || [[General Phidget Programming#Logic Code|Logic Code]] || Use via Direct USB* || [[Phidget WebService]] || Native Library** || Phidget User Base || OS Support
|-
|-


Line 23: Line 26:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
|-


Line 35: Line 39:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
|-


|[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java]] [[Language - Java|Java]]  
|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python]] [[Language - Python|Python]]  
|style="background: #f0f0ff" align=center| [[Language - Java#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  
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| All Devices
Line 46: Line 51:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-07.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
|-


|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python]] [[Language - Python|Python]]  
|[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java]] [[Language - Java|Java]]  
|style="background: #f0f0ff" align=center| [[Language - Python#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  
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| All Devices
Line 58: Line 64:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-07.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
|-


|[[Image:Icon-Cocoa.png|alt=Cocoa|24x24px|link=Language - Cocoa]] [[Language - Cocoa|Cocoa]]  
|[[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 - Cocoa#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  
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| All Devices
Line 70: Line 77:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-05.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


Line 82: Line 90:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-03.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


|[[Image:Icon-Visual Basic Net.png|alt=Visual Basic .NET|24x24px|link=Language - Visual Basic .NET]] [[Language - Visual Basic .NET|Visual Basic .NET]]
|[[Image:Icon-Cocoa.png|alt=Cocoa|24x24px|link=Language - Cocoa]] [[Language - Cocoa|Cocoa]]  
|style="background: #f0f0ff" align=center| [[Language - Visual Basic .NET#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  
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| All Devices
Line 94: Line 103:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]
|-
|-


Line 100: Line 110:
|-
|-


|[[Image:Icon-iOS.png|alt=iOS|24x24px|link=Language - iOS]] [[Language - iOS|iOS]]
|[[Image:Icon-Android.png|alt=Android Java|24x24px|link=Language - Android Java]] [[Language - Android Java|Android Java]]
|style="background: #f0f0ff" align=center| [[Language - iOS#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  
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #E28585" align=center| X
|style="background: #E28585" align=center| X
|style="background: #FFC17F" align=center| Some Devices [[Image:Icon-Android_Honeycomb.png|24px|link=Software_Overview#Honeycomb|alt=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-Android.png|alt=OS - Android|link=OS - Android|24x24px|link=OS - Android]]
|-
|-


|[[Image:Icon-Android.png|alt=Android Java|24x24px|link=Language - Android Java]] [[Language - Android Java|Android Java]]
|[[Image:Icon-iOS.png|alt=iOS|24x24px|link=Language - iOS]] [[Language - iOS|iOS]]
|style="background: #f0f0ff" align=center| [[Language - Android Java#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  
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #E28585" align=center| X
|style="background: #E28585" align=center| X
|style="background: #FFC17F" align=center| Some Devices [[Image:Icon-Android_Honeycomb.png|24px|link=Software_Overview#Honeycomb|alt=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]]
|-
|-


Line 137: Line 149:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]
|-
|-


Line 150: Line 163:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


Line 162: Line 176:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
|-


Line 176: Line 191:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Level-04.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


Line 188: Line 204:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #E28585" align=center| X
|style="background: #E28585" align=center| X
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Level-02.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]  [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]]
|-
 
|'''Multimedia'''
|-
|-


|[[Image:Icon-Simulink.png|alt=Simulink|24x24px|link=Language - Simulink]] [[Language - Simulink|Simulink]]
|[[Image:Icon-Flash AS3.png|alt=Flash AS3|24x24px|link=Language - Flash AS3]] [[Language - Flash AS3|Flash AS3]]  
|style="background: #f0f0ff" align=center| [[Language - Simulink#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Flash AS3#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #ade6ab" align=center| All Devices
|style="background: #E28585" align=center| X
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #E28585" align=center| X
|style="background: #ade6ab" align=center| [[Image:Level-02.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]
|-
|-


 
|[[Image:Icon-MaxMSP.png|24x24px|alt=Max/MSP|link=Language - Max/MSP]] [[Language - Max/MSP|Max/MSP]]
|'''Multimedia'''
|style="background: #f0f0ff" align=center| [[Language - Max/MSP#Quick Downloads|Quick Downloads]]
|-
 
|[[Image:Icon-Adobe Director.png|alt=Adobe Director|24x24px|link=Language - Adobe Director]] [[Language - Adobe Director|Adobe Director]]
|style="background: #f0f0ff" align=center| [[Language - Adobe Director#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
Line 216: Line 233:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-02.png|link=|alt=Moderate]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]  [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]
|-
|-


|[[Image:Icon-Flash AS3.png|alt=Flash AS3|24x24px|link=Language - Flash AS3]] [[Language - Flash AS3|Flash AS3]]  
|[[Image:Icon-Adobe Director.png|alt=Adobe Director|24x24px|link=Language - Adobe Director]] [[Language - Adobe Director|Adobe Director]]
|style="background: #f0f0ff" align=center| [[Language - Flash AS3#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Adobe Director#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices
|style="background: #EFE973" align=center| InterfaceKit Only
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
Line 228: Line 246:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-10.png|link=|alt=Extensive]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


Line 241: Line 260:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|-
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]]
 
|[[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: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-06.png|link=|alt=Moderate]]
|-
|-


Line 269: Line 277:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows CE.png|alt=OS - Windows CE|24x24px|link=OS - Windows CE]]
|-
|-


Line 274: Line 283:
|style="background: #f0f0ff" align=center| [[Language - Visual Basic (.NET Compact Framework)#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Visual Basic (.NET Compact Framework)#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices  
|style="background: #ade6ab" align=center| All Devices  
|style="background: #FFC17F" align=center| Some Devices
|style="background: #E28585" align=center| None
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
Line 281: Line 290:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows CE.png|alt=OS - Windows CE|24x24px|link=OS - Windows CE]]
|-
|-


Line 293: Line 303:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|-
|-


Line 305: Line 316:
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|-
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
 
|[[Image:Icon-Delphi.png|alt=Delphi|24x24px|link=Language - Delphi]] [[Language - Delphi|Delphi]]
|style="background: #f0f0ff" align=center| [[Language - Delphi#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices
|style="background: #FFC17F" align=center| Some Devices
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]]
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Small]]
|-
|-


Line 324: Line 324:
<nowiki>**</nowiki> Native library support means that the calls you make to a Phidget in this language are in the language as well.  If the calls are non-native, the use of Phidgets is through an external library linker, such as callib() in MATLAB, for example.  The core Phidget library is written in C, and most other languages use this library as their core, but a 'Native' interface cleanly hides this detail.
<nowiki>**</nowiki> Native library support means that the calls you make to a Phidget in this language are in the language as well.  If the calls are non-native, the use of Phidgets is through an external library linker, such as callib() in MATLAB, for example.  The core Phidget library is written in C, and most other languages use this library as their core, but a 'Native' interface cleanly hides this detail.


<sup>&dagger;</sup> 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 with 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.
<sup>&dagger;</sup> 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.


<span id="Honeycomb">[[Image:Icon-Android_Honeycomb.png|24px|link=]]</span>Android Honeycomb Version 3.1 or Higher Only
<span id="Honeycomb">[[Image:Icon-Android_Honeycomb.png|24px|link=]]</span>Android Honeycomb Version 3.1 or Higher Only
Line 347: Line 347:


|'''24U'''
|'''24U'''
|24U Phidgets Plug-in 1.0
|24U Phidgets Plug-in 2.0
|Mac, Windows
|Mac, Windows
|[http://www.24usoftware.com/plugins.php Website]
|[http://www.24usoftware.com/plugins.php Website]
Line 381: Line 381:
|PiXCL Advanced Imaging 10.2
|PiXCL Advanced Imaging 10.2
|Windows XP/Vista/7
|Windows XP/Vista/7
|[http://www.pixcl.com/Using_Phidgets_with_PiXCL.htm Website]
|[http://pixcl.com/Using-Phidgets-with-PiXCL.htm Website]
|PiXCL is a powerful and easy-to-learn event driven interpreted language for the fast creation of image acquisition, processing and advanced analysis applications. The suite includes a compiler and development studio with context sensitive help and plenty of sample code. V10.1 provides you with the tools to create applications that combine Phidget devices with digital cameras and scanners.
|PiXCL is a powerful and easy-to-learn event driven interpreted language for the fast creation of image acquisition, processing and advanced analysis applications. The suite includes a compiler and development studio with context sensitive help and plenty of sample code. V10.1 provides you with the tools to create applications that combine Phidget devices with digital cameras and scanners.
|[[Image:Pdficon_small.gif|link={{SERVER}}/documentation/ThirdPartyInfo/ThirdPartySoftware/PiXCL.pdf]]
|[[Image:Pdficon_small.gif|link={{SERVER}}/documentation/ThirdPartyInfo/ThirdPartySoftware/PiXCL.pdf]]
Line 400: Line 400:
|The monoBOTICS project aims to become an OpenSource Framework, to facilitate the tasks of design, simulation and implementation of solutions for areas of Robotics and Automation, both for people with basic knowledge of programming, as for more advanced developers.
|The monoBOTICS project aims to become an OpenSource Framework, to facilitate the tasks of design, simulation and implementation of solutions for areas of Robotics and Automation, both for people with basic knowledge of programming, as for more advanced developers.
|[[Image:Pdficon_small.gif|link={{SERVER}}/documentation/ThirdPartyInfo/ThirdPartySoftware/monoBOTICS.pdf]]
|[[Image:Pdficon_small.gif|link={{SERVER}}/documentation/ThirdPartyInfo/ThirdPartySoftware/monoBOTICS.pdf]]
|-
|'''Omnipotence Software'''
|ECS (Event Control System)
|Windows, Linux
|[http://OmnipotenceSoftware.com Website]
|Powerful and flexible, general purpose automation software for commercial and residential applications.  Supports simple schedules and English-like scripts for more elaborate logic.
|[[File:ExternalLink.png|15px|link=http://omnipotencesoftware.com/wpc.htm]]
|-
|-
|}
|}
Line 419: Line 427:


|[[Image:Icon-Robot Studio.png|alt=Robotics Studio|24x24px|link=Language - Microsoft Robotics Studio]] [[Language - Microsoft Robotics Studio|Microsoft Robotics Studio]]  
|[[Image:Icon-Robot Studio.png|alt=Robotics Studio|24x24px|link=Language - Microsoft Robotics Studio]] [[Language - Microsoft Robotics Studio|Microsoft Robotics Studio]]  
|-
|[[Image:Icon-Simulink.png|alt=Simulink|24x24px|link=Language - Simulink]] [[Language - Simulink|Simulink]]
|-
|[[Image:Icon-Delphi.png|alt=Delphi|24x24px|link=Language - Delphi]] [[Language - Delphi|Delphi]]
|-
|-


Line 424: Line 439:


If you have an existing code base in these languages and the legacy status of these languages is a serious inconvenience, please [[Contact Us]].
If you have an existing code base in these languages and the legacy status of these languages is a serious inconvenience, please [[Contact Us]].
{{CreativeCommons}}

Latest revision as of 17:46, 14 July 2016

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 WebService Native Library** Phidget User Base OS Support
Core Languages
C Sharp C# Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - Windows OS - OS X OS - Linux
C/C++ C/C++ Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - Windows OS - OS X OS - Linux
Python Python Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - Windows OS - OS X OS - Linux
Java Java Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive 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 Checkmark.png Checkmark.png Extensive OS - Windows
Visual Basic 6.0 Visual Basic 6.0 Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - Windows
Cocoa Cocoa Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - OS X
Mobile Languages
Android Java Android Java Quick Downloads All Devices InterfaceKit Only Checkmark.png X Some Devices Checkmark.png Checkmark.png Moderate OS - Android
iOS iOS Quick Downloads All Devices InterfaceKit Only Checkmark.png Checkmark.png X Checkmark.png Checkmark.png Moderate OS - iOS
Scripting
Applescript Applescript Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Moderate OS - OS X
AutoIt AutoIt Quick Downloads All Devices None Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows
Ruby Ruby Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - OS X OS - Linux
Science and Math
LabVIEW LabVIEW Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Moderate OS - Windows
MATLAB MATLAB Quick Downloads All Devices Some Devices X Checkmark.png Checkmark.png Checkmark.png X Moderate OS - Windows OS - OS X OS - Linux
Multimedia
Flash AS3 Flash AS3 Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Extensive OS - Windows OS - OS X
Max/MSP Max/MSP Quick Downloads All Devices All Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Moderate OS - Windows OS - OS X
Adobe Director Adobe Director Quick Downloads All Devices InterfaceKit Only Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows
LiveCode LiveCode Quick Downloads InterfaceKit Only InterfaceKit Only Checkmark.png Checkmark.png Checkmark.png X Checkmark.png Small OS - Windows OS - OS X
Other Languages
C Sharp (.NET Compact Framework) C# (.NET Compact) Quick Downloads All Devices Some Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows CE
Visual Basic (.NET Compact Framework) Visual Basic
(.NET Compact Framework)
Quick Downloads All Devices None Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows CE
Visual Basic for Applications Visual Basic for Apps Quick Downloads All Devices Some Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows
Visual Basic Script Visual Basic Script Quick Downloads All Devices Some Devices Checkmark.png Checkmark.png Checkmark.png Checkmark.png Checkmark.png Small OS - Windows

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

** Native library support means that the calls you make to a Phidget in this language are in the language as well. If the calls are non-native, the use of Phidgets is through an external library linker, such as callib() in MATLAB, for example. The core Phidget library is written in C, and most other languages use this library as their core, but a 'Native' interface cleanly hides this detail.

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

Third Party Support

Warning.png These products must be purchased directly from these companies and all support calls must be directed to them

Some third party companies also offer and support software programs that work with Phidgets boards. Phidgets does not have a certification program and does not make any warranty about these products.

In alphabetical order:

Company Product Runs On Website Synopsis Product Information
24U 24U Phidgets Plug-in 2.0 Mac, Windows Website 24U Phidgets Plug-In lets you connect different kind of phidgets (www.phidgets.com) to your computer's USB port and interact with them directly from FileMaker Pro. Pdficon small.gif
DSPRobotics Flowstone Windows 2000/XP/Vista/7/Embedded Website Graphical Programming Language aimed at real-time Digital Signal Processing.(DSP), Robotics and Embedded applications. FlowStone is a drag and drop environment where you combine high-level and low-level modules to build real time applications. Pdficon small.gif
MANIPIL Visual Domotique Windows XP/Vista/7 Website Visual Domotique is a Graphical I/O programming for Windows XP/Vista/7. Various components allow you to draw electrical schema and control panel. No need to know how to program to use this software. Varied uses are possible: Home automation, security, hobby, Control process education... Available in French. Pdficon small.gif
PCRBOX PCR Automation Windows XP/Vista/7 (32 & 64bit) Website PCR Automation is an easy to use software that works immediately without the need for any programming. It interfaces with the 1018, 1070 and 1072. Several interfaces can be opened simultaneously, each in a different window. Each input / output can be customized (label, sensor, offset, units, sensitivity, recording ...). The log files can be automatically sent by E-mail. Users can add their own sensors to the library of thirty Phidgets sensors. Pdficon small.gif
PiXCL Automation Technologies PiXCL Advanced Imaging 10.2 Windows XP/Vista/7 Website PiXCL is a powerful and easy-to-learn event driven interpreted language for the fast creation of image acquisition, processing and advanced analysis applications. The suite includes a compiler and development studio with context sensitive help and plenty of sample code. V10.1 provides you with the tools to create applications that combine Phidget devices with digital cameras and scanners. Pdficon small.gif
SoapBox Automation SoapBox Snap Windows XP/Vista/7 Website SoapBox Snap is a free and open source PC-based automation platform. It includes a ladder logic editor and a “soft” runtime right out of the box. Pdficon small.gif
UACh - Universida Austral de Chile monoBOTICS-icarus Linux Website The monoBOTICS project aims to become an OpenSource Framework, to facilitate the tasks of design, simulation and implementation of solutions for areas of Robotics and Automation, both for people with basic knowledge of programming, as for more advanced developers. Pdficon small.gif
Omnipotence Software ECS (Event Control System) Windows, Linux Website Powerful and flexible, general purpose automation software for commercial and residential applications. Supports simple schedules and English-like scripts for more elaborate logic. ExternalLink.png

Legacy Languages

Legacy languages are languages which we supported in the past; however, we no longer actively develop or support them. We provide this software page information for the limited existing users:

Language
REALBasic REALBasic
Flex AS3 Flex AS3
Robotics Studio Microsoft Robotics Studio
Simulink Simulink
Delphi Delphi

If you have an existing code base in these languages and the legacy status of these languages is a serious inconvenience, please Contact Us.