Elvas Tower: Remote Control DPU units - Elvas Tower

Jump to content

  • 21 Pages +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Remote Control DPU units Rate Topic: ***** 1 Votes

#141 User is offline   Borislav 

  • Hostler
  • Group: Status: Active Member
  • Posts: 98
  • Joined: 30-July 17
  • Gender:Male
  • Location:Gunzburg, Germany
  • Simulator:ORTS
  • Country:

Posted 25 December 2021 - 12:33 PM

View PostCsantucci, on 24 December 2021 - 02:48 AM, said:

In next days I foresee to release a new update of this functionalty, that manages a distributed power screen page and the related cabview controls.
Borislav kindly allowed me to modify and to make the modifications public for his excellent cabview for the SVTX ES44AC to test the feature.
Below the screen page in the cab
Attachment DPscreenpage.jpg
Using also the feature about the multiple screen pages, the page is recalled by pushing a button below the main screen.
The screen page layout is formed by a fixed background, and by the variable table part.
The variable table is recalled with following cabview control:
		ScreenDisplay (
            Type ( ORTS_DISTRIBUTED_POWER SCREEN_DISPLAY )
            Position (  164.4 286.5 136 52 )
			Parameters (
                FullTable True
			)
            Units ( KM_PER_HOUR )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
        )

So with only a call the whole table is displayed.
The cabview controls to control the various DP commands are linked to the buttons below the display, and are active only if the DP screen page is displayed. Here the self-explaining code for them in the .cvf file:
		TwoState (
			Type ( ORTS_DP_MOVE_TO_FRONT TWO_STATE )
			Position ( 163.2 378.4 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_MOVE_TO_BACK TWO_STATE )
			Position ( 179.9 379 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_IDLE TWO_STATE )
			Position ( 214.325 379.5 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_TRACTION TWO_STATE )
			Position ( 196.9 379.25 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_BRAKE TWO_STATE )
			Position ( 231 380.6 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_MORE TWO_STATE )
			Position ( 248.5 379.6 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey1trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)
		TwoState (
			Type ( ORTS_DP_LESS TWO_STATE )
			Position ( 247 390.625 13.75 10 )
			Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey2trans.ace" )
			NumFrames ( 2 2 1 )
			Style ( WHILE_PRESSED )
			MouseControl ( 1 )
			ORTSDisplay ( 1 )
			ORTSScreenPage ( "2300-0" )
		)


I'm planning to make available the whole customization kit, so that the ugraded cab may be used and can be used as reference for content developers.


This is an excellent addition! I will start working on implementing it in all of my cabs.

#142 User is offline   railguy 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 652
  • Joined: 10-October 10
  • Gender:Male
  • Location:Kansas
  • Simulator:Open Rails
  • Country:

Posted 26 December 2021 - 09:22 AM

These new cabs are fantastic. The DPU capability will be just more icing on the cake. One note that I will make--that I also believe existed in some of the earlier ES44 cabs--the indexing of the throttle and dynamic brake displays are not indexing correctly for many SLI and other locos. I've been tweaking mine to fix the issue on the throttle--it's not difficult, and I'll be checking the dynamic brake indexing issue to tweak those. This is not a big deal and there is no "one-size-fits-all" for this because many .eng files themselves have different throttle notch values. A huge thanks to Borislav for making these wonderful cabs--they are another big step forward for OR.

#143 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 December 2021 - 07:13 AM

The DPU features described here http://www.elvastowe...post__p__279652 (cabview controls for display of DPU table and for DPU commands) are now available in ORNYMG 113 and in Unstable release U2021.12.28-0906.

#144 User is offline   akioyamamura 

  • Hostler
  • Group: Status: Active Member
  • Posts: 73
  • Joined: 30-August 21
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 28 December 2021 - 10:07 AM

First of all, thank you Carlo and everyone that contribute to the progress of DPU. It's a fantastic feature for heavy haul operantions.

Carlo, it's already working for 3d cab? I'm trying name the new screen as "ORTS_DISTRIBUTED_POWER:0:0" in the hierarchy. Tried also "ORTS_DISTRIBUTED_POWER:0:6:SPEEDB" but didn't work here.

#145 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 December 2021 - 12:50 PM

Hi, please suspend your efforts to try to have this working in 3D cabs, to avoid wasting time. I'll consult another developer. 2D cabs instead are OK, because I could test them.

#146 User is offline   akioyamamura 

  • Hostler
  • Group: Status: Active Member
  • Posts: 73
  • Joined: 30-August 21
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 28 December 2021 - 01:31 PM

View PostCsantucci, on 28 December 2021 - 12:50 PM, said:

Hi, please suspend your efforts to try to have this working in 3D cabs, to avoid wasting time. I'll consult another developer. 2D cabs instead are OK, because I could test them.


Carlo, I would suggest something simple. For what we already have in OR, I think that the follow DPU commands are necessary, per block, to simulate the real screen.
For example, for block 1:
DPU1_EQ_RES DIGITAL
DPU1_BRAKE_PIPE DIGITAL
DPU1_MAIN_RES DIGITAL
DPU1_BRAKE_CYL DIGITAL
DPU1_LOAD_METER DIGITAL
DPU1_CP_HANDLE COMBINED_CONTROL

For example, for block 2:
DPU2_EQ_RES DIGITAL
DPU2_BRAKE_PIPE DIGITAL
DPU2_MAIN_RES DIGITAL
DPU2_BRAKE_CYL DIGITAL
DPU2_LOAD_METER DIGITAL
DPU2_CP_HANDLE COMBINED_CONTROL

Plus, a “fence” MULTI_STATE_DISPLAY, which is associate with the Ctrl+Shift+O and Ctrl +O command.

I don't know how to program so I really don't know how complicate is it to do...
Thank you for your attention and patience.

#147 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 29 December 2021 - 12:44 AM

I'm sorry it doesn't work on 3D cabs now.
I'm not very happy in multiplying cabview controls. I'll take some time and see if there is a viable solution.

#148 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 639
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 29 December 2021 - 12:49 AM

Will it be possible to enable the ORTSAngle for slightly rotated displays?

#149 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 29 December 2021 - 01:45 AM

That's not straightforward to be implemented, because, due to the fact that there are separate strings on each row (one for every loco consist plus the first alpha string), OR does have not only to rotate the single strings, but also to move them (mostly vertically) to keep them aligned.

#150 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 30 December 2021 - 10:05 AM

@ATW: with reasonable effort I was able to add the possibility of inclining the DP table, see picture (in this case with 5 degrees of inclination)
Attached Image: DPInclined.jpg
The line to be added to the control block is the usual ORTSAngle ( 5 ) .
The feature should be available in next ORNYMG release and, in parallel, in the Unstable release.

  • 21 Pages +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users