Using the Database Connectivity toolset, my Labview vis may run from different machines that have local ODBC connection 'test' defined in different places. How do I find out the actual path where the database is? Thanks. Zuolan Wang
The registry entry HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI lists each DSN and if the database is Access, the DBQ key will list the path. If you're using something more robust like SQL Server or Oracle, only the server name is given.
You should be able to do this with the "DB Tools Get Properties.VI" from the utility pallette. The "defualt database" from the returned cluster should give you the actual path.