DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot load selectively with DD8x loader

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"

 

 Msg.jpg

 

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.

 

0 Kudos
Message 1 of 8
(4,833 Views)

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

0 Kudos
Message 2 of 8
(4,827 Views)

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.

 

0 Kudos
Message 3 of 8
(4,820 Views)

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

0 Kudos
Message 4 of 8
(4,812 Views)

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

 

0 Kudos
Message 5 of 8
(4,806 Views)

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.

 

0 Kudos
Message 6 of 8
(4,803 Views)

Hello Simon,

 

I assume we integrate this fix in the next DIAdem release.

Would this be a possible solution for you?

 

Regards

Andreas

0 Kudos
Message 7 of 8
(4,786 Views)

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.

0 Kudos
Message 8 of 8
(4,783 Views)