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.

Aviation BUS 2 Button assinment ?

Featured Replies

I can find keyboard or button assignment for Aviation BUS 1, but can't find anything for BUS 2 to turn my G430 on, so mouse clicking is my only option for now   

 

Any idea ???

 

Cheers

 

Yair

Is it called alternator 2 or generator 2?

My Liveries | FAA ZMP | PPL ASEL |
| Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |

 

 

  • Author

... LR doesn't provide Alternator 2 at all , & Generator 2 is no good either, suppose to be Avionic  BUS 1 & Avionic Bus 2, the Saiteks Switch Panel furnished with Avionic Master which is triggering the G530

 

Reg.   

  • Author
On 1/31/2018 at 8:38 PM, N1125Y said:

I can find keyboard or button assignment for Aviation BUS 1, but can't find anything for BUS 2 to turn my G430 on, so mouse clicking is my only option for now   

 

Any idea ???

 

Cheers

 

Yair

sorry. mean AVIONIC BUS 2 ...:-)

You need to change the DataRef "set cross_tie": sim/cockpit2/electrical/cross_tie

Ich have written a Lua script for the Cessna 172 REP which switches the Bus2 automatically with Bus1 and also addresses the fuel pump DataRef which REP uses:

if PLANE_ICAO == "C172" then
  set("sim/cockpit/gyros/dg_drift_vac_deg",0)
  DataRef("status_avionics", "sim/cockpit2/switches/avionics_power_on", "readonly")
  DataRef("status_fuelpump", "sim/cockpit2/engine/actuators/fuel_pump_on", "readonly",0)
  DataRef("REP_fuelpump", "simcoders/rep/cockpit2/engine/actuators/fuel_pump_0", "writable")
  DataRef("REP_avionics", "simcoders/rep/cockpit2/switches/avionics_power_on", "writable")
  DataRef("set_crosstie", "sim/cockpit2/electrical/cross_tie", "writable")
  
  function DoSwitches()
    if status_avionics == 1 then
      REP_avionics = 1
      set_crosstie = 1
    else
      REP_avionics = 0
      set_crosstie = 0
    end
    
    if status_fuelpump == 1 then
      REP_fuelpump = 1
    else
      REP_fuelpump = 0
    end
    
  end
  
  do_every_frame("DoSwitches()")
  

end

 

-------------------------------------------------------------------------------------------------------

i7 7700 OVC to 4.8 Ghz, Win 10 16 GB RAM (3 Ghz), P3D V3.4, Nvidia GTX 1070, 4K monitor resolution@30Hz on 55'' TV, PFC hardware 

 

 

On 5.2.2018 at 9:02 AM, N1125Y said:

... LR doesn't provide Alternator 2 at all , & Generator 2 is no good either, suppose to be Avionic  BUS 1 & Avionic Bus 2, the Saiteks Switch Panel furnished with Avionic Master which is triggering the G530

 

Reg.   

That is actually not true....X-Plane provides 8 (!) Generators, The corresponding DataRef (sim/cockpit2/electrical/generator_on) is an array of 8 integer values

-------------------------------------------------------------------------------------------------------

i7 7700 OVC to 4.8 Ghz, Win 10 16 GB RAM (3 Ghz), P3D V3.4, Nvidia GTX 1070, 4K monitor resolution@30Hz on 55'' TV, PFC hardware 

 

 

  • Author
On 2/9/2018 at 10:35 PM, allergiecheck said:

You need to change the DataRef "set cross_tie": sim/cockpit2/electrical/cross_tie

Ich have written a Lua script for the Cessna 172 REP which switches the Bus2 automatically with Bus1 and also addresses the fuel pump DataRef which REP uses:


if PLANE_ICAO == "C172" then
  set("sim/cockpit/gyros/dg_drift_vac_deg",0)
  DataRef("status_avionics", "sim/cockpit2/switches/avionics_power_on", "readonly")
  DataRef("status_fuelpump", "sim/cockpit2/engine/actuators/fuel_pump_on", "readonly",0)
  DataRef("REP_fuelpump", "simcoders/rep/cockpit2/engine/actuators/fuel_pump_0", "writable")
  DataRef("REP_avionics", "simcoders/rep/cockpit2/switches/avionics_power_on", "writable")
  DataRef("set_crosstie", "sim/cockpit2/electrical/cross_tie", "writable")
  
  function DoSwitches()
    if status_avionics == 1 then
      REP_avionics = 1
      set_crosstie = 1
    else
      REP_avionics = 0
      set_crosstie = 0
    end
    
    if status_fuelpump == 1 then
      REP_fuelpump = 1
    else
      REP_fuelpump = 0
    end
    
  end
  
  do_every_frame("DoSwitches()")
  

end

 

..tnx... but I have no clue how to deal with DataRef or any sort of programming ..... however, I found out that Cross-Tie on/off or toggle will do the 'Trick"    

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.