DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

VBS function DataloadHDfile

Hello,
 
When using the VBS function DataloadHDfile to import selective channels from a file, as in:
 
Call DATALOADHDFILE("test")   '... DATAFILE
Call DATALOADSEL("test","2-3",0) '... DATAFILE,CHNNOSTR,INCLUDEHDLOAD 
 
the original data file is renamed  to the name "test". While manually using the function "paste from file" it is possible to import channels to the original file without renaming the header. Who can I prevent the renaming of the original file when using a auto vbs function to import a channel from a file?
 
Thanks in advance
 
Thijs Versteegh 
0 Kudos
Message 1 of 2
(3,036 Views)

Hi

I can not reproduce that the filename ist changed using the command you listed (tested in 9.1 and 10). Perhaps you change the name at a other line of your script.

You can change the root name using the following command.

Call RootPropSet("name", "MyName")

Winfried

0 Kudos
Message 2 of 2
(3,034 Views)