I would like to delete data from chosen tag by time in Proficy Historian 5.5.
Can this be done using C# IHUAPI.cs?
No, it's not possible with IHUAPI.cs.
You could do this with Client Access API which is also available with Proficy Historian 5.5 and it's .NET based.
Here is a sample to delete data from a tag with a specific timestamp.
string[] tagnames = new string[1]; DateTime[] times = new DateTime[1]; ItemErrors errors; tagnames[0] = "tagname"; DateTime timestamp = new DateTime(2016, 08, 01, 7, 36, 35); times[0] = timestamp; Connection.IData.Delete(tagnames, times, out errors);
No, it's not possible with IHUAPI.cs.
You could do this with Client Access API which is also available with Proficy Historian 5.5 and it's .NET based.
Here is a sample to delete data from a tag with a specific timestamp.