DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DIAdem to repeat an FFT function to multiple channels

Hello and excuse my newbie-ness. I ran a few queries here in the community and ended up in much more advanced posts than what I need. 

 

I have 30 or so channels imported to Diadem and I am applying a FFT analysis to each channel (accelerometer data). I am manually dropping each time domain channel (ex. Brkt_1_X) in to the function window, hitting calculate, then renaming the new frequency domain channel from AmplitudePeak to its final name (ex Brkt_1_X_FFT). 

 

I am able to record/create a script to do this, but it can only do this one specific channel, with the same specific name. I need to do this for 30 or so channels in the same .tdm file, with various names and naming conventions. I am looking for help figuring how to do this with Diadem built-in functions, or creating a script that can do this. 

0 Kudos
Message 1 of 2
(905 Views)

Been digging in the forums and in the FFT document that is floating around. I made some changes to the FFT setup and was able to generate results for all channels in one click, however, the results are nowhere near what my established method provides. In general, the results are lower in magnitude than my current method. 

 

Removing signal averaging allows me to process my 36 channels at once, but only if I set time intervals to use 'all' and 'Interval' to 1. My established (required) method is to use 'length/start/overlap' with length of 2048. Selecting this instead of all, automatically changes the interval to some other number. Say 75, I think this is based on number of measurements (my sample rate is 10kHz). Therefore, I end up with 75 output channels. I do not understand why an interval of 1 results in my 36 channels and anything other than 1, results in that number of channels.

 

I feel, like a script is in my future. This will allow me to do it the way I'm prescribed, at scale.    

0 Kudos
Message 2 of 2
(874 Views)