User Activity

  • Posted a comment on discussion Open Discussion on OpenOPC for Python

    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

  • Posted a comment on discussion Help on OpenOPC for Python

    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

  • Posted a comment on discussion Help on OpenOPC for Python

    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.

  • Posted a comment on discussion Help on OpenOPC for Python

    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...

  • Posted a comment on discussion Help on OpenOPC for Python

    Ok, manage to do it, it was just the firewall on windows that was blocking me. Thank you for the help :)

  • Posted a comment on discussion Help on OpenOPC for Python

    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.

  • Posted a comment on discussion Help on OpenOPC for Python

    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')...

View All

Personal Data

Username:
fma
Joined:
2018-06-20 09:34:48

Projects

  • No projects to display.

Personal Tools