For a work at university we need a PhidgetAdvancedServo 8-Motor Board. Unfortunately at the moment we can not get it to work under Matlab.
Here is our Setup:
Windows XP SP3
Matlab 7.8.0 R2009a
1061 - PhidgetAdvancedServo 8-Motor
Phidget-x86_18.104.22.16891105.msi (we used this Driver)
Although under Windows with the Phidget Control Panel it works, under Matlab it cant connect we tried the original Servo.m sample file but at the following line an error occurs
calllib('phidget21', 'CPhidget_waitForAttachment', handle, 5000)
returns 13 (Timeout)
Then i tried manulay also this but without succes
serial = libpointer('int32Ptr',0);
calllib('phidget21', 'CPhidget_getSerialNumber', handle, serial)
returns 5 (Board not connected)
I hope someone has encountered the same problem and can help me.
By the way on line two the following comment can be found
% phidget20.h needs to be on the path
is this from on old version or do I need to install this?
Does it matters if the Pidget Control Panel is running at the same time as matlab?