Glenn Patton

Glenn Patton

  • NA
  • 333
  • 60.4k

Background worker & Serial Comms

Feb 3 2012 10:38 AM
Hi All,

I am on the "make it work quicker" portion on a project to upload and download sets of values from a device via a USB comm port.  The hard parts are all done now on to the clean up.  I was wondering if the backgroundWorker component could be used to remove the need I have for an Application.DoEvents(); I have used the VB6 version in the past to mixed results from "it works!" to "its broken <expletive deleted>!!". 

Is there any benefit to operating the interrupt handler (which is on a seperate thread I believe) on the backgroundWorker or all the Serial Comms on the background thread. Using invokes to get the data from the Worker.  

Glenn

Answers (3)