Need Help Sim Dash
 
Notifications
Clear all

Need Help Sim Dash

5 Posts
2 Users
0 Likes
3,833 Views
(@raceralex)
Active Member
Joined: 4 years ago
Posts: 14
Topic starter  

I'm trying to get a working oil pressure gauge and a working weight jacker display on two custom dsahes I'm making for iRacing.  I can't seem to find the correct NCalc formula for either of these.  Can anyone point me in the right direction (or tell me it can't be done so I'll stop digging - LOL)?


   
Quote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Hi,
This is possible as the data is available.
You find it in the property list. See attachement.

You'll have to bind the properties to some Dash Studio gauge and text components: https://github.com/SHWotever/SimHub/wiki/Dash-Studio---Bindings

For the gauge bind the pressure property as value and set arbitrary min and max values.

If you want to learn more about NCalc, have a look here : https://github.com/SHWotever/SimHub/wiki/NCalc-scripting---Introduction

 

 


   
ReplyQuote
(@raceralex)
Active Member
Joined: 4 years ago
Posts: 14
Topic starter  

Thanks.  This is very helpful!


   
ReplyQuote
(@raceralex)
Active Member
Joined: 4 years ago
Posts: 14
Topic starter  

Weight-jacker formula: [GameRawData.Telemetry.dcWeightJackerRight]

 

 


   
ReplyQuote
(@raceralex)
Active Member
Joined: 4 years ago
Posts: 14
Topic starter  

Here's the Ncalc formula for oil pressure (converting BAR to PSI).

 

[GameRawData.Telemetry.OilPress] * 14.504


   
ReplyQuote
Share: