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.

Taxi switch working but not turning on lights

Featured Replies

Hi all,

 

I have made a start programming my Carenado Phenom 300 overhead panel (lights)

 

On the panel there are 5 switches taxl/ldg, nav, strobe, cabin, and emergency. two of these (taxi/ldg and emergency switch) are three position

switches. 

 

I have managed now to create Lua scripts so that my custom Leo Bodnar based box operates these switches. All work fine in the

sense that when I flick a switch on my Leo box the corresponding switch moves in FSX on the overhead.

 

All work fine except the taxi/ldg switches. These are moving the corresponding switches in FSX but the lights on

the aircraft are not coming on unless I operate the overhead panel switches in FSX with my mouse?

 

When I did a Linda trace all it shows happening is the Lvar numbers changing from 0 thru 2.

 

Any clues as to why the switches are moving but the lights are not operating?

 

any help much appreciated

 

regards

Stinger

You have hit a typical problem with the way add-ons can be designed. Some aircraft can separate the movement/position of the switch and the action that the switch triggers. There will be another Lvar that controls the light itself. The other possibility is that your aircraft lights use the FSX or FSUIPC4 offsets. If you look in the FSUIPC4 Documents folder in Modules your with find 2 documents covering this information. You can use Tracer to test the effect of these (centre and right hand panels).

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

I did wonder if that was happening.

 

In the right hand panel of the tracer there are numbers alongside the fsx actions. Are these the offsets ?

 

I assume that I could write in some Lua to watch the Lvar and if it changes then change the fsx action offset state? Or am a being too simplistic?

 

Thanks

Stinger

The right hand panel relates to the FSX command code, normally shown as a 5-figure number, that Microsoft original defined for interfacing with the simulator. They are listed in one of the PDF documents I pointed you to. Most of the fallback library (FSX Default) module use these codes. I suggest you look at this modules code to understand how to use them. They are not FSUIPC4 offsets.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Hi again,

 

No problems this time ! I just wanted to thank you for your input. I now have everything working as it should in my overhead panel and my external switches are all doing what they should. I had to use a combination of Lvar and fsx controls in my Lua code to sort it out.

 

On to the next part now.....the autopilot module. I have yet to build the external module box so it'll be a while before I am bombarding you with more questions !

 

Thanks again

Stinger

Archived

This topic is now archived and is closed to further replies.

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.