Skip to main content
5-Regular Member
July 27, 2017
Solved

ThingWatcher.monitor() returns void instead of ThingState in ThingWatcher 8 Api.

  • July 27, 2017
  • 1 reply
  • 1652 views

In twx watcher 7.4, I was able to get ThingState in following way:

ThingState thingState = thingwatcher.monitor(timedValue);

I recently installed Thingworx watcher 8.0 and found Thingwatcher.monitor returns void.

How to access ThingState here?


Best answer by cmorfin

Hi Jaspal

Can you have a look at Does anyone know how to use java api to achieve anomaly detection with Thingwatcher8.0? , there is a sample java program that should help you.

Kind regards

Christophe

1 reply

cmorfin19-TanzaniteAnswer
19-Tanzanite
July 27, 2017

Hi Jaspal

Can you have a look at Does anyone know how to use java api to achieve anomaly detection with Thingwatcher8.0? , there is a sample java program that should help you.

Kind regards

Christophe

5-Regular Member
July 28, 2017

Thank you Christophe. Link provided by you helped me to start in right direction.