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
7f806457
Commit
7f806457
authored
Aug 16, 2019
by
Milosz Malczak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adc: fixed typos in comments
parent
96853ace
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
server_expose.py
...stributedOscilloscope/nodes/adc_lib_node/server_expose.py
+8
-5
No files found.
software/DistributedOscilloscope/nodes/adc_lib_node/server_expose.py
View file @
7f806457
...
...
@@ -23,8 +23,10 @@ class ServerExpose():
self
.
__devices_access
=
DevicesAccess
(
pci_addr
,
trtl
,
unique_ADC_name
)
def
__getattr__
(
self
,
function_name
):
""" If he requered function is not defined here, look for it in the
devices_access object"""
"""
If he required function is not defined here, look for it in the
devices_access object
"""
return
getattr
(
self
.
__devices_access
,
function_name
)
def
set_server_address
(
self
,
addr
):
...
...
@@ -32,8 +34,8 @@ class ServerExpose():
If address of the Server is provided by the user, this function
is called from main.
If address of the Server is discovered by zeroconf, this function is
called by RPC call from the
s
erver.
It create
d
the Publisher object used for sending the notifications
called by RPC call from the
S
erver.
It create
s
the Publisher object used for sending the notifications
and acquisition data to the Server.
:param addr: address of the Server
...
...
@@ -41,7 +43,8 @@ class ServerExpose():
self
.
server_publisher
=
Publisher
(
addr
,
self
.
__port_server
)
def
exit
(
self
):
"""This fucntion is just for testing and will be removed after
"""
This fucntion is just for testing and will be removed after
addding ZeroMQ"""
"""doesn'r work with zeroconf"""
data
=
{
'function_name'
:
'unregister_ADC'
,
...
...
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