LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2013 Citadel ODBC SQL Crash

Retrieve Citadel Data via ODBC SQL produces a crash in the nilxtcor.dll file if the query is executed several times (appx 1000).  The amount of data requested varies the crash point.  Wondering if anyone has seen this behavior.  We saw this problem in 2011 and NI produced a fix.  Also the query test runs 5-10x faster in 2012DSC vs 2013DSC.

 

Our test:

We tried extracting 1 to 10 numeric variables over a 5 min span with a 10sec interval.

OS: Tried Windows 7 32 and 64bit

Applications: Standalone VB.Net exe, Labview Development mode or Labview standalone exe produces same result

Example of Query:

SELECT IntData.LocalTime,
 IntData."GRF-WKS225/OsmoseHist/tank1Volume"
FROM IntData IntData
  WHERE IntData.IntInterval = ' 00:10'
  AND IntData.LocalTime > ' 2014-05-14 13:30:00'
  AND IntData.LocalTime <= ' 2014-05-14 13:35:00'"

0 Kudos
Message 1 of 7
(3,571 Views)

Hi Beardsell,

 

I have not personally seen this issue but I had a few questions to explore the crash further. Is this a complete crash with an error report or are you receiving an error dialog/code of some sort? Are you able to reproduce it consistently or does it appear to be slightly random? Has all the testing been done on the same development system?

 

 

David C
0 Kudos
Message 2 of 7
(3,519 Views)

The program will freeze without an error code.  Windows Event Viewer is where I saw the nilxtcor.dll file as the faulting module. We can reproduce the problem.  Testing has been done on two different machines with different Citadal Databases.

 

During the testing we open-query-close then repeat.  The problem is occurring during the call to the DB Tools Open Connection.vi.  I will be doing additional testing today to see which component of that VI is problematic.

0 Kudos
Message 3 of 7
(3,506 Views)

Digging a little deeper into the DB Tools Open Connection VI. The Invoke Node Connection_Deprecated-Open is where the error is being generated. The following Exception was produced:

 

Error -2147418113 occurred

Possible Reason ADO Error: 0x8000FFFF

0 Kudos
Message 4 of 7
(3,494 Views)

If I’m not mistaken, this is the Database Connectivity Toolkit. Which version are you using? I haven't been able to locate that particular invoke node yet but I'll dig into that VI some more.

 

 

David C
0 Kudos
Message 5 of 7
(3,491 Views)

Correct.  The module is the Database Connectivity Toolkit 2013.  We are also setting up a 2012 environment to see if we get similar results.

 

 

Scott

0 Kudos
Message 6 of 7
(3,485 Views)

Step 1: Don't ODBC, use ADO

Step 2: Don't use the Database Connectivity Toolkit. Check here for alternative.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 7 of 7
(3,409 Views)