Remote Binding Cache for # Seconds Issue
- March 22, 2018
- 1 reply
- 3491 views
I'm using Thingworx 7.1 with the KEPServerEX extension and KEPServerEX 6.2.
I'm testing some of the settings to figure out how we may be able to log values periodically rather than based on a value change. I ran the AddItems service to add one of KEPServer's simulation sine wave function tags multiple times to the RemoteKEPServerEXThing so I can compare some property settings.
I've been playing with the Cache Options under the Remote Binding Info of the Sine properties. The default is usually "Read from Server Cache" with Push Type set to "Always". I'm finding that if I switch Cache Options to "Cached for # seconds" (interval of 2-5 seconds) and Push type to "Never", the value never updates. Also I set Data Change Type to "Always" so the value will log to a Value Stream every time it gets an update.
The ? button on Cache Options gives this:
- Cached for # Seconds allows you to control the frequency by which requests to the Edge Property are made. Upon the first request the server will access the Edge Property for it's value, then not make another request to the Edge Property per the defined number of seconds, though the Edge Property may update the server value (via push) in that time frame.
If I query the property history, there's no values coming in although if I click refresh in the Properties screen of my KEPServer thing, the sine property DOES change every # seconds and a value is logged but only if I click refresh. We can't have somebody manually clicking refresh to update values though.
Anybody else observe this before? Any ideas what's keeping the values from being updated every # seconds?
Thanks

