I've added a test to check the relative PA output power at 1.8 MHz and 30 MHz and flag an error if this is outside an 1.1 (± 10%) ratio. These numbers work for my H-Lv2b8 with a rewound T3, I think they should also be fine for a b9 with a good T3 but of course I cannot know for sure.
I've tested this only stand-alone, by adding a dedicated button for this test (uncomment #define CFG_FLATNESS_BUTTON in hl2setup.cxx to enable the button).
I've tried to add this test as the last test in the overall test suite but I did not check if this is working as I did not want to re-set the bias on my b8 (to avoid altering the PA characteristics, which I have measured a lot of times in different conditions).
Please double-check the added code, as I may have misunderstood how all is supposed to work :grin:.
Not related: this part of the code is either indented incorrectly or some braces are missing but I couldn't figure out how it should be.
I've added a test to check the relative PA output power at 1.8 MHz and 30 MHz and flag an error if this is outside an 1.1 (± 10%) ratio. These numbers work for my H-Lv2b8 with a rewound T3, I think they should also be fine for a b9 with a good T3 but of course I cannot know for sure.
I've tested this only stand-alone, by adding a dedicated button for this test (uncomment
#define CFG_FLATNESS_BUTTON
inhl2setup.cxx
to enable the button). I've tried to add this test as the last test in the overall test suite but I did not check if this is working as I did not want to re-set the bias on my b8 (to avoid altering the PA characteristics, which I have measured a lot of times in different conditions).Please double-check the added code, as I may have misunderstood how all is supposed to work :grin:.
Not related: this part of the code is either indented incorrectly or some braces are missing but I couldn't figure out how it should be.