09-19-2012 10:27 PM - edited 09-19-2012 10:29 PM
This code leads to an error 267 because the working directory path is incorrect. You are wiring the bat file path to the working directory. The path should be stripped to get folder of the bat file before connecting to the working directory of the System Exec.vi
10-22-2013 10:18 AM
I thought I'd add my own experience with this awesome trick. You can actually use this method to insert channels or groups into an existing TDMS file as well. Because TDMS channel/group order is defined by the first time the channel/groups are written, you can create a dummy TDMS file with all the groups and channels in the order you want by writing a blank property to the channels/groups. Then combine that with the TDMS file with the majority of your data, then combine it with the TDMS file that has the channel/group you want to add. The output will be a file in the order that the dummy file was, but containing the data from the other two TDMS files.
Another note that someone may run into is that this combination over command line only works if all the TDMS files being combined are in the same TDMS file format (1.x vs 2.x). If they are not then the output will be a TDMS file that can't be opened.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord