You are not logged in - Log in
Sign up for our newsletter! 
Home Dashboards Forum Tools Help Contact Us

Author Topic: Display the difference between 2 PIDs  (Read 770 times)

Offline IIMacGyverII

  • Newbie
  • *
  • Posts: 31
    • View Profile
Display the difference between 2 PIDs
« on: August 20, 2019, 03:05:58 am »
Hello, I'm pretty good with DashCommand and making my own dashes but I would like to have the dashboard display display the difference between 2 sensors or at least be able to have the one PID subtract 14.5 from the displayed value.

I have a 99 Chevy 6.5L diesel and I'm using the GM extended parameters.  I can display GM.ENGINE.BOOST just fine but it reads 14.5psi at idle which would be 0psi boost normally.  It does go up to 25psi as the boost increases so it is working within the normal boost range of the motor but since it's starting at 14.5 and not 0, I believe it's measuring the atmospheric pressure and that is 14.5.  I also have GM.ENGINE.BARO which is the actual atmospheric pressure(14.5) without boost.  I would like to set up a gauge that takes GM.ENGINE.BOOST and subtracts GM.ENGINE.BARO to give me a standard boost gauge and display that output instead.  So an equation would look like GM.ENGINE.BOOST - GM.ENGINE.BARO.  Even if I could only subtract 14.5 from GM.ENGINE.BOOST and display that, I would be happy.  Any ideas how to display this on a dashboard?  Thanks!

Offline Mike

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: Display the difference between 2 PIDs
« Reply #1 on: December 10, 2019, 01:17:29 am »
Hi MacG,
You can do this with Scripts. There should be an example in there you can use or modify.
_mike

 

Home | Dashboards | Forum | Help | Contact Us | Terms of Service
Powered by Palmer Performance
Copyright © 2021 Palmer Performance Engineering, Inc. All Rights Reserved.