PhidgetException 13 - Given timeout has been exceeded.

If you notice any bugs on our site, please report them here.
_Dejan_

PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Sat Apr 16, 2011 6:56 am

I have problem with my SBC2 + TextLCD + RFID. After cca. 7h constantly in 1 sec interval updating LCD row with data I get error:

Code: Select all

04/16/2011 00:40:15: charging() : Phidgets.PhidgetException: PhidgetException 13 (Given timeout has been exceeded.)
  at Phidgets.TextLCDRow.set_DisplayString (System.String value) [0x00000] in <filename unknown>:0
  at Client.Module.startCharging () [0x00000] in <filename unknown>:0


What can be wrong that I get this error? Is updating every second to much for TextLCD?

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

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby Patrick » Mon Apr 18, 2011 9:02 am

This is an application running directly on the SBC? Can you enable logging in the library and post the output - also, are there any USB related messages in the system log?

You shouldn't have any trouble updating the LCD every second.

-Patrick

_Dejan_

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Mon Apr 18, 2011 9:48 am

Patrick wrote:This is an application running directly on the SBC? Can you enable logging in the library and post the output - also, are there any USB related messages in the system log?

You shouldn't have any trouble updating the LCD every second.

-Patrick


Yes it run directly on SBC. It is started by deamon which run it on boot... Application is written in VS2010 and runmono installed by this instructions:LINK

currently when Im for testing puroposes change updating lcd every 2 sec work more than 12h without problem.
current log's from control panel Im upload in attachment.

One day when Im first time test device and it has stop working Im get next errors:

Code: Select all

04/15/2011 00:06:32: UserLogin() : Phidgets.PhidgetException: PhidgetException 5 (Phidget not physically attached.)
  at Phidgets.TextLCDRow.set_DisplayString (System.String value) [0x00000] in <filename unknown>:0
  at Client.Module.UserLogin (System.String RFIDCode) [0x00000] in <filename unknown>:0


Restarting application is not work(kill process and start it again). Only reboot has fix problem...
Attachments
Kernel Ring Buffer .txt
(9.53 KiB) Downloaded 264 times
Syslog Messages.txt
(15.26 KiB) Downloaded 288 times

_Dejan_

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Mon Apr 18, 2011 11:38 pm

Ok today crash again...

Code: Select all

04/17/2011 21:22:50: Client name and surname: XXXX XXXX
04/19/2011 05:27:45: charging() : Phidgets.PhidgetException: PhidgetException 13 (Given timeout has been exceeded.)
  at Phidgets.TextLCDRow.set_DisplayString (System.String value) [0x00000] in <filename unknown>:0
  at Client.Module.startCharging () [0x00000] in <filename unknown>:0


Log files attached.
In Kernel Ring Buffer.txt you can see 3 errors:

Code: Select all

usb 1-1.5: usbfs: USBDEVFS_CONTROL failed cmd mono rqt 33 rq 9 len 8 ret -110
Attachments
Syslog Messages.txt
(15.43 KiB) Downloaded 298 times
Kernel Ring Buffer.txt
(9.76 KiB) Downloaded 263 times

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

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby Patrick » Tue Apr 19, 2011 11:40 am

Are you able to enable the phidget library logging (Phidget.enableLogging)?

-Patrick

_Dejan_

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Tue Apr 19, 2011 11:53 am

Patrick wrote:Are you able to enable the phidget library logging (Phidget.enableLogging)?

-Patrick

I can enable it. Which loglevel? I can set:

Code: Select all

PHIDGET_LOG_CRITICAL
PHIDGET_LOG_DEBUG
PHIDGET_LOG_ERROR
PHIDGET_LOG_INFO
PHIDGET_LOG_VERBOSE
PHIDGET_LOG_WARNING

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

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby Patrick » Tue Apr 19, 2011 1:09 pm

INFO

-Patrick

_Dejan_

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Wed Apr 20, 2011 1:04 am

Ok Im enable logging in INFO mode and reproduce error.
At 04/20/2011 08:29:00 Im receive error. In attachment you have log file.
Thanks for your help.
Attachments
PhidgetLog.log
(48 KiB) Downloaded 281 times

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

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby Patrick » Wed Apr 20, 2011 9:34 am

What version of TextLCD is it? Are you using a USB cable with a ferrite bead? What kind of environment are you running in?

It's odd that USB is having trouble like this and it's not showing up in the system log.

I know that restarting won't fix the problem - how about unplugging/replugging the TextLCD?

-Patrick

_Dejan_

Re: PhidgetException 13 - Given timeout has been exceeded.

Postby _Dejan_ » Wed Apr 20, 2011 9:51 am

If I unplug/replug TextLCD and restart application it start working.
At cca. 17:40 Im unplug and replug it and restart application.
Log attached and here are my own log when Im reconnect it:

Code: Select all

04/20/2011 08:29:00: charging() : Phidgets.PhidgetException: PhidgetException 13 (Given timeout has been exceeded.)
  at Phidgets.TextLCDRow.set_DisplayString (System.String value) [0x00000] in <filename unknown>:0
  at Client.Module.startCharging () [0x00000] in <filename unknown>:0
04/20/2011 17:40:07: IKLCD_Error Event : Channel 0: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 1: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 2: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 3: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 4: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 5: 15 sample overrun detected.
04/20/2011 17:40:07: IKLCD_Error Event : Channel 6: 15 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 7: 15 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 4: 1 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 5: 1 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 6: 1 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 7: 1 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : One or more data packets were lost
04/20/2011 17:40:08: IKLCD_Error Event : Channel 6: 1 sample overrun detected.
04/20/2011 17:40:08: IKLCD_Error Event : Channel 7: 1 sample overrun detected.
04/20/2011 17:40:46: Loading Configuration...
04/20/2011 17:40:49: Hostname: phidgetsbc
04/20/2011 17:40:50: MACAddress: 00:1B:0B:00:09:00


Cable is white with white feritte like this:
LINK

TextLCd is version 201
Serial number is 121095
Attachments
PhidgetLog.log
(39.31 KiB) Downloaded 261 times


Return to “Bug Report”

Who is online

Users browsing this forum: No registered users and 0 guests