LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing a program which accesses/manipulates a MySQL database

Hello,

I have a MySQL database which I need to be able to manipulate through Labview 8.0 on a windows machine.

I installed the MySQL ODBC 3.51 driver and created a DSN, but am unsure of how to proceed to write a program which actually accesses the db. All the examples I have downloaded have some missing files which seem to allow connection, queries, etc..., but I do not know how to get these files.

If someone could please instruct me on how to get these files or otherwise access the database I would be very grateful.

Thank you,
Rehan
0 Kudos
Message 1 of 4
(2,975 Views)
Michael Aivaliotis has a nice tutorial posted at:

http://www.lavag.org/archives/ON/files/Using_MySQL_with_LabVIEW.pdf

I haven't started using it myself so unfortunately this is all I can offer.

Matt
0 Kudos
Message 2 of 4
(2,969 Views)

Hi,

National Instruments has a LabVIEW toolkit called Database Connectivity Toolkit that makes it easy to work with databases. I am guessing that the examples you were looking at used some of the functions from this toolkit which is why you were seeing all those missing VIs.

Regards,

Ankita

0 Kudos
Message 3 of 4
(2,952 Views)
Hey,

Thanks for the input. The pdf was quite useful, and I just ended up using LabSQL to connect to the databases.

Rehan
0 Kudos
Message 4 of 4
(2,932 Views)