Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot get LINDA "Keystroke" to program

Featured Replies

First time I have tried this. I want to use a joystick button to set up a start sequence:

Button 14---Shift+M    toggle battery and alternators  will not work

Button 15--- E+1+M  toggle mag 1 same

In fact, all attempts to program any keypress did nothing (Saved after every entry)

Same commands tested with my keyboard and worked as always.

Plane is Carenado Seneca II

I must be doing something wrong but dont have a clue.

Neal h

Neal Howard

betateam.jpg

Hello OldFlyboy,

I don't have that plane but I know just what you are trying to do. I've done the same thing on my A2A B-17. These commands may not work for your plane but you can get an idea of what I have going on in this sequence. I did not include engines 1 & 2 to save space. 

I would recommend not using key strokes but edit the .lua to sequence tasks as you wish. In the B-17 the start sequence is 3-4-1-2. So, after toggling all batteries and inverter I go to the button (Shift+Wheel 39 Up) (Saitek X52 Pro) which is "function B17_Starting_3 ()" and this handles all tasks specific for starting engine three except for the primer and starter. I've put random sleeps between each command from 150ms to 250ms for added visual appeal. You will need to read the manual to know how to use the proper commands for your aircraft.

 

function B17_Starting_3 ()

ipc.writeLvar("L:MasterIgnitionSwitch", 1)

    _sleep(150, 250)

    ipc.writeLvar("L:EngineSelection", 4)

_sleep(150, 250)

    ipc.writeSB("09C2", 3)  --mag3

_sleep(150, 250)

    ipc.writeLvar("L:FireEngineSelected", 3)

_sleep(150, 250)

ipc.writeLvar("L:MixtureRatioLever3Position", 2)

_sleep(150, 250)

    B17_FuelValve3_on ()

_sleep(150, 250)

ipc.setbitsUW("3a18", 1)  --fuel pump

end

 

The next button (Shift+34) primes engine 3 and then next button (Shift+33) on press turns over starter and on release meshes starter.

And then when I select engine 4 it also turns on engine three generator.

 

function B17_Starting_4 ()

    ipc.writeLvar("L:Eng3_GeneratorSwitch", 1)

    _sleep(150, 250)

    ipc.writeLvar("L:EngineSelection", 8)

    ipc.writeSB("0A5A", 3)  --mag4

_sleep(150, 250)

    ipc.writeLvar("L:FireEngineSelected", 4)

_sleep(150, 250)

ipc.writeLvar("L:MixtureRatioLever4Position", 2)

_sleep(150, 250)

    B17_FuelValve4_on ()

_sleep(150, 250)

ipc.setbitsUW("3958", 1)  --fuel pump

end

 

The things you can do with LINDA are astounding. It takes some time to get the hang of it but it's well worth the time and effort.

 

I hope this helps you some.

 

Cheers

FlashO

Definitely do not use Linda to action key commands if you absolutely do not have to (you would probably be better using FSUIPC directly if you must), Linda is a bit buggy in this area and is best avoided. All the commands you wanted to action have "FS Controls" so there is no need to call the FS keys anyway.

Cheers, Andy.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.