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
Error I am getting,
pycomm.cip.cip_base.DataError: local variable 'data_type' referenced before assignment.
I don't see it where the variable 'data_type' is referred before a it is assigned. Also the code throws the error above once I run it, but works fine when I try to run it again.
Thank you.
The text was updated successfully, but these errors were encountered:
@smarth23,
pycomm does not include functionality for reading strings in its default read_tag function. There is some functionality for reading a string shown in the readme file, but when checking the clx.py file there is no matching function present. Issue #17 shows some work done in supporting a string read, but this doesn't appear to have gone anywhere. Might be time for somebody to create a branch and look into this.
Did a little more checking on this today after getting ready to add this functionality to a new fork and found that the read_string function is present in GitHub but not in the PyPi version. Looks like the new version just needs to be pushed over to PyPi. According to the pycomm page there has not been an update to the PyPi version since November 1, 2015.
Error I am getting,
pycomm.cip.cip_base.DataError: local variable 'data_type' referenced before assignment.
I don't see it where the variable 'data_type' is referred before a it is assigned. Also the code throws the error above once I run it, but works fine when I try to run it again.
Thank you.
The text was updated successfully, but these errors were encountered: