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

PI API TO PI SDK Options · View
abhishekgampa
#1 Posted : Tuesday, November 22, 2011 8:57:10 PM
Rank: Newbie
Groups: Member

Joined: 11/22/2011
Posts: 1
Hi Everyone,

I am new to the PI thing, I have been asked to convert an ASP application suing PI COM API calls to a ASP.NET application using PISDK.

the current ASP applications have the below PI API calls, Can some one please give me the correspoinding PI SDK methods that I can use.

piut_setservernode(ServerNode)
pipt_findpoint(PointId, pt) --Get PointId
pipt_pointtype(pt, pttype) --Get Point Type for the given PointID
pipt_engunitstring(pt, engunit, 13) --Get engineering units of Length 13 for the given Point Type
pipt_exdesc(pt, ptdesc, 81) --Get descriptor of length 81 for the given point type
pitm_parsetime(BeginTime, 0, BeginSeconds) --Get BeginSeconds for the given BeginTime
pitm_parsetime(endtime, BeginSeconds, EndSeconds) --Get EndSeconds for the given End Time and Begin Seconds
piar_interpvalues(pt, count, times(0), rvals1(0), istats1(0))
piar_compvalues(pt, count, times(0), rvals1(0), istats1(0), 0)
pitm_formtime(times(icount%), timestring(icount%), Len(timestring(icount%)))
pipt_digstate(istats1(icount%), digstate, Len(digstate))
piut_disconnect()


Any help on this will be appriciated.

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