LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help required in passing data to a database..!!

Hi all,

 

I am working with a VI which generates a table data as output and i want to pass this data to an online database, may be using SQL. But as I am not so good with SQL and other database management systems, can anyone please tell me how to do this. An example VI would be appreciated.

 

Thankful regards,

 

Nitz

0 Kudos
Message 1 of 8
(3,661 Views)

Hi all,

 

It would have been very kind if someone cared to reply.

 

Regards,

 

Nitz

0 Kudos
Message 2 of 8
(3,646 Views)

You will want the Database Connectivity Toolkit. It comes with examples.

0 Kudos
Message 3 of 8
(3,632 Views)

An alternative is to use LabSQL, but this doesn't have the support that the NI toolkit has.

0 Kudos
Message 4 of 8
(3,626 Views)

I tried the database connectivity toolkit.. but i am getting an error..

error.JPG

Can you please tell me where am I going wrong.

Regards,

 

Nitz

0 Kudos
Message 5 of 8
(3,600 Views)

Here are few links you might want to have a look at

https://forums.ni.com/t5/Example-Code/Insert-Data-into-DataBase-from-an-Array-using-LabVIEW-Database...

Create tables and columns

Geeting column headers

 

Best of LuckSmiley Wink

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 6 of 8
(3,590 Views)

Hi Gaurav,

 

Thanks for your help.. I will go through these examples and try to make out something..

 

Regards,

Nitz

0 Kudos
Message 7 of 8
(3,581 Views)

Hi ,

 

I tried doing this with the data connectivity tool kit.. But still I am getting some errors and not being able to get the results what I want. I have attached the vi and access file on which i am working. What i am trying to do is, when ever i press the enter button, i want the strings entered in the three string controls updated into the database table. But when I am doing this, the first value is getting entered and after that I am getting an error.

 

Please help me how to handle this data connectivity toolkit...

 

Thankful regards,

 

Nitz..

Download All
0 Kudos
Message 8 of 8
(3,549 Views)