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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

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

ptc-4544940
1-Newbie

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
cmorfin
19-Tanzanite
(To:ptc-4544940)

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

View solution in original post

2 REPLIES 2
cmorfin
19-Tanzanite
(To:ptc-4544940)

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

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

Top Tags