Applescript Error w/ 1061

Supporting 10.7 and up
maxhirez
Phidgetsian
Posts: 8
Joined: Thu Mar 10, 2011 10:46 pm
Contact:

Applescript Error w/ 1061

Postby maxhirez » Mon Dec 26, 2011 10:45 pm

Picture 1.png
Picture 1.png (64.57 KiB) Viewed 2744 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?

maxhirez
Phidgetsian
Posts: 8
Joined: Thu Mar 10, 2011 10:46 pm
Contact:

Re: Applescript Error w/ 1061

Postby maxhirez » Wed Dec 28, 2011 8:30 pm

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.

User avatar
Patrick
Lead Developer
Posts: 3166
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Applescript Error w/ 1061

Postby Patrick » Mon Jan 02, 2012 10:08 am

Are you running the latest libraries?

-Patrick

maxhirez
Phidgetsian
Posts: 8
Joined: Thu Mar 10, 2011 10:46 pm
Contact:

Re: Applescript Error w/ 1061

Postby maxhirez » Wed Jan 04, 2012 9:48 pm

The Phidgets21 build I'm using says Dec. 21, 2011. No problems with the 1018 and Applescript, just the 1061.


Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest