Is it possible to turn off Bias-T when observation is done (after the observation) and then turn it on again at the next observation? Some kind of pre and post scripts?
I’m using a Airspy Mini and have biastee=true and I see it is always turned on, even if the station is in idle and have no ongoing observations.
I also noted today if you remove the “biastee=true” from configuration you need to reboot the RPI. Only Apply does not turn off Bias-T.
Only one program can use it at once, so yes, it will fail during obs.
the pre-/post obs script is only started outside the main observation time. there might be some race condition on the post obs script where the driver takes a few ms too long to release the device before the script is launched. a short sleep statement could take care of that.
Unfortunately a sleep statement does not work in the post script. I have tried 10 seconds. I guess the driver still is in use and is released after the post script.
@SA2KNG or @fredy Do you know where the Airspy driver is released (what file)?
I also noted that when using HackRF the Bias-T is turned off after every observation, without any need for POST-scripts