LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write data from citadel to mysql programmatically in Labview?

 

I would like to use labview commands to set up the mySQL database to receive the data that I have historically written and am currently writing to citadel.  Ideally, the structure of the sql database will be based on the structure of the data in the citadel database.  What is the best way to do this?  Thanks for your help!

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

You need to use database connectivity toolkit to write data to MySQL. Just use a VI to insert new record to database. You would need to have a field for timestamp and data itself to replicate Citadel.

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

If you set up the tables in the same way and are already using database toolkit and connect through UDLs, then you should only need a new UDL. 🙂

Both databases should react to SQL in the same way.

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(2,456 Views)