LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create Citadel 5 URL to access archive

I archived some Citadel 5 data to a portable harddrive on another computer. I moved this hard drive to a different computer and want to access the historical data. How do I create the database URL, inside a vi, to point to this new directory?? Or is there a vi to find any Citadel 5 archives that may exist on a computer?? I am using Labview7.0
0 Kudos
Message 1 of 6
(2,932 Views)
I believe the first step you will need to do is to connect the database on the new machine. By that I mean, go into MAX > Historical Data and right-click and Add new Database. In the dialog, browse to the database and create it. When this is completed, you should see your database in the node-tree to the right. The name of the database is shown there. The URL for your database is \\\.
0 Kudos
Message 2 of 6
(2,928 Views)
The URL should be \\computername\databasename
0 Kudos
Message 3 of 6
(2,926 Views)
Is there a vi to read any of this info out of MAX??
0 Kudos
Message 4 of 6
(2,918 Views)
Not that I'm aware of. It might be possible to find it through an activeX interface to MAX, although that would probably tricky to build unless someone's already done it. I have to defer to NI on this one.
0 Kudos
Message 5 of 6
(2,916 Views)
You can programmatically attach a database by calling the Create Database.vi in LabVIEW. This will do the same thing as Chris described doing in MAX. Once you have the database created ("attached"), you can call the Get Trace List.vi to see which traces are available in the database.

If you need some further help in building the database path, you'll probably find the Build Path.vi or other VI's on the File I/O palette helpful.

I hope this helps. If you have more questions, please post a reply.

Regards,

Kristi H
National Instruments
0 Kudos
Message 6 of 6
(2,903 Views)