• Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum

Bonanza True Airspeed (TAS) Calculator Knobs

Scheduled Pinned Locked Moved Steam Gauge Overhaul
bonanzatastrue airspeedlvar
6 Posts 3 Posters 361 Views
    • 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.
  • W Offline
    W Offline
    Waffler11
    wrote on last edited by
    #1

    I'm more or less at the end of my rope here trying to bind the TAS calculator knobs to my hardware. I know they are the following LVARs:

    LVAR:VAR_TRUEAIRSPEEDKNOB_L
    and
    LVAR:VAR_TRUEAIRSPEEDKNOB_R

    I can see that they are changed with a value of .005 for both increments and decrements.

    No matter how hard I try with various methods in SPAD.neXt, I can't get them to work!

    What am I missing here? Is there another event or variable tied into them that needs to be triggered?

    TIA!

    W 1 Reply Last reply
    0
  • W Offline
    W Offline
    Waffler11
    replied to Waffler11 on last edited by
    #2

    OK, so Collin from SPAD.neXt helped me out a great deal and said it was actually a bug in the code that I found and provided a simple fix.

    Namely, the anim_code is incorrectly assigned to an O variable (at least that's what I was told).

    So, to fix it, locate the TrueAirspeed variables for both L and R in the analogbonanza.xml file and simply change the <ANIM_CODE>...</ANIM_CODE> to read <OVERRIDE_ANIM_CODE>..</OVERRIDE_ANIM_CODE> and that's that.

    I also suggest changing the incremental value from .005 to at least .1 as .005 is such a small change that it barely registers and takes a long time to turn it to the value you want. I found that a value of .3 increment/decrement in SPAD.neXt to be the perfect speed.

    NOW the TrueAirspeed variables will work in a binding!

    1 Reply Last reply
    0
  • GunStraussG Offline
    GunStraussG Offline
    GunStrauss
    wrote on last edited by GunStrauss
    #3

    Is this the same issue I currently stumble at, where I'm only able to let the knob move one way?

    Edit: I think I'm able to move it one way on the Baron only, but neither direction on the Bonanza.

    1 Reply Last reply
    0
  • Black SquareB Online
    Black SquareB Online
    Black Square Black Square Developer
    wrote on last edited by Black Square
    #4

    I don't know why it would only move in one direction, but I fixed this a while ago, I just haven't released an update to the public yet. Sorry for the delay. If you would like to make the change one your own, it's easy. Just copy the following block of code into AnalogBonanza.xml, or AnalogBaron.xml, replacing the block that's already there. You can find the right spot by searching for: Component ID="TrueAirspeedKnob_L".

    <Component ID="TrueAirspeedKnob_L" Node="TrueAirspeedKnob_L">
    	<UseTemplate Name="ASOBO_GT_Knob_Finite_Code">
    		<ANIM_CODE>(L:var_TrueAirspeedKnob_L, number) 90 + 100 %</ANIM_CODE>
    		<ANIM_NAME>TrueAirspeedKnob_L</ANIM_NAME>
    		<ANIMCURSOR_DIR>-1.0</ANIMCURSOR_DIR>
    		<ANIM_WRAP>TRUE</ANIM_WRAP>
    		<WRAP>TRUE</WRAP>
    		<ANTICLOCKWISE_CODE>
    			(L:var_TrueAirspeedKnob_L, number) 0 &gt; if{ (L:var_TrueAirspeedKnob_L, number) 0.15 - (&gt;L:var_TrueAirspeedKnob_L, number) }
    		</ANTICLOCKWISE_CODE>
    		<CLOCKWISE_CODE>
    			(L:var_TrueAirspeedKnob_L, number) 50 &lt; if{ (L:var_TrueAirspeedKnob_L, number) 0.15 + (&gt;L:var_TrueAirspeedKnob_L, number) }
    		</CLOCKWISE_CODE>
    		<COUNT>100</COUNT>
    
    		<PART_ID>TrueAirspeedKnob_L</PART_ID>
    		<TOOLTIP_TITLE></TOOLTIP_TITLE>
    		<TOOLTIPID>True Airspeed Calculator</TOOLTIPID>
    	</UseTemplate>
    </Component>
    
    1 Reply Last reply
    0
  • GunStraussG Offline
    GunStraussG Offline
    GunStrauss
    wrote on last edited by GunStrauss
    #5

    Thanks, will try, noticed that there is this block of code in the Baron right above, that's not in the Bonanza:

    	<!-- <Component ID="TrueAirspeedKnob_L" NODE="TrueAirspeedKnob_L">
    		<UseTemplate Name="ASOBO_GT_Knob_Infinite">
    			<ROTATION_SPEED>1</ROTATION_SPEED>
    			<NODE_ID>TrueAirspeedKnob_L</NODE_ID>
    			<ANIM_NAME>TrueAirspeedKnob_L</ANIM_NAME>
    			<ANIM_CODE>(L:var_TrueAirspeedKnob_L, number)</ANIM_CODE>
            	<ANIMCURSOR_DIR>-1.0</ANIMCURSOR_DIR>
            	<ANTICLOCKWISE_CODE>(L:var_TrueAirspeedKnob_L, number) 0.005 - (&gt;L:var_TrueAirspeedKnob_L, number)</ANTICLOCKWISE_CODE>
            	<CLOCKWISE_CODE>(L:var_TrueAirspeedKnob_L, number) 0.005 + (&gt;L:var_TrueAirspeedKnob_L, number)</CLOCKWISE_CODE>
    
    			<PART_ID>TrueAirspeedKnob_L</PART_ID>
    			<TOOLTIP_TITLE></TOOLTIP_TITLE>
    			<TOOLTIPID>True Airspeed Calculator</TOOLTIPID>
    		</UseTemplate>
    	</Component> -->
    
    1 Reply Last reply
    0
  • GunStraussG Offline
    GunStraussG Offline
    GunStrauss
    wrote on last edited by
    #6

    Works perfectly in both the Baron and Bonanza. Did not touch the code I posted above.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

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