Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-1909:32 AM
Variable Name for Historic Exports field
I want to write some code to enter our historian path into the Historic Exports field, but I cannot find the the name of the field. I looked in the ServerObject help section to no avail. I have tried the following Node.Interface.HistoricExportIds , Node.Interface.Historic.Export and Node.Interface.Historic.Export.ID
Writing to an array is possible. Which API are you using?
You'll need to read the array first to check existing entries and avoid duplication.
See this C# .Net Client API code:
ClearScada.Client.Simple.DBObject PointObj = connection.GetObject("New Analog Point");
Aggregate hisagg = PointObj.Aggregates["Historic"];
int[] heids = (int[])hisagg["HistoricExportIds"];
// TODO - check you don't already have the new Id
int newAggregateId = 462970;
int[] newheids = new int [heids.Length + 1];
for( int i = 0; i < heids.Length; i++)
{
newheids[i] = heids[i];
}
newheids[heids.Length] = newAggregateId;
hisagg["HistoricExportIds"] = newheids;