Industry Online Support
Technical Forum
11/7/2007 6:26 PM | |
Posts: 1084 Rating: (72)
|
Please attach the script matthew, then we can have a look. with regards, Ikkezelf |
11/7/2007 7:33 PM | |
Posts: 3 Rating: (0) |
In the zip file are three .BMO files The file PlantTelemetry.BMO takes about 2 hours to run through to completetion. The idea is to pull the archived data which is stored at 1 minute intervals and write this data to an excel spreadsheet for every minute of the day. I have tried a few things but have not been able to improve the run time of the script. The file HourSummary.BMO runs in about 5 minutes or less and takes the data from the same archive and averages the data for every hour of the day and writes it into an excel spreadsheet. From what I can tell it appears that the PlantTelemetry script is looping through all the records 60 times and calculating the average, I just need it to pull the respective tag value from the archive and put into the excel spreadsheet. I did not write these scripts, so I am debugging someone else's work and they are not available for further assistance. Let me know what you find. The assistance is greatly appreciated. AttachmentTimeZone.zip (125 Downloads) |
Follow us on