Hi, Recently I have been trying to use OpenOPC in order to get a client everything works petty well but I would like to know if there is actually a way to get a Timestamp with the subseconds, in fact when I Read a group I can't get those. I found a method called DecodeSubseconds in the IOPCAutoServer class but i don't know how to use it on OpenOPC. If anyone know about my problem and how to get rid of it if there is a way, I would appreciate some help. Thank you
Hi, When using OpenOPC to create a client i notice that the timestamp doesn't give any milliseconds, so i was wondering if it was just me or if there is something to do to get it. As i searched for it , I found a method called DecodeSubseconds in the IOPCAutoServer class but i don't know how to use it on OpenOPC. If anyone know about my problem and how to get rid of it if there is a way, I would appreciate some help. Thank you
Well, just found a way to do what I wanted, you can't actually use read in another Thread, but since you can do it in the main program, you can just create a list from the read and then use this list in your other Threads.
Hi, I would like to know if there was a way to read different groups of Items at different pace, by that I mean is it possible to read a first group all the seconds and another one all the ten seconds for example. I already tried to create a client and connect myself to my server and then use Threading from Thread to have two threads reading 2 different groups with different refresh using time.sleep(), but i ended up getting a lot of errors,it seemed like I couldn't apply some of the methods of the...
Ok, manage to do it, it was just the firewall on windows that was blocking me. Thank you for the help :)
Tank you for the answer and sorry for the wait, with nmap i'm using two commands to know if the port 7766 is open on both sides : nmap -Pn "Virtual machine IP" -p 7766 wich gives the folloing answer : PORT STATE SERVICE 7766/tcp filtered unknown nmap "Ubuntu IP" -p 7766 wich gives the folloing answer : PORT STATE SERVICE 7766/tcp closed unknown I hope i didn't misunderstand anything, right now i am trying to get that port open on the linux side.
Hello, I am actually trying to use OpenOPC this way: I work on Ubuntu and i have a virtual machine with windows 10 on it and I use the Matrikon Server Simulation. The thing is when i work on the windows side, I am able to use the commands given pretty well in the doc OpenOPC, I can retrieve all the tags i want from the command prompt either by using the DCOM mode or the Open mode(with the gateaway service). But when i start using OpenOPC on Ubuntu : import OpenOPC import Pyro4 opc = OpenOPC.open_client('localhost','7766')...