Comments (2)
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.
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)
- Raspi ADC/IMU blocks HOT 4
- MZ_APO CTU education kit support
- Suggestion to use single main function for all Linux RT targets and conditionalize /dev/nrt open attempt HOT 1
- pysimCoder on other platforms HOT 1
- Clone block command crashes PysimCoder editor HOT 1
- Anaconda compatibility HOT 1
- Issues using Tests HOT 2
- pysimCoder support for Silicon-Heaven infrastructure
- No module named 'supsisim'
- New branch "subsystems" HOT 2
- New file format in pysimCoder and subsystems HOT 2
- Conflicting and vague installation instructions complicate deployment HOT 3
- How to make the block like ±|u|^v HOT 11
- Moving from PyQt5 to PyQt6
- PdServ integration HOT 6
- Support for multiple NuttX targets
- Flipping the block in the GUI should not flip the block's picture HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysimcoder.