Click here to Skip to main content
15,887,485 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: Just did a fresh wipe of HP Pavilion to Windows 7, but USB & wireless don't work! Pin
Jochen Arndt20-Feb-15 23:56
professionalJochen Arndt20-Feb-15 23:56 
GeneralRe: Just did a fresh wipe of HP Pavilion to Windows 7, but USB & wireless don't work! Pin
swampwiz21-Feb-15 1:06
swampwiz21-Feb-15 1:06 
QuestionUSB Problems? Pin
Kevin Marois19-Feb-15 9:24
professionalKevin Marois19-Feb-15 9:24 
AnswerRe: USB Problems? Pin
NickPace19-Feb-15 9:55
NickPace19-Feb-15 9:55 
GeneralRe: USB Problems? Pin
Kevin Marois19-Feb-15 10:14
professionalKevin Marois19-Feb-15 10:14 
QuestionProgramming Arduino Due using ATmel Studio without Arduino IDE Pin
Vaclav_7-Feb-15 4:11
Vaclav_7-Feb-15 4:11 
QuestionSuggested strategies for ensuring Windows keeps up with USB device? Pin
Matt T Heffron5-Feb-15 14:34
professionalMatt T Heffron5-Feb-15 14:34 
AnswerRe: Suggested strategies for ensuring Windows keeps up with USB device? Pin
Jochen Arndt5-Feb-15 21:20
professionalJochen Arndt5-Feb-15 21:20 
The USB servicing by Windows is running with a higher priority but not your application.

At first you should check if the driver for your USB device supports increasing the size of his internal receive buffer. This may help if the default size is smaller than your 34 KB.

A common solution would be using a worker thread running with a higher priority to receive the date and store them in a ring buffer of sufficient size. The thread must be of course event driven (new data available). When all sample data has been received by the thread it can trigger the next sampling and send a user defined message to your GUI thread indicating that new data are available.

Tasks delaying your communication are mainly hardware related actions like disk and network transfers. When you have implemented the worker thread you can check for missing acquisitions by starting such actions (e.g. copying files from a network share to a local disk or USB drive). If necessary, increase the priority of the worker thread. But note that this is a rather simple and system dependant method.

I have done this for a serial communication using a serial to USB converter where status line events must be handled before the next event occurs.

This does not answer all your questions but I hope it will be useful.
GeneralHuman monitoring device Pin
Oladosu Kehinde28-Jan-15 0:50
Oladosu Kehinde28-Jan-15 0:50 
SuggestionRe: Human monitoring device Pin
Richard MacCutchan28-Jan-15 0:55
mveRichard MacCutchan28-Jan-15 0:55 
AnswerRe: Human monitoring device Pin
Afzaal Ahmad Zeeshan2-Feb-15 8:55
professionalAfzaal Ahmad Zeeshan2-Feb-15 8:55 
QuestionPC Power Supply Voltages Pin
Richard Andrew x645-Jan-15 14:49
professionalRichard Andrew x645-Jan-15 14:49 
AnswerRe: PC Power Supply Voltages Pin
Jochen Arndt5-Jan-15 21:25
professionalJochen Arndt5-Jan-15 21:25 
AnswerRe: PC Power Supply Voltages Pin
Dave Kreskowiak7-Jan-15 11:02
mveDave Kreskowiak7-Jan-15 11:02 
GeneralRe: PC Power Supply Voltages Pin
Richard Andrew x647-Jan-15 11:06
professionalRichard Andrew x647-Jan-15 11:06 
GeneralRe: PC Power Supply Voltages Pin
Dave Kreskowiak7-Jan-15 12:48
mveDave Kreskowiak7-Jan-15 12:48 
GeneralRe: PC Power Supply Voltages Pin
Richard Andrew x647-Jan-15 12:51
professionalRichard Andrew x647-Jan-15 12:51 
GeneralRe: PC Power Supply Voltages Pin
Dave Kreskowiak7-Jan-15 12:53
mveDave Kreskowiak7-Jan-15 12:53 
GeneralRe: PC Power Supply Voltages Pin
Richard Andrew x647-Jan-15 12:55
professionalRichard Andrew x647-Jan-15 12:55 
GeneralRe: PC Power Supply Voltages Pin
Dave Kreskowiak7-Jan-15 15:58
mveDave Kreskowiak7-Jan-15 15:58 
GeneralRe: PC Power Supply Voltages Pin
Albert Holguin7-Jan-15 16:12
professionalAlbert Holguin7-Jan-15 16:12 
QuestionUSB , SCSI , LUN … file ...disk...How does it all fit together? Pin
Vaclav_8-Dec-14 4:30
Vaclav_8-Dec-14 4:30 
Questionlaptop power setting Pin
Gilbert Consellado29-Nov-14 18:21
professionalGilbert Consellado29-Nov-14 18:21 
AnswerRe: laptop power setting Pin
Jochen Arndt29-Nov-14 23:44
professionalJochen Arndt29-Nov-14 23:44 
GeneralRe: laptop power setting Pin
Gilbert Consellado30-Nov-14 4:06
professionalGilbert Consellado30-Nov-14 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.