diff --git a/etc/examples/hooks/pmu_dft.conf b/etc/examples/hooks/pmu_dft.conf new file mode 100644 index 000000000..bba3bd6f1 --- /dev/null +++ b/etc/examples/hooks/pmu_dft.conf @@ -0,0 +1,31 @@ +@include "hook-nodes.conf" + +paths = ( + { + in = "signal_node" + out = "file_node" + + hooks = ( + { + type = "pmu_dft", + + sample_rate = 100, # sample rate of the input signal + dft_rate = 10.0, # how often is the DFT beeing calculated? + + start_freqency = 47.7, # lowest freqyency bin + end_freqency = 52.5, # highst freqyency bin + frequency_resolution = 0.01, # freqyency bin resolution + + window_size_factor = 1.0, + window_type = "hamming", # one of: flattop, hamming, hann + padding_type = "zero" # one of: signal_repeat, zero + freq_estimate_type = "quadratic", # one of: quadratic + + sync = true, + pps_index = 0, # signal index of the PPS signal + + angle_unit = "rad" # one of: rad, degree + } + ) + } +) diff --git a/etc/examples/nodes/uldaq.conf b/etc/examples/nodes/uldaq.conf index 7e769f204..3990c7d09 100644 --- a/etc/examples/nodes/uldaq.conf +++ b/etc/examples/nodes/uldaq.conf @@ -18,12 +18,6 @@ nodes = { } }, - sigGen = { - type = "signal" - signal = "sine" - frequency = 50 - rate = 1000 - } vpmu = { type = "socket", layer = "udp",