Multithreading in read_multi_vars #459
Answered
by
spreeker
Rahul14189
asked this question in
Q&A
Replies: 1 comment 1 reply
-
No.
Have a single worker / queue executive commands to and from a plc. Response
time in minimum 5 Ms.
A plc is very slow compared to PC. Makes not sense at all to do stuff
concurrently. Very dangerous to and debuggen would be no longer
deterministic.
Cheers
Stephan.
…On Thu, Aug 10, 2023, 12:12 Rahul14189 ***@***.***> wrote:
Does python snap7 methods "read_db" and "read_multi_vars", supports
multithreading? As i am trying to execute, it returns first thread result
whereas for other threads, it raises error, stating "b'CLI : Job pending'"
!!
If not is there any other method that supports the same!
—
Reply to this email directly, view it on GitHub
<#459>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOSMJD4S2M2H7Q7GZGEXTXUSX2FANCNFSM6AAAAAA3LIMIYU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Rahul14189
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does python snap7 methods "read_db" and "read_multi_vars", supports multithreading? As i am trying to execute, it returns first thread result whereas for other threads, it raises error, stating "b'CLI : Job pending'" !!
If not is there any other method that supports the same!
Beta Was this translation helpful? Give feedback.
All reactions