Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
distributed oscilloscope
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
distributed oscilloscope
Commits
654e76bc
Commit
654e76bc
authored
Aug 16, 2019
by
Milosz Malczak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gui: updated comments
parent
a8b721fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
GUI.py
...ware/DistributedOscilloscope/applications/pyqt_app/GUI.py
+6
-7
No files found.
software/DistributedOscilloscope/applications/pyqt_app/GUI.py
View file @
654e76bc
...
...
@@ -122,17 +122,16 @@ class GUI_Class:
def
update_data
(
self
,
data
,
pre_post_samples
,
offsets
):
"""
Called by the Device Application.
Adds the acquisition data to the acquisition data queue in the ADC.
Every time the new data arrives, the ADC notifies the User Application
class, which checks if all rrequired data has arrived and is properly
aligned. If yes, it sends the data to the actuall User Application.
It is used to send the acquisition data from the Server to the User
Application and depeneding on requirements of the Application, process
it or display. In case of GUI, the data is just displayed.
:param data: dictionary with GUI channels indexes as keys, containing
acquisition data
:param pre_post_samples: number of acquired presamples and postsamples
:param offsets: difference betwenn
:param offsets: difference betwenn the timestamps of the channels,
with respec to the first channel -- this information is used to realign
the data if for any reason the value of the timestamp is not the same
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment