You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Perry
I tried to take the log of tag history but log file some_file.hst is not updating
After that i have done the below modifications in files.py
def _append( self, msg, encoding=None ):
"""Appends the raw msg str (which should contain a newline) to the file (open if
necessary). Raises an exception on any failure.
The default encoding is 'ascii'; no non-ASCII UTF-8 symbols allowed in the provided string.
"""
if not self.f:
assert self.open(), "Could not open file %s for writing" % self.path
self.f.write( msg.encode( encoding or 'ascii' ))
self.f.flush()
Hi Perry
I tried to take the log of tag history but log file some_file.hst is not updating
After that i have done the below modifications in files.py
$ python -m cpppo.server.enip.historize some_file.hst SCADA=INT[10]
$ python -m cpppo.server.enip.client 'SCADA[0-3]=0, 1, 2, 3'
Now I am getting Tag logs
The text was updated successfully, but these errors were encountered: