I use RP in simple command-line (bash) mode. My goal is to measure frequency response of a system at specific frequencies. My tought was to generate simple sine at specific frequency from OUT1 connected to the input of the tested system and using spectrum analyzer at IN1 connected to output of the system to save the spectrum response of a system.
But when I use a bash script like:
Code: Select all
generate 1 1 1000 sine
LD_LIBRARY_PATH=/opt/redpitaya/bin/spectrum -m 0 -M 10000 -C > output_file
generate 1 0 1000 sine
What I need is to simultanously run the generator during spectrum acquisition and to turn off the generator after I obtain the required spectrum (las command line). In web application of a spectrum analyzer, this can be simply done (by clicking OUT1 generator on), but I need to perform this using command line (I need to repeatedly measure this in a for cycle).
Thank you for any help.
Pavel