03-14-2008 03:34 AM
03-14-2008 09:39 AM
Hi CBM,
I have done this before, using a custom VBScript, but the only feasible way to go about it is to have a template TDM file that you use to reconstruct the lost one. The template TDM file has to have the exact same number of Groups and Channels, ideally with the same names. What my script did was rewrite the binary file (TDX) reference path and change the channel lengths to fit the actual TDX file size.
Might you have such a template TDM file hanging around, or might you be able to create one?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-16-2008 09:17 AM
03-17-2008 09:59 AM
Hi CBM,
You will need to adapt the template at least a little. The TDM file contains the file name of the binary TDX file, the length and data type of each of the channels in the TDX file, the channel names, units, etc. Chances are slim approaching nil that all of those details are exactly the same in your template file as the orphaned TDX file you're trying to ressurect. Can you send me the template file and the orphaned binary file and describe which items need to be adapted? I'm perfectly willing to send you the VBScript I have, but it will likely not do exactly what you want, and I think it would be easier to proceed the other way around.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-20-2008 04:27 AM
03-20-2008 10:18 AM
Hi CBM,
Nope, I didn't get any email that I can tell is from you. Did you use brad.turpin@ni.com? The NI ftp site is also an option:
ftp.ni.com/incoming
Brad Turpin
DIAdem Product Support Engineer
National Instruments
04-30-2013 02:26 PM
Brad it appears I have a similar problem. Would you be willing to send me a copy of your VBScript?
05-01-2013 07:21 PM
Hi Tim,
Here it is, hope it helps.
Brad Turpin
DIAdem Product Support Engineer
National Instruments