• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Dual bus avionics - How??

Messages
18
Country
belgium
Is there anyone who can help me with an issue I have with multiple Avionics circuits?

I have 2 separate avionics circuits which can be activated with 2 separate switches.

I have my model set-up (different node id's for the switches and different animation names - triple checked this).

I have 2 separate pieces of XML, one for each switch, but somehow they keep controlling only one avionics bus.
The result is also that both switches always move together (reacting on the state change of the same avionics bus)... My XML code looks as follows:

<UseTemplate Name="ASOBO_ELECTRICAL_Switch_Avionics_Bus_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <AVIONICS_BUS_ID>1</AVIONICS_BUS_ID> <SOURCE_BUS_ID>1</SOURCE_BUS_ID> <AVIONICS_CIRCUIT_ID>14</AVIONICS_CIRCUIT_ID> <NODE_ID>ELECTRICAL_Switch_Avionics_1</NODE_ID> <ANIM_NAME>ELECTRICAL_Switch_Avionics_1</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_ELECTRICAL_Switch_Avionics_Bus_Template"> <Parameters Type="Default"> <ID>2</ID> </Parameters> <AVIONICS_BUS_ID>2</AVIONICS_BUS_ID> <SOURCE_BUS_ID>1</SOURCE_BUS_ID> <AVIONICS_CIRCUIT_ID>15</AVIONICS_CIRCUIT_ID> <NODE_ID>ELECTRICAL_Switch_Avionics_2</NODE_ID> <ANIM_NAME>ELECTRICAL_Switch_Avionics_2</ANIM_NAME> </UseTemplate>
 
Messages
884
Country
australia
Need to see [ELECTRICAL] in your systems.cfg. If you haven't setup your busses correctly there then MSFS isn't going to work how you want.
 
Messages
884
Country
australia
9 times out 10 it can be a syntax error like that. Which can drive you mad. The simvar tool can be invaluable for debugging as it is an easy way to check the values of A: variables which can help you figure out if the error is in your code or it's the A: vars not returning what you think they should.
 
Top