12-04-2006 04:27 PM
12-04-2006 05:59 PM
Hi Julia,
I am afraid I can partly help you. To reduce the frequency from 5 Hz to e.g.: 1 Hz you can use the function "File>>>paste from file", then select the file and after "Reduce lines >>>line reduc..." . You could set the line interval width for each 5 lines, so the data will be reduced.
Hope it helps a little bit.
Rodrigo (Brazil) 🙂
12-05-2006 05:34 AM
12-05-2006 12:04 PM
01-13-2011 05:24 AM
i also need to reduce my data of a certain group and found this thread. i tried to type "Channellength/5" as No. of classes but i get an error message "cannot assign Channellength/5 to the integer variable Assignment:< CLASSNO=Channellength/5>
what do i have to type to get every 10. value respectively the mean value of 10 values.
if i tpe 5 as No. of classes my channel length is only 5. mi channel length is 18000, if i type 1800 as no of classes will i get the mean value of 10 following values?
01-13-2011 11:22 AM
Hi All,
Normann and I figured things out via email, but for anyone else searching for this thread, what I suggested to him was that
the easiest way to average together each window of 5 values to resample each signal is to load the data set with data reduction. Instead of dragging the data file into the Data Portal, right-click on it and select the "Data Reduction..." context menu, then select the data reduction parameters you want... in this case to calculate the mean from each window of 5 points.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-05-2014 08:19 AM
Hello Brad,
I realise this topic is a little old but i'm hoping you can help.
looking at the solution above i am wondering how this could be scripted.
Hope you can help and thanks in advance
Nick
10-05-2014 04:33 PM
Nick
The script example to do a reduced data load is :
Dim oMyElementList
Set oMyElementList = DataFileLoadRed("Example.tdm","TDM","","IntervalWidth",100,eInterMeanValue OR eInterFirstValue)
Call ChnSum(oMyElementList, "ChannelSum")
Look up the help on DataFileLoadRed
Paul
10-06-2014 04:13 PM
Thanks Paul,
I'll give it a go .
regards
Nick