Pira.cz Technical Forum

FM Analysis => PIRA75/P175/P275 Control Software => Topic started by: m1k6 on October 28, 2021, 12:22:52 pm

Title: FM Scope - Script - Reset Frequency Deviation
Post by: m1k6 on October 28, 2021, 12:22:52 pm
Hello,
how can I reset the frequency deviation in an fms script file?
I couldn't find an command for this in the manual.

Best regards.
Title: Re: FM Scope - Script - Reset Frequency Deviation
Post by: Jan on October 28, 2021, 01:13:54 pm
There should be no such need at all. The frequency deviation is only a number. Its value can only be obtained from the device, it cannot be changed programmatically.

If the value is no longer valid for some reason, this flag must be set in another variable.
Title: Re: FM Scope - Script - Reset Frequency Deviation
Post by: m1k6 on October 28, 2021, 01:46:40 pm
Sorry for the confusion, I meant the frequency deviation diagram.
So I would like to reset the diagram data.
Title: Re: FM Scope - Script - Reset Frequency Deviation
Post by: Jan on October 28, 2021, 05:35:04 pm
The histogram is cleared in the device by command send(*C) - this is equivalent to click on the Reset button in the Frequency deviation window.
The histogram is also cleared when a new frequency is tuned.
Title: Re: FM Scope - Script - Reset Frequency Deviation
Post by: m1k6 on October 28, 2021, 09:53:05 pm
Using send(*C) works perfectly.
Thanks!