Hello Shefalika,
actually I am not really sure if I understand your question correctly.
As far as I understood, you are having a collection of channels which
you need to export to a certain number of custom files. In general,
this should be possible. How complicated this is depends on the format
in which you have to create the files.
You mention that you need to include a certain header into the files,
but you dont specify the format you want to use for the data. If you
are using the prebuild functionality that comes with DIAdem your
possibilities are somewhat limited. For instance, I believe it is not
possible to generate a file that does not have an extension. I
find it strage though, that DIAdem would add a .LST. I am not sure what
you are doing (An LST file is part of a serial evaluation script you
would create in DIAdem SCRIPT).
Anyway, writing a shot script will give you all the flexibility you need. For example, the command
Call DATAFILESAVESEL("C:\AsciiExport","CSV","1-2")
will create a spreadsheet ASCII file containing the first two channels
of your dataportal. The file will not have an extension. Unfortunately,
the file header is going to be included automatically without the
possibiliy to choose specific information. Using the Textfile functions
in DIAdem SCRIPT or the FileSystemObjet, which you can include in the
VBS, you have all options to create your custom files.
Since I dont know much about how the files should look like I cannot give you more than this general information.
I still hope it will give you some ideas.
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany