0

I am using a toolkit to develop client and server , which contains "WriteItems" function. Initially server creates some items and client reads these items. Then client make some changes on this items.The "WriteItems" method will be called every time the client changes the items. When "WriteItems" function is called, data will be copied to the cache by the toolkit. Now, I have to display this data from cache.

Since I am newbie and searched in the web to read data from cache, i could not find appropriate way of solution. I hope that i can get some suggestion.

Sika Shrestha
  • 21
  • 1
  • 4
  • 1
    "Cache" is a very general term... you question is like saying "how do I load my luggage into my vehicle" without telling us the type of vehicle. You need to find out what your caching software is called, then search for the documentation specific to it. – Tony Delroy Nov 19 '13 at 06:50
  • Sorry the insufficient information. Actually i need t access the data from the opc server cache. i am using opc library to create opc server and opc server automatically stores the data in its server cache . so its there any way to access(read) the data from opc server cache. – Sika Shrestha Nov 20 '13 at 01:14
  • "searched in the web...could not find appropriate way" - perhaps http://www.faweb.net/us/opc/sample_vc.html ? If you try that, let use know specific problems and show your code.... – Tony Delroy Nov 20 '13 at 01:38

1 Answers1

0

The OPC client can issue a SyncRead or AsyncRead. When doing so, you specify whether the requested data should come from the cache or from the device. If you specify cache, the OPC server should return whatever value and quality it currently has in its cache for the requested items.

Ken
  • 427
  • 4
  • 20