GithubHelp home page GithubHelp logo

Comments (2)

michallenc avatar michallenc commented on July 20, 2024

Hi, sorry for the late answer but I had a lot of exams this week and wanted to focus on that.

I also consider moving this to the blocks will be better long term solution (we can use get_run_time() function and get the time during each iteration) as time would be the last or first element in data array. Probably first, it seems more natural.

RTScope could then let user select whether he wants to view run time or sample value (and ommit received time in that case).

I am not sure whether sending time as first element should be default setting since it could cause troubles with other scopes in case someone uses them. Either way I think the user should be able to turn this option off because there might be a usecase that I want one device to send reference value over TCP/UDP to other device and in that case I want to send it without time.

from pysimcoder.

robertobucher avatar robertobucher commented on July 20, 2024

The solution for the RTScope block is simple. I can put a new input in block 0/1 to choose between "sample number" or "time" on X-axis in the plot.

In my opinion, the simplest solution is to have the execution time value in all other communications sending blocks and ignore the time in the receiving blocks. External sending applications should send a "dummy" time value.

I think that this solution is simple to be implemented.

I'm waiting Before starting to program this solution.

from pysimcoder.

Related Issues (18)

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.