Why Does SVFA Power Spectrum Have a 1- and an N-Channel Version?

Updated Sep 6, 2018

Reported In

Software

  • LabVIEW

Issue Details

Why does the SVFA power spectrum have both a 1-channel version and a N-channel version? For instance, I could use the 1-Channel version for multiple channels as well if I implement it in a for loop. 

Solution

There are two main reasons:
  • Convenience: If you have multiple channels, you can simply use the N-channel version instead of creating a loop with the 1-channel version inside it. 
  • The loop approach will not work if you have averaging enabled. Many of the waveform-based N-channel instances maintain their state per channel. The code below implements the two approaches in the case of multiple channels.



With averaging disabled the two approaches are equivalent. If it is enabled, only the N-channel version will return the correct results

WAS THIS ARTICLE HELPFUL?

Not Helpful