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
92af4aaf
Commit
92af4aaf
authored
Mar 02, 2023
by
yogesh.m
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e81368ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
.idea/misc.xml
.idea/misc.xml
+1
-1
.idea/opcua-cloning.iml
.idea/opcua-cloning.iml
+1
-1
opcua-transmitter.py
opcua-transmitter.py
+1
-1
No files found.
.idea/misc.xml
View file @
92af4aaf
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.9
(pythonProject)
"
project-jdk-type=
"Python SDK"
/>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.9"
project-jdk-type=
"Python SDK"
/>
</project>
</project>
\ No newline at end of file
.idea/opcua-cloning.iml
View file @
92af4aaf
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.9
(pythonProject)
"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.9"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
</module>
</module>
\ No newline at end of file
opcua-transmitter.py
View file @
92af4aaf
...
@@ -26,7 +26,7 @@ class MyHandler(SubHandler):
...
@@ -26,7 +26,7 @@ class MyHandler(SubHandler):
while
True
:
while
True
:
[
node
,
value
,
data
]
=
self
.
_queue
.
get_nowait
()
[
node
,
value
,
data
]
=
self
.
_queue
.
get_nowait
()
datatype
=
type
(
value
)
datatype
=
type
(
value
)
packet
=
str
(
datatype
)
+
"&"
+
str
(
value
)
+
"&"
+
'ns='
+
str
(
node
.
nodeid
.
NamespaceIndex
)
+
";i=
"
+
str
(
node
.
nodeid
.
Identifier
)
packet
=
str
(
datatype
)
+
"&"
+
str
(
value
)
+
"&"
+
str
(
node
.
nodeid
.
NamespaceIndex
)
+
"&
"
+
str
(
node
.
nodeid
.
Identifier
)
UDPClientSocket
.
sendto
(
str
.
encode
(
packet
),
serverAddressPort
)
UDPClientSocket
.
sendto
(
str
.
encode
(
packet
),
serverAddressPort
)
except
asyncio
.
QueueEmpty
:
except
asyncio
.
QueueEmpty
:
...
...
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