Products for USB Sensing and Control
It is currently Wed May 22, 2013 11:54 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Sample overrun Error
PostPosted: Fri Dec 24, 2010 12:48 pm 
Offline
Fresh meat

Joined: Fri Dec 24, 2010 12:44 pm
Posts: 1
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 ! :)


Top
 Profile Send private message  
 
 Post subject: Re: Sample overrun Error
PostPosted: Mon Jan 03, 2011 10:36 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2351
Location: Canada
This can happen if your PC is not polling the Phidget fast enough. It's generally only a problem if you specifically need very fast/steady analog data, otherwise you can ignore the error.

-Patrick


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group