Results 1 to 8 of 8

Thread: Display Proper Throttle and Dynamic Brake Positions in Cab

  1. #1

    Question Display Proper Throttle and Dynamic Brake Positions in Cab

    Having some difficulty getting separate throttle and dynamic brake position values displaying correct values in the locomotive cab.

    The original locomotive (an SD70ACe; UP 8622) downloaded from the File Library had the throttle and dynamic brake combined into one handle as though the locomotive cab was using a control desk. But I believe it should be separate controls as the locomotive is using a control stand instead of a control desk.

    So, I've been trying to modify the locomotive eng and cvf files to reflect the change from control desk to control stand.

    The ace file which displayed the throttle and dynamic brake position values (from N8 to B8) was split into two separate ace files, one for the throttle values, and the other for the dynamic brake values. I did this because I understand that for separate throttle and dynamic brake controls, separate ace files are required for each control.

    Problem is that the the control position display is always locked on "Setup", regardless of throttle and dynamic brake control setting!?

    Here is a bit of the eng code which I think is correct -

    Comment ( Combined_Control( 0 1 0.5 0.5 throttle dynamic ) )
    DirControl ( -1 0 1 1 )


    And part of the cvf code -

    Code:
    MultiStateDisplay (
    			Type ( THROTTLE_DISPLAY MULTI_STATE_DISPLAY )
    			Position ( 571 312 24 15 )
    			Graphic ( ..//..//SLI.ACES2//CABVIEW//throttle.ace )
    			States ( 9 3 3
    				State (
    					Style ( 0 )
    					SwitchVal ( 0 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.125 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.25 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.375 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.5 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.625 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.75 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.875 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 1 )
    				)
    			)
    		)
    		MultiStateDisplay (
    			Type ( DYNAMIC_BRAKE_DISPLAY MULTI_STATE_DISPLAY )
    			Position ( 571 312 24 15 )
    			Graphic ( ..//..//SLI.ACES2//CABVIEW//dynamic.ace )
    			States ( 9 3 3
    				State (
    					Style ( 0 )
    					SwitchVal ( 0 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.125 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.25 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.375 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.5 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.625 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.75 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.875 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 1 )
    				)
    			)
    		)

    And here are the images of the separate throttle and dynamic brake ace files -

    throttle.gifdynamic.gif

    So, why aren't the correct control settings being displayed within the cab?

  2. #2
    Join Date
    May 2005
    Location
    Stalinist,broke United Kingdom (Hey buddy,can you spare �1.3 trillion?))
    Posts
    2,124

    Default

    Look at the eng files e.g SD40-2 locos which do not have a combined power handle and copy and paste the final part of the eng file after the dynamic brake statement.You may have to do the same for the latter statement if it does not already have 8 notches.

  3. #3

    Default

    Thanks!

    I found that the dynamic braking "notches" entry within the eng file didn't match that from the cvf file. I've corrected that, and now the dynamic brakes position indicates correctly from Setup through to B8.

    There is still a problem with the throttle indication though! Throttle positions are not shown at all despite the "notches" etc entries within the eng and cvf files matching. So the throttle position indications from Idle to N8 are not shown!?

    The throttle itself works OK, it is just the throttle position indication which is not being displayed. While operating the throttle, the position indication stays on "Setup". This "Setup" display is what is shown by default on starting activities, instead of showing "Idle".

    Why are the throttle indications not being shown?

  4. #4
    Join Date
    Oct 2007
    Location
    Tujunga Calif (Senile City)
    Posts
    5,887

    Default

    Try removing the line from the .eng file that says (combined throttle dynamic)
    Jim

  5. #5
    Join Date
    May 2010
    Location
    Northwest Lake Ontario
    Posts
    80

    Default

    Quote Originally Posted by meeshu View Post
    Having some difficulty getting separate throttle and dynamic brake position values displaying correct values in the locomotive cab.

    The original locomotive (an SD70ACe; UP 8622) downloaded from the File Library had the throttle and dynamic brake combined into one handle as though the locomotive cab was using a control desk. But I believe it should be separate controls as the locomotive is using a control stand instead of a control desk.

    So, I've been trying to modify the locomotive eng and cvf files to reflect the change from control desk to control stand.

    The ace file which displayed the throttle and dynamic brake position values (from N8 to B8) was split into two separate ace files, one for the throttle values, and the other for the dynamic brake values. I did this because I understand that for separate throttle and dynamic brake controls, separate ace files are required for each control.

    Problem is that the the control position display is always locked on "Setup", regardless of throttle and dynamic brake control setting!?

    Here is a bit of the eng code which I think is correct -

    Comment ( Combined_Control( 0 1 0.5 0.5 throttle dynamic ) )
    DirControl ( -1 0 1 1 )


    And part of the cvf code -

    Code:
    MultiStateDisplay (
    			Type ( THROTTLE_DISPLAY MULTI_STATE_DISPLAY )
    			Position ( 571 312 24 15 )
    			Graphic ( ..//..//SLI.ACES2//CABVIEW//throttle.ace )
    			States ( 9 3 3
    				State (
    					Style ( 0 )
    					SwitchVal ( 0 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.125 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.25 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.375 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.5 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.625 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.75 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.875 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 1 )
    				)
    			)
    		)
    		MultiStateDisplay (
    			Type ( DYNAMIC_BRAKE_DISPLAY MULTI_STATE_DISPLAY )
    			Position ( 571 312 24 15 )
    			Graphic ( ..//..//SLI.ACES2//CABVIEW//dynamic.ace )
    			States ( 9 3 3
    				State (
    					Style ( 0 )
    					SwitchVal ( 0 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.125 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.25 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.375 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.5 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.625 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.75 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 0.875 )
    				)
    				State (
    					Style ( 0 )
    					SwitchVal ( 1 )
    				)
    			)
    		)

    And here are the images of the separate throttle and dynamic brake ace files -

    throttle.gifdynamic.gif

    So, why aren't the correct control settings being displayed within the cab?
    Hey Meeshu, for starters both of your displays are the same. They need to be different, look at the states line - dynamic is different, also the position line,

    MultiStateDisplay (
    Type ( THROTTLE_DISPLAY MULTI_STATE_DISPLAY )
    Position ( 387 288 7 10 )
    Graphic ( "..//..//SHR.CABS//EMD-STD-2-CAB//throttlenums.ace" )
    States ( 9 3 3
    State (
    Style ( 0 )
    SwitchVal ( 0 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.125 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.25 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.375 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.5 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.625 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.75 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.875 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 1 )
    )
    )
    )
    MultiStateDisplay (
    Type ( DYNAMIC_BRAKE_DISPLAY MULTI_STATE_DISPLAY )
    Position ( 337 257 11 8 )
    Graphic ( "..//..//SHR.CABS//EMD-STD-2-CAB//dynamicnums.ace" )
    States ( 10 2 5
    State (
    Style ( 0 )
    SwitchVal ( 0 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.11 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.22 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.33 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.44 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.55 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.66 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.77 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 0.88 )
    )
    State (
    Style ( 0 )
    SwitchVal ( 1 )
    )

    try changing out the dynamic lines, and the position lines and see how that goes, you will need the position lines for your cabview that your using.

    Mike

  6. #6
    Join Date
    May 2010
    Location
    Northwest Lake Ontario
    Posts
    80

    Default

    Hey Meeshu, where did you get those throttle and dynamic .ace files. You need to look at the .cvf that they belong to, maybe.

  7. #7
    Join Date
    May 2010
    Location
    Northwest Lake Ontario
    Posts
    80

    Default

    Quote Originally Posted by DirtyRam View Post
    Hey Meeshu, where did you get those throttle and dynamic .ace files. You need to look at the .cvf that they belong to, maybe.
    Hey Meeshu, just noticed your original post, never mind haa

  8. #8

    Default

    Thanks for the comments!

    I must apologize, I didn't make the situation clear.

    I'm referring to the throttle and dynamic brake position indications on the monitor in front of the cab, and not to the position indications right next to the throttle and dynamic brake levers.

    The statement "Comment ( Combined_Control( 0 1 0.5 0.5 throttle dynamic ) )" can be left in the eng file as the word "Comment" before means that the following text is ignored by the programs. So the "Combined_Control( 0 1 0.5 0.5 throttle dynamic )" text doesn't have to be deleted.

    After much experimentation and referring to other cvf files, I've finally figured out what had to be done to get the throttle and dynamic brake indications to work properly (on the monitor in front of the locomotive cab).

    The throttle and dynamic brake ace files for displaying the positions had to be altered to that as below.

    throttle.gifdynamic.gif

    The order of characters was changed, and an alpha channel added to the dynamic brake ace file to enable displaying the throttle positions when the dynamic brake was off.

    So, I think I've got the throttle and dynamic brake indications working properly for the front of cab monitor. At last!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •