DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

access violation with citadel data load

Hello-

I have an erratically occuring error: sometime when I load Citadel data using DataFileLoad(XML, "Citadel5"), I get an access violation error:

     Error type: ACCESS VIOLATION
     Error address: 0006E550
     Module name:nicitmid.dll

Right after getting this error, I've confirmed I have a connection to that database by loading the data manually via the data store dialog box.

Often the problem will simply go away if I restart DIAdem or restart my computer. However, right now the problem is not going away, even after a computer restart. I'm running DIAdem 10.2. 

I've searched my hard drive to see if there's another instance of a dll file with the same name, but do not see one.

 

Any ideas on how to troubleshoot this?

Thanks!

0 Kudos
Message 1 of 4
(3,851 Views)

K,

 

We have never run into this error before, so the cause could be any number of things. As for troubleshooting steps, I have a few questions that once answered could help us pinpoint the cause of this error. 

 

  1. Is the error message from DIAdem or from Citadel?
  2. Are there any correlated events that cause this error. Such as the error occurs when :
    • A specific background process is running
    • Data is being written to the database by another process or user
    • The Database is shut down
    • DIAdem loses connection to the network briefly
    • Other computers are accessing the database
    • Etc.
  3. Did this error just start occuring? If so were there any recent changes to the network, your program, the database?
  4. Finally I would be interested to see if the same XML string can consistently cause your error. Can you write you XML string to a file before you call DataFileLoad, and when you get an error, go back try using DataFileLoad with that exact same XML string. If the same string causes the same error, there may be some syntax mistake, or a possible bug. If this is the case can you give a sample XML string or multiple XML strings that cause this error. This would be the most likely source of the error especially if we can load the data manually via the data store dialog box, but not through DataFileLoad.
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 4
(3,830 Views)

R-

Thanks for the troubleshooting ideas. Responses to your questions

1. error messages are from DIAdem

2.1 I haven't noticed any correlation with other background processes- this happens even when I restart from scratch and have nothing else running but DIAdem

2.2 Data is continually being written to the database from our process

2.3 Database is not shut down- if it were I would not be able to connect manually via the data store

2.4 I do not think its a network connection issue- again, then I wouldn't be able to connect via the datastore

2.5 At the times this is happening, no other users are accessing the database.

3. I've observed it other times, but did not document it well. 

4. This is something I'll monitor. My XML strings are identical except for the time window. I've attached a text file that logs the XML, then a note if there was a successful load (if there was not success, nothing is written). Note that I first used a successful string (time window 5/4-5/5), then an unsuccessful one (time window 4/22-4/23), then I immediately tried the original successful one again (time window 5/4-5/5). This one said it was successful, but the dataportal shows up as a lot of empty groups/channels.  Then I restarted DIAdem,  and used a variety of other time windows, but the problem did not repeat with the first unsuccessful time window. So it seems rather erratic. But perhaps this will give you a clue.

 -K

 

0 Kudos
Message 3 of 4
(3,811 Views)

KWeyer,

 

So even with the exact same XML string, it will fail one time, then work another time...Is there anything else you can do to get this to fail consistently? 

 

 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 4 of 4
(3,779 Views)