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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from a database.

Hello guys,

 

I'm trying to read data from a database and i don't know how. I downloaded the labSQL toolkit and i am using xampp (php my admin). I have made the ODBC connection and i have followed this tutorial. https://www.youtube.com/watch?v=fV14hA6GNWQ 

When i put together all of labsql's VI a have an error:

 

labviewProblema.png

 

The phpadmin server:

problema2.png

 

Thanks.

0 Kudos
Message 1 of 3
(2,432 Views)

problema3.png

i forgot to mention that i have no knowledge about databases. 

I just want to read that table with 2 columns into labview.

0 Kudos
Message 2 of 3
(2,427 Views)

You don't have a successful connection to your database.  I can't read the picture in your second post but I don't see a connection string.  Go to www.connectionstrings.com to build one for the sql server that you're using.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 3 of 3
(2,404 Views)