GithubHelp home page GithubHelp logo

agent-r / serial-plotter Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.41 MB

Atom plugin: Show Data from Serial Port as Graphs

License: MIT License

JavaScript 67.33% HTML 6.64% Python 23.01% Less 2.05% C++ 0.97%

serial-plotter's People

Contributors

agent-r avatar

Watchers

 avatar

serial-plotter's Issues

Uncaught TypeError: Cannot read property '0' of undefined

[Enter steps to reproduce:]

  1. I used this test sketch on Arduino
    int i = 0;

// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);

}
// the loop routine runs over and over again forever:
void loop() {
Serial.println(i++);
if (i>50) i=0;
delay(10); // delay in between reads for stability
}

  1. Then I went to atom and startet the serial plotter

Atom: 1.43.0 x64
Electron: 4.2.7
OS: WIN10
Thrown From: serial-plotter package 0.1.8

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At C:\Users\mail\.atom\packages\serial-plotter\lib\serial-plotter.js:134

TypeError: Cannot read property '0' of undefined
    at stdout (/packages/serial-plotter/lib/serial-plotter.js:134:41)
    at Socket.e.on.e (~/AppData/Local/atom/app-1.43.0/resources/app/static/<embedded>:14:1123224)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:260:13)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -0:28.1.0 serial-plotter:toggle (input.hidden-input)

Non-Core Packages

pymakr 1.5.6 
serial-plotter 0.1.8 

Uncaught SyntaxError: Unexpected end of JSON input

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Home
Thrown From: serial-plotter package 0.1.8

Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///C:/Users/user/AppData/Local/atom/app-1.46.0/resources/app.asar/static/index.html:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at exit (/packages/serial-plotter/lib/serial-plotter-view.js:288:20)
    at o (~/AppData/Local/atom/app-1.46.0/resources/app/static/<embedded>:14:1122275)
    at ChildProcess.n.process.on.e (~/AppData/Local/atom/app-1.46.0/resources/app/static/<embedded>:14:1122481)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)

Commands

     -2:31.7.0 intentions:highlight (input.hidden-input)
     -2:31.2.0 command-palette:toggle (input.hidden-input)
 41x -2:18 core:backspace (input.hidden-input)
     -1:38.8.0 arduino-upload:serial-monitor (input.hidden-input)
     -1:10 intentions:highlight (input.hidden-input)
     -1:09.3.0 command-palette:toggle (input.hidden-input)
     -1:04.0 serial-plotter:toggle (input.hidden-input)
     -0:38 flex-tool-bar:edit-config-file (input.hidden-input)
     -0:25.8.0 serial-plotter:toggle (input.hidden-input)

Non-Core Packages

arduino-upload 1.8.0 
autocomplete-clang 0.13.1 
build 0.70.0 
busy-signal 2.0.1 
file-icons 2.1.40 
flex-tool-bar 2.2.0 
intentions 1.1.5 
language-arduino 0.4.3 
language-ini 1.23.0 
linter 2.3.1 
linter-gcc2 0.8.8 
linter-ui-default 1.8.1 
platformio-ide-debugger 1.2.6 
platformio-ide-terminal 2.10.0 
script 3.26.0 
serial-plotter 0.1.8 
tool-bar 1.3.0 

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.