04-21-2020 05:27 PM - edited 04-21-2020 05:28 PM
04-22-2020 01:14 AM
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
04-22-2020 03:26 PM - edited 04-22-2020 03:48 PM
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
04-22-2020 03:42 PM - edited 04-22-2020 03:53 PM
04-22-2020 06:26 PM
04-23-2020 12:55 AM
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
04-23-2020 04:07 AM - edited 04-23-2020 04:08 AM
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.
Greetings
Walter
04-23-2020 11:13 AM
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.
04-23-2020 05:00 PM
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
04-30-2020 03:43 PM