Page 1 of 1

Applescript Error w/ 1061

Posted: Mon Dec 26, 2011 10:45 pm
by maxhirez
Picture 1.png
Picture 1.png (64.57 KiB) Viewed 2743 times
The PhidOSA in the toolbar sees the board and so does the application that you launch from System Preferences, but when I launch the sample Applescript, all the Servos engage but then the script fails with the following error:
PhidgetsOSA Got an error: AppleScript Event Handler failed.
Then the Script Editor opens at the point that it starts setting the minAccel variable in the servoIndex repeat loop with the minimum acceleration function highlighted (photo attached.)
...Any ideas?

Re: Applescript Error w/ 1061

Posted: Wed Dec 28, 2011 8:30 pm
by maxhirez
Now having a similar problem with the C example. Compilation is successful but when I run it as a command line utility I get the following:

Code: Select all

Waiting for Servo controller to be attached....Problem waiting for attachment: Given timeout has been exceeded.


I can successfully compile the CocoaServos.xcodeproj and run it, so I assume that it's not a hardware issue. Has anyone else successfully run an applescript on the 1061 Advanced Servo 8 motor? Using both G4/G5 machines, 10.5.8, getting the same problems.

Re: Applescript Error w/ 1061

Posted: Mon Jan 02, 2012 10:08 am
by Patrick
Are you running the latest libraries?

-Patrick

Re: Applescript Error w/ 1061

Posted: Wed Jan 04, 2012 9:48 pm
by maxhirez
The Phidgets21 build I'm using says Dec. 21, 2011. No problems with the 1018 and Applescript, just the 1061.