|Download Help (Windows Only)|
You can archive historical data in the following ways:
If you archive the database manually, you must detach the database before you archive it manually. Detach the database using the Historical Data Viewer in MAX or the Detach Database VI. You then can use the Historical Data Viewer to reattach the database after you copy it. Copy the LabVIEW project library (.lvlib) and the historical files to the new location. Although you can retrieve historical data without the .lvlib file, you do not have the shared variable configuration information, such as engineering range and unit, unless you archive the .lvlib file. Stop the Shared Variable Engine and Citadel database before archiving the files manually.
When you create a .lvlib file, the default location for the data generated by the shared variables configured in that file is a directory called data located in the directory in which you saved the .lvlib file. Maintain the relative path between the .lvlib file and the historical files in the new archive location. For example, if the .lvlib file is in c:\archive, keep the historical database in c:\archive\data.
Copy or move all files in the database directory to the directory you have selected as the logging directory. However, if you copy those files into a directory with an already existing database, the filenames collide. You can safely merge two databases by archiving the databases into the same database directory with the Archive Traces VI and the Historical Data Viewer.