10-12-2006 07:57 AM
10-13-2006 05:27 AM
10-13-2006 08:56 AM
Hi salte,
There is an application on the web that does this automatically-- check it out:
http://zone.ni.com/devzone/cda/epd/p/id/3870
Unfortunately, it seems that with the changeover from Domino server to Vignette, that this web site got garbled-- all the zip files now have cryptic names, and the most important one is missing altogether. Are you importing your data files with the ASCII Import Wizard plugin, the Excel Import Wizard, or with a DataPlugin (including DAT, TDM, TDMS files)?
The zip files "4284.zip" and "4285.zip" at this support page cover the two Import Wizard cases, but they also each have a VBScript that consolidates groups already loaded into the Data Portal. I can send you the missing "4286.zip" file if you are using a DataPlugin to load your files.
Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-26-2006 09:11 AM
10-27-2006 09:47 AM
Hi salte,
Yup, the one you want is the link that disappeared, the "DataPlugin" flavor of this application. You can either Assign DataPlugin="TDM" or DataPlugin="" to instruct DIAdem to use the TDM DataPlugin when loading your TDM files.
Here's the example,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-30-2006 09:32 AM
10-31-2006 08:57 AM
Hi salte,
True, the script assumes that each file has only 1 Group. You could change the DataFileLoad() command to the DataFileLoadSel() command and pass the channel string "[1]/*" or "[2]/*" to load only the channels from Group [1] or Group [2]. Then the script will work as designed. If you really have to merge multiple Groups from multiple files all in one step, then you'll need to edit the script significantly.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-10-2006 08:49 AM