07-08-2014 04:51 AM
Hi,
I have several XNET sessions in my project, but one of them has 'lost' the database that it is associated with. I'm guessing the database may have been accidentaly deleted from our network, but I don't know where on the network the database was (or even what it was called). Is there some way of finding out the location of the database that goes with the xnet session/alias?
TIA,
Andrew
Solved! Go to Solution.
07-08-2014 06:05 AM
Use \vi.lib\xnet\xnet.llb\XNET Database Get List.vi to list aliases and paths.
Its in Measurement I/O>XNET>Database>File Mgt palette.
07-08-2014 06:47 AM
Thanks for your help; it's certainly pointing me in the right direction. Unfortunately the XNET Database Get List.vi removes aliases from the list that are no longer valid. It's calling some external code (nixlvapi.dll) within this vi so I still can't get to the data I need. Perhaps someone who understands these .dlls might be able to help?
07-09-2014 09:37 AM
Hi Andrew,
Unfortunately once a database has been deleted there is no way to recover a path to it. If you cannot find the database yourself, perhaps one of your colleagues will have access to it, or you may have to rebuild the database. In future I would reccomend you keep a backup of any databases should this occur again.
Best Regards,
James Kent
07-10-2014 09:24 AM
Thanks James.
I've now re-built the database. It does seem a shame though, as the .dll obviously has access to something which gives the path for each alias.