DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIADEM crash debug...

Crash when loading dataset from Datafinder Server.Crash when loading dataset from Datafinder Server.

 

Looks like when I try to load data that is more than 80ish groups I get this.  I am loading from a System link datafinder module not local.

Anyone else ever get this?

 

PC: DIAdem 2019 SP1 Win 10

DF server.  system link 19.6, Windows Server 2012.

0 Kudos
Message 1 of 13
(6,111 Views)

Hi az_ltr,

 

What happens if you try to load a file locally from your PC that causes an access violation while loading it from the server?

Which setting for the loading behavior for the bulk data do you have.

What happens if you set this to “Always load bulk data”?

What did you mean with “debug” in the headline? Does this happen while you run a script in debug mode?

 

Greetings

Walter

Message 2 of 13
(6,068 Views)

Hey Walter, Thanks for taking the time.

By debug I mean just trying to figure out whyDIAdem is crashing.  Nothing related to scripting.


If I drag whole tdms file(s) into DIAdem directly.  The manual DIAdem load into portal.  Opens fine.

If I Load Data from the result list with files returned.  File based Datafinder search.  It opens fine.

If I Load Data from result list with groups returned.  50 groups loads ok.

If I Load Data from result list with groups returned.  100 groups shows crash after some "green status bar activity" 

 

Tried another dataset completely seems to be the same.

 

I am going to index the file locally and see if it is related to DF server connection.

Interesting....  I copied the files locally 20 or so tdms files.  Indexed local and I got the same error.

 

The bulk setting I had set is Load Bulk Data on modification of channel data.

 

Switched to Always load.  Crashed.

Saved the DDD this time around to always on the bulk, restarted DIAdem and tried to reload the groups and it also crashed.


Next thing.  Created a dummy file with 150 or so groups each with a channel then tried to Load Data.  It also crashed.

 

Instead of loading Data..I tried to register it.  Crashed as well.  


Starting to think it is a reinstall/repair time.  But just wanted to see if any others are getting the error.  

 

Placing the error contents in text so they can be searched.  

Exception EAccessViolation in Module DIAdem.exe at 0000000000B84A05.  Read of address 0000000000000019

 

0 Kudos
Message 3 of 13
(6,047 Views)

Attached the dummy data file that was crashing too for reference.

Also, added the small query that returns by group for completeness.

Download All
0 Kudos
Message 4 of 13
(6,046 Views)

I uninstalled DIAdem via PM

Rebooted.

I installed DIAdem 2019 SP1 via PM

Rebooted.

Retest as before.

 

- Still crashed with the same error.

0 Kudos
Message 5 of 13
(6,026 Views)

Hi az_ltr,

 

Thank you for all the tests you have done. With the attached dataset I was able to reproduce the crash. As you mentioned, it seems to happen, if you try to load about 50 channel groups or more. I have created a database entry for R&D so that they can reproduce this problem and fix it.

 

If you load the whole file all is fine. So, this is the workaround for such cases.

 

Thank you

Walter

 

 

0 Kudos
Message 6 of 13
(6,002 Views)

Hi az_ltr,

 

Beside loading the whole file, we have a second workaround.

If you go to the menu FILE -> OPEN you can select your file and switch to “Open selecrifly”. There you can select any number of channel groups and load them.

 

P1.png

 

Greetings

Walter

0 Kudos
Message 7 of 13
(5,997 Views)

 

Thanks for confirming and letting me know.

 

Loading the whole file is not quite a perfect workaround because the filter in the internal portal is not as good as the navigator. For example if I need to filter by custom property.  At least I don’t think you can filter by property other than name in the internal portal.  I always thought it would be nice to have the data portal be treated as an additional data finder so that you could use the navigator on your internal data.  When trying to demonstrate this tool to new users myself included they always assume the query can work on the internal data too.  I know you can save the portal and then index it and then search it but it is less straight forward as the data is already in scope...Sorry drifted off topic.  But I will try and see if I can limit my file by the internal portal filters then delete the found items to leave the set of interest.  Scripting the result list in groups of 50 is plan B. One thing I did not try is to load by channel instead of groups.  Also I only searched TDMS files and not other formats. Maybe even saving as tdm would be different.

 

Selective load who knew...  My learning for the day.  This interface is manual though so if I have 1100 groups in which I need to select 550 of them then this will not be practical.  

 

0 Kudos
Message 8 of 13
(5,977 Views)

Hi az_Itr,

 

If you want to programmatically load selectively, you can use the DataFileLoadSel() command in a DIAdem script.

 

Brad Turpin

Senior Technical Support Engineer

National Instruments

0 Kudos
Message 9 of 13
(5,965 Views)

Hello Brad,

 

Looks like importSelection parameter to the DataFileLoadSel only operates on the channel name or index properties so to load data based on properties other than index or name you need to go through the Navigator interface correct?

0 Kudos
Message 10 of 13
(5,911 Views)