SD45 Load Meter Needle Direction?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meeshu
    Senior Member
    • May 2010
    • 373

    #1

    SD45 Load Meter Needle Direction?

    Having difficulty in editing the SD45 cabview file for showing both power load and dynamic braking load via white and red indicator needles respectively.

    I think when the locomotive engine is not powering up and not in dynamic braking mode, both white and red needles should be to the left of the load meter scale.

    The white (power) needle is at the left of the scale as expected when locomotive is not powered up. But the red (dynamic braking) needle is stuck to the far right of the scale when locomotive is NOT in dynamic braking mode, which is incorrect I think.

    How to set the red dynamic braking needle to the left of the scale when not in dynamic braking mode? And ensure the red needle moves to the right of the scale when applying dynamic braking?

    Screenshots enclosed of actual load meter, and cabview statements for the dynamic braking (0 ~-900 amps) and power. ( 0 ~1600 amps).

    SD45_cabview_load_meter.png

    SD45_load_meter_statements.png
    Last edited by meeshu; 12-01-2024, 07:57.
  • Erick_Cantu
    1000 Post Veteran


    • Jun 2004
    • 1041
    • Brighton, MA 02135
    • General

    #2
    Shouldn't DirIncrease be the same for both since you want the needle to move in the same direction and have the range set with the lower number second?
    Erick Cantu
    North American V-Scale
    Facebook | Email
    Those who would give up essential liberty, to purchase a little gasoline, deserve neither liberty nor gasoline.

    Comment

    • meeshu
      Senior Member
      • May 2010
      • 373

      #3
      Tried every red needle combination of ScaleRange ( 0 -900 ) and ScaleRange (-900 0) and every combination of DirIncrease ( 0 ) and DirIncrease ( 1 ), but the red dynamic braking needle still stays at the far right of the load meter gauge, it never goes to the left together with the white power needle!?

      Another example of red needle not moving from the far right of gauge -

      sd45_orig_load_meter.png

      and one other example of red needle not moving from the right of the gauge -

      SD45_load_meter_red.png

      Comment

      • superheatedsteam
        Senior Member


        • Jun 2004
        • 764
        • Perth, WA, Australia.

        #4
        I haven't tested this but try:

        DirIncrease (-1)
        ​

        Comment

        • meeshu
          Senior Member
          • May 2010
          • 373

          #5
          Thanks for the suggestion but this didn't work either. Tried DirIncrease ( -1 ) with ScaleRange ( -900 0 ) and then tried ScaleRange ( 0 -900 ).

          EDIT: Got the red dynamic braking needle working!

          Used this -

          SD45_load_meter_working.png

          Had to swap the ScalePos values in order to get this red needle moving properly (ie from ScalePos ( 319 47 ) to ScalePos ( 47 319 ) ) !!

          I found this out just now by referring to this​ https://bugs.launchpad.net/or/+bug/1154002 forum thread. It seems Open Rails has applied some sort of reverse logic in order to get two needles on the same gauge to work properly, particularly with one needle indicating opposite (negative) current(?)

          ​​​​​​​BTW running Open Rails version 1.5.1 stable.
          Last edited by meeshu; 12-01-2024, 08:57.

          Comment

          Working...