Jump to content

Yardstick One - USB timeouts possible fix


Nextech

Recommended Posts

I searched all over for a fix for the rfcat usb timeout issue, and the little information I could find on the problem all seemed to come from this forum.  I wanted to reply to this post, however it was archived:

In python, I found that if I added a sleep statement in between instructions the timeouts all but went away.  So, for example:

	        d = rflib.RfCat()
        time.sleep(.300)
        d.setFreq(433910000)
        time.sleep(.300)
        d.setMdmDRate(2500)
	

Link to comment
Share on other sites

Trying to clean up my previous post, I guess I can't edit it.  It also seemed to have trimmed some of my comments...  I haven't tested if fewer sleep statements could be used, it's possible the one after the first line is all you need.  I also didn't test shorter time intervals than .300.  I was just ecstatic to get it working so I left it alone.

d = rflib.RfCat()
time.sleep(.300)
d.setFreq(433910000)
time.sleep(.300)
d.setMdmDRate(2500)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...