AdvancedHMI Software

General Category => Support Questions => Topic started by: erduarte on January 17, 2018, 07:03:06 AM

Title: OPCDAcom (Timestamp and Quality)
Post by: erduarte on January 17, 2018, 07:03:06 AM
Good Morning! I´m using OPC to read data from OPC tunnel software. I can read data values from my tags. How can i read timestamp and quality from these tags? It is possible?

Regards

Ed
Title: Re: OPCDAcom (Timestamp and Quality)
Post by: Archie on January 17, 2018, 07:36:49 AM
Not with the OpcDaCom driver. This driver is merely a wrapper that simplifies access to an OPC server by stripping everything except the value.

If you want more information, then you will need to write the code to directly access the OPC server. You can Google "OPC .net" and find some code examples like this:

https://stackoverflow.com/questions/4921943/opc-client-how-to-read-from-remote-opc-server

https://fistfulofbytes.com/opc-sample-code

Title: Re: OPCDAcom (Timestamp and Quality)
Post by: erduarte on January 17, 2018, 11:54:58 AM
Ok Archie! Tks!! I take a look!

Congrats! AdvancedHMI is great!

Ed