Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-cloning
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yogesh.m
opcua-cloning
Commits
e300e9eb
Commit
e300e9eb
authored
Mar 16, 2023
by
yogesh.m
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update opcua_receiver.py
parent
893a82db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
opcua_receiver.py
opcua_receiver.py
+18
-1
No files found.
opcua_receiver.py
View file @
e300e9eb
...
...
@@ -44,4 +44,21 @@ def receive_packets():
datatype
,
value
,
ns
,
nodeid
=
message
.
decode
()
.
split
(
"&"
)
opua
.
write_opcua_value
(
sock
,
ns
,
nodeid
,
value
,
datatype
)
receive_packets
()
\ No newline at end of file
def
receive_main
(
_Endpoint_Url
,
_Namespace_Server
,
_udp_hash_receiver_ip
,
_udp_hash_receiver_port
,
_localIP
,
_localPort
):
global
Endpoint_Url
global
Namespace_Server
global
udp_hash_receiver_ip
global
udp_hash_receiver_port
global
localIP
global
localPort
Endpoint_Url
=
_Endpoint_Url
Namespace_Server
=
_Namespace_Server
udp_hash_receiver_ip
=
_udp_hash_receiver_ip
udp_hash_receiver_port
=
_udp_hash_receiver_port
localIP
=
_localIP
localPort
=
_localPort
receive_packets
()
if
__name__
==
"__main__"
:
receive_packets
()
\ No newline at end of file
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