Re: Serial Port Communications with GUI
- From: tar@xxxxxxxxxxxxx (Thomas A. Russ)
- Date: 27 Jun 2008 12:35:56 -0700
HulkingNightCrawler <TravisPomeroy@xxxxxxxxx> writes:
I am trying to read data off a serial port and then display the data
in a GUI and I cannot seem to access the GUI in order to do this. For
some reason whenever I try to append to the text box the program seems
to stall out and I cannot figure out why? Any help would be
appreciated, thanks!!
Well, the first thing I would try to do would be to eliminate the empty
exception catch clauses. At the very least you should put something in
that prints the error message and the stack trace.
Silently catching exceptions is a terrible way to debug anything, and is
just downright stupid programming practice in any case.
--
Thomas A. Russ, USC/Information Sciences Institute
.
- References:
- Serial Port Communications with GUI
- From: HulkingNightCrawler
- Serial Port Communications with GUI
- Prev by Date: Re: Serial Port Communications with GUI
- Next by Date: Re: (newbie) How to get the UI to update right away
- Previous by thread: Re: Serial Port Communications with GUI
- Next by thread: (newbie) How to get the UI to update right away
- Index(es):
Relevant Pages
|