开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Efficient Frequency and Power Reading via USB: Seeking Best Practices


 

I need to read all frequencies and their power using commands that can be sent via a USB port.
I can achieve this in a couple of ways:
1. freq_data = device.get_freq_data()
? ? data2 = device._data(2)?
2. device._send_command("scan 220000000 2500000000 450 3\r")
? ? scan = device._fetch_data()?
?
The first method works twice as fast.
Can you suggest any other commands that might achieve the same result? Perhaps there are best practices for implementing this more efficiently?