Re: Serial Port Communications with GUI



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
.



Relevant Pages

  • Re: psycopg2
    ... I created it via GUI and was wondering why it did append a '' to the variable type, but didn't bother, because there was no other varchar available. ...
    (comp.lang.python)
  • Re: Folder name starting with .
    ... I guess I should append that to state it is allowed under the command line, but not from the gui. ... "Earle Horton" wrote in message ...
    (microsoft.public.windows.vista.general)
  • Re: Encode to a file, append not overwrite
    ... Just in case you'd would a GUI for it: ... > Is it possible to append the data to an existing file, ... Prev by Date: ...
    (microsoft.public.windowsmedia.encoder)
  • Import workspace data to GUI
    ... I have two separate needs to "import" data from the workspace into the GUI: ... I would like to append additional A raw data sets to the GUI, so that the map creation can be extended with "new" data on top of existing data ...
    (comp.soft-sys.matlab)