LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot use 'DestroyData' option on Historical Data Archiver

In MAX, using Historical Data, I want to Archive an existing database to another database folder.  That operation is successful, but I am trying out the 'Destroy source Data after it has been archived' option, but I get:

Unable to destroy data from database 'suchandsuch':  The operation cannot be completed because the resource is in use by another client.

I have all Labview applications closed including the project file that contains the Shared Variables.

MAX is the only application currently running on the PC.

Both database folders are on local computer.

0 Kudos
Message 1 of 2
(2,706 Views)

GretchenSkelly,

 

Though the Labview environment, and project application has been closed. The Shared Variable Engine is persistently hosted on your PC, with any previously deployed network variables. In order to ensure that there are no processes continuing to access the database files, you must manually stop the Shared libraries in the Distributed System Manager. 

 

From the Getting Started Screen:

Select Tools >> Distributed System Manager

Under My Systems >> localhost, you should see your Shared libraries. You may right click on a library, and select 'Stop Process.' 

Alternatively, you may choose to remove the library frome the Distributed System Manager, and re-deploy it when you launch your project and application VI. 

 

Hope this helps shed light on releasing thse dependencies, if you continue to struggle please include your versions of LabVIEW and MAX in future posts.

 

Thank You,

 

PCorcs

Patrick Corcoran
Application Engineering Specialist | Control
National Instruments

0 Kudos
Message 2 of 2
(2,688 Views)