I’m implementing a custom driver that reads a HTML page in a equipement that has an embedded web server.
This driver just reads the datas in a table in this page, create the opc-ua nodes on connect() with the header line found and updates the nodes at each update() with the values founded in the cells.
I actually used as the weather driver example an AbstractDriver.
As I saw in a other post, U say that if we want to make a real driver we have to make a AbstractNioDriver, so I’m going to do so.
My question is this one : I have to timestamp the datas with the datetime I found in the web page, as I need to history datas with the source timestamp and not the gateway timestamp. Would it be possible with a NioDriver and how ? I didn’t see the waay to do that in the modbus V2 sample.
Can we access the “LastChange” property of the tag ? Or is there an more “official” way to do this ?
Thanks for your help