In PI explorer I am running an analysis.
When excuting the analysis I am getting this error message:
[-10005] value to small or subscript under range.
What could be the problem ??
There are quite a few reasons as to why this error is thrown. For example, writing a value outside the range of a system digital state (or AF Enumeration Set), or writing a negative value to an int16. Could you share you configuration?
You are right, I tried to put a negative value (string variable : value :-1) into the attribute.
That was the reason.
Thank you for your help.
Gerard de Jong
Van: Gabriel Michaud-Verreault <email@example.com>
Verzonden: woensdag 3 juli 2019 16:34
Aan: Jong, Gerard de <Gerard.de.Jong@suikerunie.com>
Onderwerp: Reply marked as helpful on 1005
PI Square <https://pisquare.osisoft.com/?et=watches.email.outcome>
Gabriel Michaud-Verreault<https://pisquare.osisoft.com/people/gmichaud-verreault?et=watches.email.outcome> marked Sebastien Raposo<https://pisquare.osisoft.com/people/sraposo?et=watches.email.outcome>'s reply on 1005<https://pisquare.osisoft.com/thread/40557-1005?et=watches.email.outcome> as helpful. View the full reply<https://pisquare.osisoft.com/message/133349-re-1005?commentID=133349&et=watches.email.outcome#comment-133349>
Retrieving data ...