|
From: Sangeeth S. <san...@gm...> - 2014-11-04 02:23:07
|
Hi Joel,
What is the correct way to clear the priority array for a given object?
Say for example, I do a writeProperty as follows:
object identifier = (analogValue, 0)
property identifier = presentValue
property value = 10
priority level = 5
Now, when I query the priority array of (analogValue, 0), I get the following:
1 {'null': ()}
2 {'null': ()}
<snap>
5 {‘real': 10.0}
<snap>
15 {'null': ()}
16 {'null': ()}
Now, if I want to clear the priority array for priority level 5 (i.e. not setting it to value 0.0 but to reset it to ‘null’), what should I do?
Because when I tried a writeProperty as follows:
object identifier = (analogValue, 0)
property identifier = presentValue
property value = null
priority level = 5
It always ended up raising ValueError, "real application tag required” - primitivedata.py -> class Real(Atomic) -> decode()
I looked in the samples directory but couldn’t find anything relevant. Any pointers would help.
Thank you,
Sangeeth
|