06-07-2011 11:07 AM
Hi,
I have a piece of code which has always worked until we switched from 9.1 to 2010. It reads:
Call DataFileLoadSel(DATADRVUSER&T1,T2,"[1]/["&ChList_&"]","")
Where DATADRVUSER&T1 is as in the error message and T2 = "DAT"
Is there something about loading R32 files in 2010 that the code doesn't like?
For info, the datafiles load perfectly when just using the manual file open method.
Thanks,
Si.
06-08-2011 01:22 AM
Hello Si,
I checked that with DIAdem 2010 and it worked fine for me. Please can you test the attached script? (Maybe you need to change the path for "DataDrvUser".)
Greetings
Walter
06-08-2011 02:55 AM
Hi Walter,
Thanks for the response.
Your test worked for me too. My colleague (who acquired the data files we are having trouble with) has since tried processing them using 9.1 and it worked fine. I have also discovered that I can't selectively load the dat files using the manual method in 2010. If I open the whole file and then save it as a TDM then I can selectively load from it.
I've attached an example file here. Can you test it please?
Many thanks,
Si.
06-08-2011 07:13 AM
Hello Si,
Yes, I can reproduce the described problem. We will try to fix it. In the meantime you can use the following (old) command sequence:
DATADRVUSER = "D:\Tset\" T1 = "A0P1Tr00.DAT" T2 = "DAT" T3 = "1,2,4" Call DataLoadHdFile(T1) Call DataLoadSel(DATADRVUSER&T1, T3, 0)
Greetings
Walter
06-08-2011 09:23 AM
You are right the behavior changed in DIAdem 10 it is caused by the following syntax
In Line 27 of the DAT file we find
251,
this leads to a stop of the selective loader.
Removing the line or replacing it by
251,NOVALUE
will make it loadable. We will try to get back to the 9.1 behavior
Greetings
Andreas
06-08-2011 09:30 AM
Hi Andreas,
Thanks for your response - I'm glad the cause has been found.
When you say that you will try to get back to the 9.1 behaviour - how will this be implemented? Will it require a service pack or something similar? This will take a long time won't it?
Regards,
Si.
06-09-2011 08:05 AM
Hello Simon,
I assume we integrate this fix in the next DIAdem release.
Would this be a possible solution for you?
Regards
Andreas
06-09-2011 08:31 AM
Hi Andreas,
Not really - we don't buy every version as we don't need to, but your workaround that you gave me using DataLoadHDFile will do for now.
Si.