0

Write API issue

I am able to write data to the Canary Historian, but as soon as the session token is revoked (either by timeout or by revokeSessionToken) a 'No Value' value is written with 'No Data' quality. This did not happen in Version 23 - it just started happening in Version 24. How can I stop this from happening?

2 replies

null
    • smason
    • yesterday
    • Reported - view

    Hi ,

    That is a default setting. If you want to turn it off, you'll want to specify the autoWriteNoData parameter in  your settings array and set it to false when you make your \getSessionToken call.

    https://writeapi.canarylabs.com/25.2/

      • erice
      • 15 hrs ago
      • Reported - view

      Thanks @Steve Mason  - missed that. apparently that wasn't part of ver 23. Just out of curiosity, why did that default to true instead of false? 

Content aside

print this pagePrint this page
  • 15 hrs agoLast active
  • 2Replies
  • 4Views
  • 2 Following