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.
|
Language - C Sharp: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
First, we need to set up the proper environment and get the necessary files off the Phidgets website. | 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: | Visit the drivers section at www.phidgets.com and get the latest: | ||
* Phidget Framework | * [http://www.phidgets.com/drivers.php 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: | you download the following reference materials: |
Revision as of 20:49, 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
- Here are the resources we provide.
- 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:
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# [Windows] [.NET Compact Framework]
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.