Author Topic: OPCDAcom (Timestamp and Quality)  (Read 1207 times)

erduarte

  • Newbie
  • *
  • Posts: 2
    • View Profile
OPCDAcom (Timestamp and Quality)
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OPCDAcom (Timestamp and Quality)
« Reply #1 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


erduarte

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: OPCDAcom (Timestamp and Quality)
« Reply #2 on: January 17, 2018, 11:54:58 AM »
Ok Archie! Tks!! I take a look!

Congrats! AdvancedHMI is great!

Ed