This may be a bug between chair and yoke (i.e. a misunderstanding on my part) but here goes.
- Launch the an24b at LOWI.
- Autostart (I normally start manually but for the sake of reproducing this bug, this is fine).
- Go to the radio navigator station (press 4).
- On the left ARK-11 panel click the lower-right button "Switch Control over here".
- Referring to the QuickStartupGuide.pdf page 9, set the switch 2 to "KOMPASS I", enable switch 3 "PROGRAM", rotate knobs 5, 6, 7 to select 420 kHz, press button labelled 1, disable "PROGRAM".
- Observe that the "paper" sheet now displays INNSB 420.0. Note that the Innsbruck beacon is only a couple nautical miles away, so we should be receiving its signal.
- Press button 1 again to recall the programmed frequency.
Symptoms:
- The reception indicator remains at zero.
- The radiocompass needles do not move.
- /instrumentation/adf/operable alternates between "true" and "false" very quickly.
- /instrumentation/adf/in-range stays 'false'.
- The RMI on the pilot's panel is unusable.
The same symptoms also hold for the second ARK-11.
The oscillation of the 'operable' property sounds like the ARK-11 is attempting to do some manual computation on the operable flag, which is not a great idea. Will need to see if it's just this aircraft or others.
Oh it's definitely just this aircraft. It has a lot of custom nasal for all instruments including the ARK radios, which even changes the value of /instrumentation/adf[0..3]/operable in a listener. I have not figured out what calls this listener repeatedly.
Probably what's needed, is for the aircraft Nasal (or XML rule?) which drives 'operable' to instead drive power-button (which is an 'input' property, whereas 'operable' was supposed to be an output one).
That would cause the aircraft logic to turn the C++ radio on / off, which I guess is what was desired here.
thanks for the hint, this allowed me to fix the bug. There were two, actually. One was that the an24b set /systems/electrical/outputs/adf to the string '1' instead of a double number; the other was that it was driving /instrumentation/adf[]/operable instead of .../power-btn.