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
3314a156
Commit
3314a156
authored
Mar 02, 2023
by
yogesh.m
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b4efccbe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opcua_subscriber/opcua_subscribe.py
opcua_subscriber/opcua_subscribe.py
+1
-1
No files found.
opcua_subscriber/opcua_subscribe.py
View file @
3314a156
...
@@ -451,7 +451,7 @@ class opcua_pack():
...
@@ -451,7 +451,7 @@ class opcua_pack():
return
sock
return
sock
def
write_opcua_value
(
self
,
sock
,
ns
,
nodeid
,
val
,
datatype
):
def
write_opcua_value
(
self
,
sock
,
ns
,
nodeid
,
val
,
datatype
):
if
(
datatype
==
"<class 'float'>"
)
if
(
datatype
==
"<class 'float'>"
)
:
sock
.
sendall
(
self
.
write_request
(
self
.
SecureChannelId
,
self
.
TokenId
,
self
.
identifier_string
,
self
.
int_chunk_seq
,
ns
,
nodeid
,
val
,
datatype
))
sock
.
sendall
(
self
.
write_request
(
self
.
SecureChannelId
,
self
.
TokenId
,
self
.
identifier_string
,
self
.
int_chunk_seq
,
ns
,
nodeid
,
val
,
datatype
))
else
:
else
:
sock
.
sendall
(
self
.
write_request
(
self
.
SecureChannelId
,
self
.
TokenId
,
self
.
identifier_string
,
self
.
float_chunk_seq
,
ns
,
nodeid
,
val
,
datatype
))
sock
.
sendall
(
self
.
write_request
(
self
.
SecureChannelId
,
self
.
TokenId
,
self
.
identifier_string
,
self
.
float_chunk_seq
,
ns
,
nodeid
,
val
,
datatype
))
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