03-09-2015 09:20 AM
Dear sir,
i am using labview 8.2.1 and Database Connectivity 8.2.i need same simple concept of how to connect LV database toolkit to SQL CE Server.
03-09-2015 12:40 PM
When opening the database connection, you will need to provide either a connection string, or a path to a UDL (which will contain a conenction string). The easiest way to get a connection string is to go to (no I am not kidding) www.ConnectionStrings.com. Once there you enter the type of DBMS you are trying to connect to, and the system will list connection strings that you can use based on the drivers that you're using.
How much experience do you have with LV and/or databases?
Mike...
PS: you might also want to check out a series I did a bit ago on database connectivity in my blog. See the link in my signature...
03-09-2015 02:50 PM
That's an incredibly useful link even for those of that already know (roughly) what we're doing 🙂
03-09-2015 04:19 PM
Another useful tool is UDL files - https://msdn.microsoft.com/en-us/library/e38h511e%28v=vs.71%29.aspx
This is essentially a text file which holds the connection string, but the magic comes with a wizard that ships with Windows and lets you configure and test connections in a GUI. There are ways to point your code at the UDL file itself to provide the connection details (very useful if you want to switch between DBs) or you can use the wizard for the configuration and then open the file in Notepad and copy the connection string.
03-09-2015 11:23 PM
hi,
i allready used microsoft office access and MYSQL database.now want know about how to create a connection in SQL CE server.and need some example.
03-09-2015 11:31 PM
03-10-2015 12:20 AM
hi,
microsoft access and mysql the DSN Name created in ODBC(microsoft access driver and MYSQl ODBC5.3 ANSI Driver).in this method how to create DSN Name in SQL CE server.
03-10-2015 12:38 AM