YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Conecting to PI using COM in PHP Options · View
mkdedg
#1 Posted : Friday, February 03, 2012 10:12:40 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2012
Posts: 3
Location: ki
I know you should be able to connect to PI using COM in PHP, but havent found any documentation explaining exactly how.

Where is a good place to learn more about PHP and PI Osisoft
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
zfima
#2 Posted : Saturday, February 04, 2012 1:23:38 PM
Rank: Advanced Member

Groups: Member

Joined: 11/13/2011
Posts: 77
Location: Middle East
Hello, mkdedg

Hope, it will help you

Post in my blog

Good luck
mkdedg
#3 Posted : Sunday, February 05, 2012 5:46:35 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2012
Posts: 3
Location: ki
Well thanks,

Using a function in php im also able to see some functions on the sdk/protocol to comunicate. But this functions

$myServer->ServerTime


$pisdkComObject->Servers->Item("ALISA-PC");


Didnt appear on it, and reading the chm file is a bit confusing, where do you find those functions?
zfima
#4 Posted : Sunday, February 05, 2012 8:25:32 PM
Rank: Advanced Member

Groups: Member

Joined: 11/13/2011
Posts: 77
Location: Middle East
mkdedg wrote:
Well thanks,

Using a function in php im also able to see some functions on the sdk/protocol to comunicate. But this functions

$myServer->ServerTime


$pisdkComObject->Servers->Item("ALISA-PC");


Didnt appear on it, and reading the chm file is a bit confusing, where do you find those functions?


Hello
Probably, it not appears because of it COM objects, i do not know.
Where can i find it? I just translated my knowlege of using pisdk in C# to php and it works



You can learn C# and you will able do same transformation. Problem, that there is not a lot of stuff about PHP and pisdk in www

Maybe you will build blog, like me? ;-) It will help to PHP-osisoft developers

Good luck, kdedg
mkdedg
#5 Posted : Monday, February 06, 2012 5:17:20 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2012
Posts: 3
Location: ki
Well, i dont know how to use PI really..

Im a php programmer, and just was toying with the pisdk, to see if i can conect, now that i can im wondering what can i do, that ProcessBook wont

The only thing i can think of, is moving information to Smarthphones over wifi..
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.