10-24-2013 03:48 AM
Labview 2013 are closing when I try read table from database.
I don't get error message, Labview just crashes. I'm use Labview x32 and Database Connectivity Toolkit connective on Windows 7 x64. I connect to PostgreSQL with ODBC driver, connection is stable.
In my database I have many tables, I can read all them without one.
When I try read bad table I get data and then labview crash. When I restart Labview I don't have any message about error.
Also I try use LabSQL-1.1a. But it has same result.
Solved! Go to Solution.
10-24-2013 09:16 PM
When LabVIEW crashes it generates a Error Log File, can you post this file to see what's going on?
This article shows where to find the error log file.
10-24-2013 10:07 PM - edited 10-24-2013 10:08 PM
Try connecting using UDL file. What operation you are doing with database
You can create the same.. Do this Tools --> Create Data link..
Then go to http://www.ni.com/pdf/manuals/371525a.pdf link and see page 3-5. It will help
10-25-2013 02:37 AM
I didn't have error message or crash message. Labview just closed and when I start Labview again I don't have any message about saving an error log the previous time. It's like I simple close Labview and start again.
10-25-2013 02:46 AM
Close only application or complete LV closes?
Try using udl file as suggested
10-25-2013 03:07 AM
Complete LV closes
10-25-2013 03:35 AM
I found the solution.
I think problem was that I have very big array in my database.
Early I got data from table with next quiry:
SELECT column1, column2 FROM "table";
But when I write next:
SELECT column1, array_to_string(column2,',') FROM "table";
all worked!