6 Getting Started Checking the Contents Connecting all the pieces Testing Using Windows 2000/XP/Vista Downloading the Phidgets drivers Running Phidgets Sample Program Testing Using Mac OS X If you are using Linux If you are using Windows Mobile/CE 5.0 or 6.0...
Programming Languages (APIs): VB6, VB.NET, C#.NET, C++, Flash 9, Flex, Java, LabVIEW, Python, Max/MSP, and Cocoa. Examples: Many example applications for all the operating systems and development environments above are available for download at www.phidgets.com >> Programming. Connection The board connects directly to a computer’s USB port.
Phidget Control Panel; we will use this program to make sure that your new Phidget works properly. The source code for the Analog-full sample program can be found under C# by clicking on www.phidgets.com >> Programming. 1002_0_Product_Manual - March 2, 2011 9:59 AM...
If you are using a multimeter, it should display the voltage as set by the slider. Testing Using Mac OS X • Click on System Preferences >> Phidgets (under Other) to activate the Preference Pane • Make sure that the PhidgetAnalog 4-Output is properly attached.
If you are using Linux There are no sample programs written for Linux. Go to www.phidgets.com >> Drivers Download Linux Source • Have a look at the readme file • Build Phidget21 The most popular programming languages in Linux are C/C++ and Java. Notes: Many Linux systems are now built with unsupported third party drivers. It may be necessary to uninstall these drivers for our libraries to work properly.
Programming a Phidget Phidgets’ philosophy is that you do not have to be an electrical engineer in order to do projects that use devices like sensors, motors, motor controllers, and interface boards. All you need to know is how to program. We have developed a complete set of Application Programming Interfaces (API) that are supported for Windows, Mac OS X, and Linux.
API Guides We maintain API references for COM (Windows), C (Windows/Mac OSX/Linux), Action Script, .Net and Java. These references document the API calls that are common to all Phidgets. These API References can be found under www. phidgets.com >>...
Events OnError(int ErrorCode, String ErrorDescription) The PhidgetAnalog will throw error events under certain circumstances: ErrorCode = EEPHIDGET_OVERCURRENT - An overcurrent condition has occured on an output. Under this condition, the output is clamped to 20mA. ErrorCode = EEPHIDGET_OVERTEMP - A Thermal Shutdown state has occured. The outputs will be shut down under this condition.
The voltage is produced with 12 bit resolution (4.8mV). Isolation The 1002 is not isolated. All 4 channels use the same ground. Current The PhidgetAnalog board will limit the available current per channel at approximately 20mA. For reliable results, don’t approach this limit, as it will vary from channel to channel.
Device Version Comment March 2011 Product Release, requires phidget21 2.1.8+ Support Call the support desk at 1.403.282.7335 9:00 AM to 5:00 PM Mountain Time (US & Canada) - GMT-07:00 E-mail us at: support@phidgets.com 1002_0_Product_Manual - March 2, 2011 9:59 AM...
Need help?
Do you have a question about the 1002 and is the answer not in the manual?
Questions and answers