04-22-2009 06:25 PM
If I have a MS SQL Server hosted on the internet, how can I use Labview to access it? Examples appreciated.
TIA,
Les
Solved! Go to Solution.
04-22-2009 08:39 PM
Have you tried searching the forums for SQL?
Or the example finder in LabVIEW?
04-23-2009 01:01 AM
04-23-2009 09:09 AM - edited 04-23-2009 09:12 AM
I have a web-hosted MySQL database. I set up an ODBC data source (Windows) and use a UDL file and am able to connect just as easily as I can an Access database on my PC.
04-23-2009 10:44 AM - edited 04-23-2009 10:44 AM
You can use ODBC, though I have found that it is more convinient to use a connection string...that way you don't have to set up the ODBC connection on every computer you want to use the application on.
You will also have to have your database server set up to allow outside connections, as I beleive ms sql only allows connections from localhost by default.
Not sure if you need specific examples on how to talk to a database, but, as suggested, a search should yeild many results.
04-23-2009 10:55 AM
Thanks for that. So am I to understand that the database tools will construct the required http strings the post and retrieve data?
TIA
Les
04-23-2009 11:07 AM
04-23-2009
11:46 AM
- last edited on
03-26-2025
09:47 AM
by
Content Cleaner
Check out the product page for NI LabVIEW Database Connectivity Toolkit to learn more and feel free to post any additional questions you have.
Edit: The LabVIEW Database Connectivity Toolkit is now only sold as part of LabVIEW Professional.