cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Level 1

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

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?


1 ACCEPTED SOLUTION

Accepted Solutions

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

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

2 REPLIES 2

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

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

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

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