Code Monkey home page Code Monkey logo

serialmonitor's People

Contributors

aleksanderlidtke avatar unnamedmoose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

serialmonitor's Issues

Cannot enable hex output and file logging

I expect the "hex output" checkbox to be greyed out unless "raw output" box is ticked. No matter how many times I select the raw output, the hex output checkbox remains greyed out.

Add an "info" menu bar entry

Should be able to display at least the following two sets of info in separate dialogue boxes:

  1. License,
  2. Info with:
    2.1. The SerialMonitor.__version__ and __file__,
    2.2. current wx.__version__ and __file__, which is very useful in debugging installation issues.

Spurious logging printout

There seems to now be a lot of printout "Debug: Too many EndStyle calls" appearing after each line in the log. This is most likely coming from some wx issues, investigate and remove the root cause or at least suppress to keep the log file for relevant information only.

Raw bytes not always shown in WX console

Observed that certain HIL tests executed manually via the GUI do not always pass. This tends to happen in cases where raw bytes are sent from the Arduino (test codes L or S, for example). However, this is just initial assessment so the issue might extend to other tests as well. It is also unclear why these tests sometimes pass and sometimes fail, like shown in the attached screenshot. The issue appears to e WX-related only, because the logger always correctly shows all the expected data.

Need further investigation to understand the true extents and origins of the problem before trying to fix it.
rawBytesNotShown

Disconnecting the serial device doesn't raise error

I was connected to a FTDI 3.3 V TTL-232 adaptor cable while there was no data being transmitted on the bus. I then unplugged the cable from the laptop, and the SerialMonitor did not recognise this. I'd expect that it notifies me that the peripheral isn't readable in such case.

Can't keep track of how many invalid bytes are received in `formatted` `outputFormat`

When two or more invalid ASCII bytes are sent when using the formatted outputFormat, the warningSummary dictionary will only hold one entry. Every time a new invalid byte is received, the previous errors will be overwritten. This is covered by the testFormattedGoodByte_invalidASCII test case. Suggested solution is to save every error with a unique key in the warningSummary dictionary.

One invalid ASCII byte discards the entire `dataStr`

If only one invalid ASCII byte is received in the formatted outputFormat, the entire dataStr will be discarded even if it contains otherwise valid bytes. This is covered by testFormattedGoodByte_validInvalidASCII and testFormattedGoodByte_invalidValidASCII test cases.

The suggested solution is to rewrite L142 of commsInterface.py (outputBuffer += dataStr.decode('ascii')) to only decode one byte at a time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.