PVSS and Python

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
6 posts • Page 1 of 1
overeem
Posts: 3
Joined: Thu Nov 25, 2010 12:52 pm

PVSS and Python

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

smass
Posts: 41
Joined: Tue Sep 25, 2012 10:21 am

Re: PVSS and Python

Post 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

overeem
Posts: 3
Joined: Thu Nov 25, 2010 12:52 pm

Re: PVSS and Python

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

Gertjan van Schijndel
Posts: 634
Joined: Mon Aug 02, 2010 10:37 am

Re: PVSS and Python

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

overeem
Posts: 3
Joined: Thu Nov 25, 2010 12:52 pm

Re: PVSS and Python

Post by overeem »

Hi Gertjan,

Is this also available under linux (RedHat).

Ruud.

Gertjan van Schijndel
Posts: 634
Joined: Mon Aug 02, 2010 10:37 am

Re: PVSS and Python

Post by Gertjan van Schijndel »

Only the xmlrpc interface is available under linux.

Post Reply
6 posts • Page 1 of 1