I am trying to automatically update a variable "phase_shift" using GNU Radio.
I have 2 receivers and I am trying to find the optimal phase shift between them. Once this value has been calculated, I want it to be plugged into the phase shift block so that the phase of one of the receivers is actually shifted. However, the calculated phase shift value is constantly changing over time and hence, I would like to save it into a variable that will then be plugged into the actual phase shift block in GNU Radio to find the desired output.
So, as of now, the program is automatically calculating the desired phase shift. I would like to save this value and plug it into the "phase shift" block so it is automatically updated. Is there a way of doing so?