1. OSD Checklist
  2. Docs
  3. External programs
08 / 114 sections

External programs

You can also press the OSD Checklist add-on's buttons from an external program: SPAD.neXt, FSUIPC, Axis and Ohs, MobiFlight, or anything that can write the sim's local variables (L:variables). So you can control the add-on from your hardware too (a button on a Stream Deck, or on a panel of your own), without binding anything in the sim's Controls.

Every button has an L:variable of its own. This works beside the commands bound in the sim's Controls, not instead of them: binding the buttons is described in Buttons, and if your program sends sim events, it can send the button's command too (in SPAD.neXt: “Send Simulation-Event”). The variables' names are fixed: no setting changes them, and they're written only here, in the Help.

The buttons' variables

ButtonL:variable
Check itemL:OSD_CHECKLIST_CHECK
BackL:OSD_CHECKLIST_BACK
Hide / showL:OSD_CHECKLIST_HIDE_SHOW
Next checklistL:OSD_CHECKLIST_NEXT_CHECKLIST
Previous checklistL:OSD_CHECKLIST_PREV_CHECKLIST
ResetL:OSD_CHECKLIST_RESET
Locate itemL:OSD_CHECKLIST_LOCATE
Mute voiceL:OSD_CHECKLIST_MUTE

The buttons do the same as their bound commands (see Buttons): Reset here too opens every checklist again on two presses, Locate item acts only on the Native checklist. The Hide / show variable also opens the OSD Checklist add-on when it's closed on the sim's toolbar, as its bound command does.

One write, one press

When the button is pressed, your program writes 1 into the button's variable; there's nothing else to set.

  • You don't need to set the release: the OSD Checklist add-on writes the variable back to 0 itself, so the next write is a press again. If your program writes 0 itself on release, that's fine too.
  • A press is the change from 0. Your program shouldn't write an increment (“Increment”) or other values one after another: writing the same value again doesn't show.
  • There's no holding: a variable left at 1 is one press. If you want stepping that runs while a button is held, set up repetition in your program.
  • Leave at least a tenth of a second between two writes: the add-on sees its write-back in about 50 milliseconds, and doesn't notice a second write faster than that.
  • If the variable already holds 1 when the add-on starts (a program left it there earlier), that isn't a press: the add-on writes it back to 0, and counts from there.
  • Outside the cockpit view the buttons don't act from here either, just as their bound commands don't.

Warning

The OSD Checklist add-on also keeps its own inner variables among the sim's L:variables (for example L:OSD_CHECKLIST_ROW_0, L:OSD_CHECKLIST_VISIBLE, L:OSD_CHECKLIST_ACTIVE_CHECKLIST, L:OSD_CHECKLIST_STRUCTURE, and those starting with L:OSD_CHECKLIST_VOICE_). Don't write these: the add-on and the desktop app keep the progress and the voice's connection in them, and writing them confuses the checklist or the voice. Write only the eight variables above.

Setting up SPAD.neXt

In SPAD.neXt, you bind one of the OSD Checklist add-on's buttons to a hardware button like this:

  1. Open the hardware button's setup, and add a “Change Data value” action to its “Button pressed” event (not “Send Simulation-Event”).
  2. Refresh the list of variables: with the icon next to the search, ask for the L:variables to be read again (“Updating L:VAR”). You need this because SPAD.neXt looks for new L:variables only in the first five minutes of a flight; without it, the add-on's variables don't show in the list.
  3. Search for OSD. The variables show with LVAR: in front of their names; choose the button's, for example LVAR:OSD_CHECKLIST_CHECK.
  4. Make the action “Set”, with the value 1 (not “Increment”).
  5. Save it, and try it in flight, in the cockpit view.
  • “New local variable” isn't right: that's SPAD.neXt's own inner variable, which the sim and the add-on don't see.
  • You don't need to set anything for the release.

Other programs

In FSUIPC, Axis and Ohs and MobiFlight the rule is the same: when the button is pressed, write 1 into the button's L:variable, and nothing on release. The exact steps differ by program; we haven't tried the OSD Checklist add-on with these programs yet.