LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write 2D array row to database?

Hi all,

 

I have the element. My code should identify the particular row in 2D array in which that element matches & write that entire row to database.

 

I do not know to create databases in LV. Please guide over the problem.

 

Thank you,

Vaibhav Gandhi
,
B.E. Instrumentation & Control,
INDIA
0 Kudos
Message 1 of 2
(2,719 Views)

You can create the database anyway you see fit, e.g. in SQL server. Then use LV to connect and just read and write data.

 

If you want to handle all of the database ideas through LV you'll first need Database Toolkit or similar. There's Create Table, Drop table, Insert data into table and ofcourse Select data which'll give you the tools you need.

 

In order to write your entire row to database, you can either build a SQL string yourself and Execute Query or build a cluster of the row and feed that to Insert Data.

 

/Y

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

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