-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have you checked out the test method for that? python-snap7/test/test_client.py Line 606 in b278707 It's made a bit differently by using as_area_read(), but you still need the "check_status" part, instead of buffer. |
Beta Was this translation helpful? Give feedback.
-
Never mind, I'm a idiot.
(I'm just a beginner, I haven't understood a single thing from your test_check_as_completion @swamper123 ...) |
Beta Was this translation helpful? Give feedback.
Never mind, I'm a idiot.
I give the buffer that I use to store data to check_as_completion, hence my result get overwritten.
So I give it another buffer then I print the buffer2 and its return value :
Now I got the correct result, but since the buffer2 doesn't change what it is used for ? Am I…