06-22-2015 01:18 AM
Hello,
I am using MS Access 2010 and Labview 2012. when I am running vi of Create table and insert column but I am getting a repetitive error which is shown in images.
Please help me resolve this problem.
Solved! Go to Solution.
06-22-2015 02:36 AM
If memory serves, you need to have column names in brackets if using spaces [Unit under test] [Test result] and so on.
/Y
06-22-2015 02:52 AM
When wiring a cluster you might need to set the column informations first. Check the examples shipped with LabVIEW (sixtypes Insert.vi)
06-23-2015 01:47 AM
Hello,
I am trying to create the new table in MS Access through LabVIEW. In that table, I want to insert the array of data in the at data terminal.but error displays repetitive which shown in attached image. what can I do to resolve this error .
In MS Access, I want to do numbers of records under one field name(Array of data). and that is for more than one fields.
06-23-2015 10:54 AM
That error tells you what is wrong, the data you are trying to store in one of the columns are too big for that column.
How have you created the table and what data type are the different columns?
You should be able to see that in MS Access.
And one tip, you don't need to wire the N terminal of the for-loop when you have some auto-indexing input tunnels on the loop.
06-23-2015 11:56 PM
Hi,
I make the datatype of both string array to text to a field to 255.and Numeric array to Double in MS Access.
but this problem still persist.please help me to resolve this error.
06-24-2015 08:42 AM
Can you attach your vi and database?
That will help us help you.
06-24-2015 11:22 PM
PFA for the BD of my VI.
06-25-2015 02:43 AM
There are some minor issues with your programming.
Why do you have the sequence structure ? use the error wire to force data flow!
Why are you opening and closing the connection to the database multiple times in the vi?
What is the sql query that you what to run at the last connection?
I have run your vi with a new database, and I got no errors.
I have attached the database and dns file for connection info.