Page 1 of 1

PVSS and Python

Posted: Wed Apr 27, 2011 1:06 pm
by overeem
Hi Folks,

I was wondering if there is some kind of Python interface to PVSS.

We wrote many C++ drivers and extension to PVSS over the last years but interfacing from Python to PVSS would be great too.
We can ofcourse wrap our C++ interface or parts of the PVSS C interface but if somebody has already done that it saves us a lot of effort.

Does someone know if there is a Python interface to PVSS?

Thanks.

Ruud.

Re: PVSS and Python

Posted: Thu May 26, 2011 10:49 am
by smass
Hi Ruud,

As far as i know there is currently no wrapper for Phyton available, we only have one prototype for C# at the moment. You can find it in the Lab section, maybe you can get ideas from it how to do it with Phyton.

br
Sebastian Massinger
WinCC OA Product Manager

Re: PVSS and Python

Posted: Thu May 26, 2011 11:07 am
by overeem
Hi Sebastian,

Thanks for your answer, but the C# example in the Lab section is an example how to use C# code in the PVSS ctrl scripts. What I want to do is access the database from a Python script, so the other way around.

I guess the only solution I have is to write a Python wrapper for the C++ layers we wrote on top of the C-API of PVSS since there is no Pyhton wrapper for the C-API itself. :(

Thanks.

Ruud.

Re: PVSS and Python

Posted: Thu May 26, 2011 11:18 am
by Gertjan van Schijndel
You could also use the xmlrpc interface as mentioned in the C# thread. But perhaps you could also use the oledb provider or the COM manager.

Re: PVSS and Python

Posted: Thu May 26, 2011 1:28 pm
by overeem
Hi Gertjan,

Is this also available under linux (RedHat).

Ruud.

Re: PVSS and Python

Posted: Fri May 27, 2011 1:46 pm
by Gertjan van Schijndel
Only the xmlrpc interface is available under linux.