Hi,
For your case, I think you could define ranges for individual pulses and then put the values of each range to other columns,and you may use a loop to make it simpler, for example, if your original data is stored in column 1, and you are going to use column 2, 3, and 4 to store extracted data, you may do it as following(Minimum version:8.1):
int i;
for(i=2;i<5;i++)
{
//define the starting row of range
int x=7000*(i-2)+1;
//define the ending row of range
int y=x+6999;
//ra is the range to be extracted, rb is the new range to put extracted data
range ra = col(1)[$(x):$(y)];
range rb = col($(i));
rb=ra;
}
And actually, you may use the ImpNITDM x-function to import your .tdms file, this command will help to arrange the data from different channels to be in different columns/worksheets. For more info of this x-function, please refer to:
http://www.originlab.com/www/helponline/Origin/en/programming/mergedProjects/X-Function/X-Function/ImpNITDM.html
Also, there is another x-function "wxt" available for extracting data with testing conditions, you may refer to:
http://www.originlab.com/www/helponline/Origin/en/Programming/mergedProjects/X-Function/X-Function/Wxt.html
Hope this information helps!
Kathy
Originlab