libftdi Archives

Subject: Re: How to query the device serial number of an already opened connection

From: Ryan Tennill <rtennill@xxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 22 Oct 2015 11:21:28 -0500
On 10/21/2015 06:04 PM, Alex Scarbro wrote:
I could certainly give that a go!

I'd not encountered it happening during all my windows+Labview work with the FTDI parts, so libftdi is new territory for me!

Best regards,
Alex

On Wednesday, October 21, 2015, VDR User <user.vdr@xxxxxxxxx> wrote:
> tdi_usb_get_strings()

Would it be horrible to retry that if it times out, assuming the
timeouts are random. It might be a crap solution but if there's no
real alternative..?

Another option might be to reimplement ftdi_usb_get_strings() in your own code but leave the device open. I don't know if there's a good reason for always closing the device but it should be really easy to test out.

Ryan

-- 

217-351-2655 ext. 126
Distant Focus Corporation
4114B Fieldstone Rd
Champaign, IL 61822
http://jupiter.distantfocus.com/projects/


libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread