Macro triggered by SDR software (amplitude of signal)

Status
Not open for further replies.

alepkowski

Member
Joined
Jan 22, 2022
Messages
7
I could not find any related topics, but I was wondering if there might be a simple/efficient way to utilize an SDR software (any type of open-source SDR software, CubicSDR, sdrpp, etc.) to trigger a macro in Windows based on the observed amplitude of a signal at a particular frequency. I am fairly certain I am not the first person to try to accomplish this, but I haven't been able to find anything similar yet on the internet.

I would probably need an SDR software that is capable of creating a log file of the observed amplitude on a particular frequency OR that can somehow fire an output based on the observed amplitude at a particular frequency, but I wouldn't even know where to begin searching for this.

Is there a simple way to accomplish this or is this a pipe dream?
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,890
While not open sourced, later versions of SDR# come with a plug-in called "SNR Logger".
This creates a CSV file at set intervals (0.1 to 60.1 second). Of course this only logs and there is no triggering of something external with it.
This CSV file could be parsed by external program to do what you want. (if you dabble in programming you could do this yourself).
 

alepkowski

Member
Joined
Jan 22, 2022
Messages
7
While not open sourced, later versions of SDR# come with a plug-in called "SNR Logger".
This creates a CSV file at set intervals (0.1 to 60.1 second). Of course this only logs and there is no triggering of something external with it.
This CSV file could be parsed by external program to do what you want. (if you dabble in programming you could do this yourself).

Literally the exact advice I needed. Thank you. All I need now is to either write a python script OR find a macro software that can monitor a CSV file OR find a script that someone else has already written for this purpose. Finally making some progress.
 

alepkowski

Member
Joined
Jan 22, 2022
Messages
7
The Windows File API has functions to watch for changes in files/directories.

Can it look for specific values or at least "less than" a specific value within a CSV file. The CSV file will constantly be "changing" because SNR logger records data every interval regardless if the amplitude was the same as the prior interval. Need to look for specific ranges of values (ex. < 80.0 ) to trigger off of
 
Status
Not open for further replies.
Top