ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Data to MySQL table

Hi.Need help. I already created the tables and column fields in MySQL. Now i have a 1D Array which contain similar field in the MySQL table. Example DR1in the array is similar wit DR1 column name in the SQL table.
 
I have another array which contains the data for the column.
 
help me cos there is an error wit the coding.
 
0 Kudos
Message 1 of 7
(4,181 Views)

Hi jeyanthi,

can you upload your vi and maybe your txt file? Where do you get the error?

Mike

0 Kudos
Message 2 of 7
(4,168 Views)
the attachment of vi and text file
Download All
0 Kudos
Message 3 of 7
(4,149 Views)
Hi jeyanthi,
you get the error because you connect a txt file to the database open function. You can only connect udl or dsn.
See the attachment please, it makes the same as your vi. Smiley Happy
 
Hope it helps.
Mike
0 Kudos
Message 4 of 7
(4,114 Views)
thk u :womanhappy:
0 Kudos
Message 5 of 7
(4,101 Views)

Mike,

What is udl and dsn?

Mathan

0 Kudos
Message 6 of 7
(4,094 Views)