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

Errors Options · View
ledward
#1 Posted : Tuesday, October 11, 2011 9:23:31 PM
Rank: Member
Groups: Member

Joined: 3/1/2010
Posts: 15
I have used this on my PI server, and now a user is trying to implement my code on their PI server, using the SDK.

Failed to update events on the server. [-16214] Timeout attempting to get exclusive lock.

that is the error that appears every time we try to write a value to PI,

This was converting an interface using PI-HTML, over to a custom VB.NET app.

Code:

  If ConnectToPI() Then
                myPIServer.PIPoints(PITag).Data.UpdateValue(Value, Format(TimeStamp), PISDK.DataMergeConstants.dmReplaceDuplicates)
            End If

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.
squatty
#2 Posted : Wednesday, October 12, 2011 7:34:27 AM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
OSI Techsupport _1
OSI Techsupport _2
OSI Techsupport _3

It seems it has something to do with the version of of PI-BufSS and PI Snapshot.
ledward
#3 Posted : Wednesday, October 12, 2011 3:01:28 PM
Rank: Member
Groups: Member

Joined: 3/1/2010
Posts: 15
Well this is terrible news....hahahaha

I am stumped......I dont have access to the PI server I am trying to write to.... the SDK on that sever is 1.3, the one I have is 1.3....

So, am I SOL to write values to this other version PI server?
squatty
#4 Posted : Thursday, October 13, 2011 7:29:30 AM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
It's not all doom and gloom yet. Have to tried another method to write data to this "external" PI-Server. Try writing a value from the piexam.xls file located in C:\Program Files\PIPC\Excel.

Another thing you could try is to restart the pi-snapss on that server (do this on your own risk though). I strongly recommend that you read the 3 links I provided on the OSISoft website.
ledward
#5 Posted : Monday, October 17, 2011 1:52:22 PM
Rank: Member
Groups: Member

Joined: 3/1/2010
Posts: 15
I'll see what I can do. Like I said, I have "write access" to the server, but do not have administrator access to restart services. (I am not a PI-guy, just a dev.)

I have read those links, and will FWD them to the server admins.

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