|
|
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
|
|
|
|
|
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.
|
|
|
Rank: Advanced Member
 Groups: Member
Joined: 4/7/2011 Posts: 137 Location: KZN, South Africa
|
OSI Techsupport _1OSI Techsupport _2OSI Techsupport _3It seems it has something to do with the version of of PI-BufSS and PI Snapshot.
|
|
|
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?
|
|
|
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.
|
|
|
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!!
|
|
|
|
Guest
|