This week, I completed the implementation of Time Sink for floating point values. Following are the updates of the week:
Complete TimeSink for floating point:
I have created a PR to master branch of repository from develop branch. Kindly review it and test it as much as possible. To track the issues and reviews effectively, please provide your suggestions on the issues page of the repository. Do add a reference to the PR in the description! :)
Features of the TimeSink
The features in the timesink remains same as
gr-qtgui. But since we have a major structural difference in the implementation, there is a minute change to use it in
top_block.py. Please check the examples available in PR.
We initialize 2 instances. One of them initializes C++ block (i.e.
bokehgui_time_sink_f_proc_0) and another initializes the Python class (i.e.
bokehgui_time_sink_f_0). All get/set functions, plot formatting functions are called through Python class to maintain consistency between both classes.
To install the module:
sudo make install
To run the example:
The output should be as follows:
Note: There is a color distortion. The color is incorrectly captured in Screenshot!
To view the tags, run the
examples/time_sink_1.py. The tags will be displayed on the plot.
To-Do list for next week:
- Performance evaluation - We will put the plot on the Internet and analyse how fast can the plot be updated. The Internet will provide a worst case analysis for our purpose.
- Solve the bugs of TimeSink for float - So, report as much bugs as possible!
- Complete TimeSink - Add support for complex value. More or less, things will be same.
- Add GRC - Will try to add a GRC support by the end of next week