Hello everyone!
We have been able to modify the python file to allow the
receiver to jump from one frequency to another.
We have modified it to be able to receive signals from local FM stations and
jump from one frequency to another using the python file attached.
(Note:we modified it at the end part using:
tb1 = fm_example()
tb1.Start(True)
tb1.Wait()
freq = freq+200e3
We have also tried to increment it by 200kHZ for all frequencies using just the same code.We tried it up to tb70 and there is a certain point(after tb33, i believe) where it says the following error.(please see attached image)
We would like to ask the following questions:
1.From what I understand, tb.Wait is used for waiting for the flowgraph to finish.
WIth the code we used, we close the scope then it runs again with an incremented frequency.
Do you have any suggestions as to what code we can use to automatically close the
scope so it jumps to another frequency after a certain amount of seconds(lets say 10 seconds)?
2.What causes the error in the second similar code(pls see attached image)?
Thank you very much and have a good day.