From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-18-2005 12:19 PM
02-21-2005 09:14 AM
02-21-2005 12:07 PM
12-24-2005 05:53 PM
12-24-2005 05:54 PM
12-25-2005 03:11 AM
Instead of building a connection string, you can create a DSN file as described earlier in the thread. This has some advantage because the connection information is stored in the file and you can easily change the file if you change the DB driver. You can do this in windows by going to the control panel>>Administrative Tools>>ODBC data sources and going to the File DSN tab. Once you save the file, you can wire the path of the file into the Open Connection VI. If you must build the connection string for your specific DB, you might want to search google for how to do this.
Also, don't post the same question to multiple threads. It will only make people waste their time and not want to help you the next time you ask.
12-25-2005 11:10 AM
Sorry about the double posting. I added a reply onto this current thread AFTER having started the other thread. I'm having trouble navigating this new setup for the forums and frequenlty can't find information -- let alone find it easily. I think I need to reset some of my access settings here as well.
It seems to me that whether I use the DSN file or Connection String approach that the real problem is actually setting the Connection string -- that's what's stored in the DSN file is it not? And it seems like it's actually doing the correct Connection that is the problem. If tried a number of things but just can't see to get it to work.
THe VI is the Connect_to_Database_by_name example, modified to use the new Connection String.
The information that I use for the Connection String is:
Provider=DataDirect 32-Bit SequeLink 5.4;
Data Source=C:\Program Files\Neurofeed\NeuroCarePro\Common Files\Users.FP8;
Persist Security Info=False
The error I get is:
Error -2146824582 occurred at DB Tools Open Connec (String).vi->Connect_to_DataBase_by_name Mine.vi
With the possible reason being:
Exception occured in ADODB.Connection, Provider cannot be found. It may not be properly installed.. Help Path is C:\WINDOWS\HELP\ADO270.CHM and context 1240655 in DB Tools Open Connec (String).vi->Connect_to_DataBase_by_name Mine.vi
But I believe that the correct ODBC driver is installed -- per FileMaker directions -- and is available via the System Administrator applet.
12-25-2005 11:52 AM
A DSN file is an ASCII configuration file (you can open it with notepad) and it holds a bit more data than the connection string. The big advantage about using it is that windows builds it for you using a wizard, and often allows you to test the connection. If you managed to properly create a DSN file which works, then you will know that the problem is with your config file. If you haven't, then you probably have a problem with your driver.
As for the forum, for some inexplicable reason, the search defaults to the last 90 days. To search more, you actually need to go into the advanced search page.
12-26-2005 01:30 PM
12-26-2005 02:06 PM