Having trouble with recorded_values() #628
Unanswered
brivolbm7q
asked this question in
Q&A
Replies: 1 comment 2 replies
-
hmm, strange. It appears to be caused by Pythonnet 3.0. In previous versions the python enumeration had to be converted to an int to work, but apparently a nicer way is to convert using the actual |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Was trying to replicate some of the examples, but having trouble with recorded_value() function of PIData. I have gotten current_value, last_update, and recorded_values() all working as expected.
From your tutorial at:
https://piconnect.readthedocs.io/en/develop/tutorials/recorded_values.html#single-vs-multiple-values
I tried to implement this excerpt in particular:
I keep getting this error:
I tried modifying PI.py to avoid the int(retrieval_mode), but did not really have much luck.
(I am on Python 3.9.7 in Windows if that matters.)
Beta Was this translation helpful? Give feedback.
All reactions