At one particular site, I'm getting tons of errors when writing to PI tags:
System.Runtime.InteropServices.COMException (0x80043006): Write failed. Unbuffered write would desynchronize archive data.
Any insight is greatly appreciated.
It seems like the error is suggesting that the data that is being written is not buffered when it should be. One of the known issues that will throw this error is when your client is connected to more than 1 collective and you are writing to the collective that is not buffered as PI Buffer Subsystem only support buffering to 1 collective at the moment.
This is still a big problem with one particular very important customer. I began a tech support case, but they insist on removing me from the conversation because I am not the end user. They referred our client to Issue No. 23412OSI8. This talks about multiple values existing on the same timestamp. Our code is actually writing values to timestamps with very small time intervals, i.e. 0.01 seconds. I can, however, easily make that larger. I need to know how large a timestamp interval needs to be in order to be a different timestamp.
Any help is appreciated, Thank you.
@Ken: As soon as 1 bit is different on the timestamp (resulting in microsecond to millisecond difference) it will be considered a different timestamp. From this PLI (23412OSI8), we can read that when editing an existing value where multiple values exists at the same timestamp, it always replaces the "first" value regardless of which one is being edited. Maybe to help you with your problem, a new CTP for PI Buffer Subsystem has been released in the Pre-Release section of vCampus. This version allows buffering and fanning of data for multiple PI Collectives. You invite you to give a try.
Retrieving data ...