Page 1 of 1

Cannot make code examples work

Posted: Mon Jul 28, 2014 9:37 am
by omega
Hi All,

Recently, I have bought the phidgetSpatial 1043 0/0/3 accelerometer and cannot make the code examples work.

First, I tried the code examples in C# for Windows: the application starts but it does not shows any values. At the same time, I can see the device in the Phidget Control Panel and if double click on it the application start and works perfectly.

Then, I tried the code examples in C for Linux (Ubuntu on VM): I was able to install phidget21 library without any problem, I am also able to compile and run the HelloWorld example. But when I tried to run the Accelerometer-simple I only getting "Problem waiting for attachment: Given timeout has been exceeded."

Other info:
I can see the devince in "lsusb -v". And all OSs are 64-bits.

Does anybody know what I am doing wrong?

Thank you,
Artur

Re: Cannot make code examples work

Posted: Mon Jul 28, 2014 10:18 am
by Patrick
The accelerometer API and examples are for a discontinued line. You want the spatial API and examples.

Re: Cannot make code examples work

Posted: Mon Jul 28, 2014 10:28 am
by omega
Patrick wrote:The accelerometer API and examples are for a discontinued line. You want the spatial API and examples.


Got it! Thank you, Patrick.