Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Bonanza Professional
  6. I'm confused about some of the BKSQ variables.

I'm confused about some of the BKSQ variables.

Scheduled Pinned Locked Moved Bonanza Professional
9 Posts 2 Posters 227 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eracer1111
    wrote last edited by eracer1111
    #1

    I'll start with oil temp.

    The manual says the correct Var is 'L:BKSQ_OIL_TEMP_1'
    When setting up my Streamdeck I see the temp reported as 347.147

    If I use 'SIMCONNECT:ENG_OIL_TEMP' I see 74, which matches the oil temp gauge in the cockpit.

    I have no idea what the correct math is to convert 347.147 to the C° number that shows up in the gauge.
    So I just use the SIMCONNECT Var. But I'd prefer to use the BKSQ Var shown in the manual.

    Bonanaza Pro A36 Oil Temp discrepancy.png

    1 Reply Last reply
    0
    • Black SquareB Offline
      Black SquareB Offline
      Black Square
      Black Square Developer
      wrote last edited by
      #2

      I believe this is the same circumstance as discussed here. I hope you will find that the units work correctly when converted from Kelvin! Let me know if they continue to cause you any trouble.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eracer1111
        wrote last edited by
        #3

        Thanks for the quick reply! It indeed appears to be the same issue.
        I'll work on it later this week.

        I want to reiterate how much I LOVE this plane. It's my go-to, and once I get the SPAD programming done I'll get into the A36TC, and finally, the Baron Pro.

        I own 13 Black Square aircraft, and as long as you keep building them, I will continue buying them.

        Black SquareB 1 Reply Last reply
        0
        • E eracer1111

          Thanks for the quick reply! It indeed appears to be the same issue.
          I'll work on it later this week.

          I want to reiterate how much I LOVE this plane. It's my go-to, and once I get the SPAD programming done I'll get into the A36TC, and finally, the Baron Pro.

          I own 13 Black Square aircraft, and as long as you keep building them, I will continue buying them.

          Black SquareB Offline
          Black SquareB Offline
          Black Square
          Black Square Developer
          wrote last edited by
          #4

          @eracer1111 said in I'm confused about some of the BKSQ variables.:

          I own 13 Black Square aircraft

          I'm glad someone is keeping count šŸ™‚ Thanks again, and let me know if there is ever anything else I can do for you!

          E 1 Reply Last reply
          0
          • Black SquareB Black Square

            @eracer1111 said in I'm confused about some of the BKSQ variables.:

            I own 13 Black Square aircraft

            I'm glad someone is keeping count šŸ™‚ Thanks again, and let me know if there is ever anything else I can do for you!

            E Offline
            E Offline
            eracer1111
            wrote last edited by
            #5

            @Black-Square

            I'm still working on my Bonanza Pro Streamdeck buttons. I created a SPAD event that tests most of the circuit breaker conditions and changes the button color from green to red when any of the breakers are tripped, and from red to green when they are reset.

            I found the Vars for all of them except:

            Aux Fuel Pump
            Vent Blowers
            Air Cond
            Air Cond Blower
            STBY Gyro

            Here's what I see when I look at the Aux Fuel Pump. I can find the 'A:Circuit Connection On:4' variable, but it doesn't respond when I manually trip the breaker. I'm not sure SPAD can control A-Vars.

            Any help figuring this out is appreciated.

            e556c7d1-32b5-476d-87ab-60f1e354c2b6-image.png

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eracer1111
              wrote last edited by eracer1111
              #6

              I couldn't edit the last post (3600 second limit...)
              I started the plane, turned the Fuel Pump on, watched the status of the variable 'A:CIRCUIT CONNECTION ON:4' in Data Monitor, and tripped the breaker. That A-Var is a standard Simconnect variable, so I should see it changing. There was no change.

              Tripping the breaker shut the pump off, so I know it's interrupting the circuit.
              I need to be able to monitor the breaker status, and can't see how.

              1 Reply Last reply
              0
              • Black SquareB Offline
                Black SquareB Offline
                Black Square
                Black Square Developer
                wrote last edited by
                #7

                I'm a little stumped on this one, so forgive me if I start with the basics:

                The CIRCUIT CONNECTION ON variable is predicated on the BUS LOOKUP INDEX variable. The latter is used to tell the former what "connection" it should be testing for (i.e. is circuit X connected to bus Y). Are you setting BUS LOOKUP INDEX before trying to read from CIRCUIT CONNECTION ON? If not, then I'm surprised that any of the others are working already. However, the fuel pump is on the same bus as all the others, so I don't know why it alone wouldn't work. That's why I'm stumped.

                However, there is a foolproof way to get the states of the breakers, but you have to add some code to the BonanzaProfessional_Base_INT.XML. If you just want to get this working ASAP, then you can add...

                <EXPORT_LVAR>TRUE</EXPORT_LVAR>
                

                ...after the line...

                <CIRCUIT_ID>@FuelPumpCircuit</CIRCUIT_ID>
                

                The value of the breaker will then be available at L:var_Breaker_AuxFuelPump_readonly.

                Let me know if that works for you, and if you have any more questions!

                E 1 Reply Last reply
                0
                • Black SquareB Black Square

                  I'm a little stumped on this one, so forgive me if I start with the basics:

                  The CIRCUIT CONNECTION ON variable is predicated on the BUS LOOKUP INDEX variable. The latter is used to tell the former what "connection" it should be testing for (i.e. is circuit X connected to bus Y). Are you setting BUS LOOKUP INDEX before trying to read from CIRCUIT CONNECTION ON? If not, then I'm surprised that any of the others are working already. However, the fuel pump is on the same bus as all the others, so I don't know why it alone wouldn't work. That's why I'm stumped.

                  However, there is a foolproof way to get the states of the breakers, but you have to add some code to the BonanzaProfessional_Base_INT.XML. If you just want to get this working ASAP, then you can add...

                  <EXPORT_LVAR>TRUE</EXPORT_LVAR>
                  

                  ...after the line...

                  <CIRCUIT_ID>@FuelPumpCircuit</CIRCUIT_ID>
                  

                  The value of the breaker will then be available at L:var_Breaker_AuxFuelPump_readonly.

                  Let me know if that works for you, and if you have any more questions!

                  E Offline
                  E Offline
                  eracer1111
                  wrote last edited by eracer1111
                  #8

                  @Black-Square
                  Thank you.

                  I requested some help for this one on the SPAD Discord. One of the gurus over there mentioned this:

                  Q: "How can I retrieve the value of the 2nd simvar (circuit...) if there is the following in behaviour view:
                  (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT BREAKER PULLED:15, Bool)"

                  A: "Double indexed data is not available via Simconnect. If want to read it , that's currently not possible without rpn coding."

                  I asked for an explanation of RPN Coding, since I don't know what that is. Haven't heard back yet.

                  Here's a list of all the breakers I am able to monitor.

                  a60e6784-dec5-416a-9962-bdceca17fe83-SPAD BKSQ Breaker Condition Template issue (FIXED).png

                  It is puzzling why 'Aux Fuel Pump' (A:CIRCUIT CONNECTION ON:4) isn't returning a status, but 'Oil Temp/Press' (A:CIRCUIT CONNECTION ON:15) is. I don't preset the Index in either case.

                  In the meantime I will edit the XML and let you know!

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    eracer1111
                    wrote last edited by eracer1111
                    #9

                    @Black-Square

                    Well this was interesting. I restored the original XML and the cockpit is back to normal.
                    I searched for <CIRCUIT_ID>@FuelPumpCircuit</CIRCUIT_ID> in the 'BonanzaProfessional_Base_INT.XML' and only found one instance (Line 10226) Did I miss something?

                    Bonanza Pro XML edit resulted in partial cockpit.jpg

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users