Hello.
I am using the Alarm & Event Archive VI in Labview DSC 7.1 and I have a problem. The archiving works correctly, but after archiving, if I try to copy the archive folder, Windows refuses (I am using Windows 2000). It seems that Labview is not releasing the references to the mssql.ldf and mssql.mdf files in the archive folder, hence I cannot copy because of a sharing violation.
I have tried all of the follwoing, but I cannot release the reference:
1. Stopping Tag Engine.
2. Exiting Tag Engine.
3. Exiting Labview.
I have even tried stopping the sql processes in Windows Task Manager, but the sharing violation still occurs. The only way to backup the archive folder is to restart Windows, then copy it
!
I have included the VI I am using to archive the alarms/events. Note that first it archives historical data (this is fine), then it archives alarms.