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

Language - C Sharp: Difference between revisions

From Phidgets Legacy Support
No edit summary
No edit summary
Line 23: Line 23:
* Phidget Framework
* Phidget Framework
You will need the Phidget Framework to use and program with Phidgets. We also recommend that  
You will need the Phidget Framework to use and program with Phidgets. We also recommend that  
you download the following reference materials from the programming section:
you download the following reference materials:
* .NET API Manual
* [http://www.phidgets.com/documentation/Phidget21.NET.zip .NET API Manual]
* Programming Manual
* Programming Manual
* The Product Manual for your device
* The Product Manual for your device

Revision as of 20:44, 12 October 2011

Preamble about the language and its general strengths and weaknesses.

Assessment for use with Phidgets

Our honest opinion on how well this language is suited to controlling Phidgets. If it is a poor choice, suggest and link similar (better) languages.

Support

  1. Here are the resources we provide.
  2. This is what you can and cannot expect from us if you use this language.

Restrictions

In this section, list any restrictions or limitations that this particular language may impose. For example, incompatibility with certain operating systems.

Versions

V1.09

Describe each major version and notable differences relating to programming Phidgets.

V1.08

Getting Started

Environment and Libraries

First, we need to set up the proper environment and get the necessary files off the Phidgets website. Visit the drivers section at www.phidgets.com and get the latest:

  • Phidget Framework

You will need the Phidget Framework to use and program with Phidgets. We also recommend that you download the following reference materials:

  • .NET API Manual
  • Programming Manual
  • The Product Manual for your device
  • Example Programs written in C#

The .NET API manual lists calls and events for every type of Phidget and can be used as a reference. You can find a high level discussion about programming with Phidgets in general in the Programming Manual. The Product manual for your device also contains an API section that describes limitations, defaults, and implementation details specific to your Phidget. You may want to have these manuals open while working through these instructions.

Building your Project

Describe the different ways a project could be build using this language.

Common Problems and Solutions/Workarounds

Here you can put various frequent problems and our recommended solutions.

API Reference

This language uses the XYZ API, which can be found here.