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
e5c7e713
Commit
e5c7e713
authored
Aug 16, 2019
by
Milosz Malczak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: modified comments
parent
d5118bc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
17 deletions
+2
-17
connection_manager.py
...ware/DistributedOscilloscope/server/connection_manager.py
+0
-4
expose.py
software/DistributedOscilloscope/server/expose.py
+2
-2
user_app.py
software/DistributedOscilloscope/server/user_app.py
+0
-11
No files found.
software/DistributedOscilloscope/server/connection_manager.py
View file @
e5c7e713
...
...
@@ -5,10 +5,6 @@ logger = logging.getLogger(__name__)
class
ConnectionManager
():
"""
Manages connections with all nodes. Provides access to the nodes for other
classes
"""
def
__init__
(
self
):
self
.
__user_apps
=
dict
()
...
...
software/DistributedOscilloscope/server/expose.py
View file @
e5c7e713
...
...
@@ -3,7 +3,7 @@ expose.py
============================================
Exposes the functionalities of the Server to Device Applications and to
User Applications. All communication with other applications is done using
Expose class.
the
Expose class.
For communication with the nodes it uses `ZeroMQ <https://zeromq.org/>`_
sockets.
...
...
@@ -241,7 +241,7 @@ class Expose():
and from Zeroconf (zeroconf_listener).
The monitor socket is used to monitor the state of ZeroMQ connection.
The message contain the name of the method to call. Since communication
The message contain
s
the name of the method to call. Since communication
with the User Applications is synchronous, the socket_user_listener
sends back the data returned by the called funciton. In case of
socket_ADC_listener and zeroconf_listener the communication is
...
...
software/DistributedOscilloscope/server/user_app.py
View file @
e5c7e713
...
...
@@ -12,17 +12,6 @@ class HorizontalSettingsError(Exception):
class
UserApplication
():
"""
It is a model of the User Application.
All changes in the User Application are reflected here(adding/removing
channels, triggers, starting/stopping acquisition, changing the acquisition
length.
All changes that affect the User Apllication are done through this class
(availability of the devices, acquisition data)
"""
def
__init__
(
self
,
name
,
user_app_addr
,
user_app_port
,
connection_manager
):
self
.
name
=
name
...
...
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