gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
644 stars 245 forks source link

Load standard values in server in testcases #259

Closed lautarodapin closed 3 years ago

lautarodapin commented 3 years ago

I created in the mainloop a DB0 that will contain the prefix values. We have to standarize where eachone will be located.

~~Also TODO: I had problems for testing the real values, it seems that in the process of loading into c_int8 there is some residual memory left, and when you assert equal is not the same.~~

lautarodapin commented 3 years ago

@gijzelaerr @swamper123 I think is ready to merge.

gijzelaerr commented 3 years ago

@lautarodapin I think (but I'm not sure) you rewrote the git history on your fork, which is causing the weird divergence in history. I'll merge these changes manually since they look good, but I recommend you do a fresh new clone of the repo and start from there for future PR's.