Hello,
I'm new to phidgets and as I was trying to run the interfaceKit-example, I got the following error (using Mac OS X 10.6 and python 2.6) :
$ python InterfaceKit-simple.py
Opening phidget object....
Waiting for attach....
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 653, in __nativeErrorEvent
self.__error(ErrorEventArgs(self, message, code))
File "InterfaceKit-simple.py", line 51, in interfaceKitError
print("InterfaceKit %i: Phidget Error %i: %s" % (source.getSerialNum(), e.eCode, e.description))
File "/Library/Python/2.6/site-packages/Phidgets/Phidget.py", line 572, in getSerialNum
raise PhidgetException(result)
Phidgets.PhidgetException.PhidgetException
InterfaceKit 125067 Attached!
InterfaceKit 125067: Input 0: False
InterfaceKit 125067: Input 1: False
InterfaceKit 125067: Input 2: False
InterfaceKit 125067: Input 3: False
InterfaceKit 125067: Input 4: False
InterfaceKit 125067: Input 5: False
InterfaceKit 125067: Input 6: False
InterfaceKit 125067: Input 7: False
InterfaceKit 125067: Output 0: False
InterfaceKit 125067: Output 1: False
InterfaceKit 125067: Output 2: False
InterfaceKit 125067: Output 3: False
InterfaceKit 125067: Output 4: False
InterfaceKit 125067: Output 5: False
InterfaceKit 125067: Output 6: False
InterfaceKit 125067: Output 7: False
InterfaceKit 125067: Sensor 0: 0
InterfaceKit 125067: Sensor 1: 0
InterfaceKit 125067: Sensor 2: 0
InterfaceKit 125067: Sensor 3: 0
InterfaceKit 125067: Sensor 4: 0
InterfaceKit 125067: Sensor 5: 0
InterfaceKit 125067: Sensor 6: 0
InterfaceKit 125067: Sensor 7: 0
|------------|----------------------------------|--------------|------------|
|- Attached -|- Type -|- Serial No. -|- Version -|
|------------|----------------------------------|--------------|------------|
|- True -|- Phidget InterfaceKit 8/8/8 -|- 125067 -|- 901 -|
|------------|----------------------------------|--------------|------------|
Number of Digital Inputs: 8
Number of Digital Outputs: 8
Number of Sensor Inputs: 8
Setting the data rate for each sensor index to 4ms....
Press Enter to quit....
InterfaceKit 125067: Phidget Error 36866: Channel 0: 2 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 1: 2 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 2: 2 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 3: 2 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 4: 3 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 5: 3 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 6: 3 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 7: 3 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 4: 1 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 5: 1 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 6: 1 sample overrun detected.
InterfaceKit 125067: Phidget Error 36866: Channel 7: 1 sample overrun detected.
InterfaceKit 125067: Sensor 5: 0
InterfaceKit 125067: Sensor 5: 0
InterfaceKit 125067: Sensor 5: 0
InterfaceKit 125067: Sensor 5: 0
InterfaceKit 125067: Sensor 5: 63
InterfaceKit 125067: Sensor 5: 0
I can't figure out what is the problem here. Looks like there is a firmware error, but what can I do ?
Thank you for helping !
