Sign up for our newsletter! 
Home News Products Downloads Forum Distributors Store Contact Us
PPE User Forum
May 19, 2013, 09:58:54 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Scripts not working in MyDashboard? [FIXED]  (Read 2228 times)
0 Members and 1 Guest are viewing this topic.
TurboCruzeLT
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: May 19, 2012, 07:25:37 pm »

Below is my original post / problem. For those with similar problems; Solution: Settings -> PID Config --> Check box enabling the scripts.

--------------------------------------------------------

Using the original BOOST script, along with one that I created just to test out the scripting capabilities, neither one will report out under logging / monitoring mode.

original boost:

// Script for scaling -15 to +20 PSI Boost Gauge
var ManifoldRelativePressurePSI = Obdii.GetPidValueEnglish("SAE.MAP") / 2.04; // inHg to PSI
var BarometricPressurePSI = Obdii.GetPidValueEnglish("SAE.BARO") / 2.04; // inHg to PSI
//var BoostPSI = ManifoldRelativePressurePSI - BarometricPressurePSI - 14.70; // Zero at atmospheric
var BoostPSI = ManifoldRelativePressurePSI - BarometricPressurePSI; // Zero at atmospheric
Obdii.PidValue.English = BoostPSI;
Obdii.PidValue.Metric = BoostPSI / 14.50; // PSI to Bar

my mph (i understand there is an easier way to display mph (VSS) aswell as a better way from getting the metric kph however just trying to get scripting to work Sad

var MPH = Obdii.GetPidValueEnglish("SAE.VSS");
Obdii.PidValue.English = MPH;
Obdii.PidValue.Metric = MPH / 0.6214;



Neither works after creating a gauge (with appropriate graduations).

My car fully supports SAE.MAP,SAE.BARO, and SAE.VSS and I am able to report them individually through the dashboard log and monitor, but not any scripts... am i missing anything in settings or...?
« Last Edit: May 20, 2012, 08:27:04 am by TurboCruzeLT » Logged
Weston@PPE
Administrator
Hero Member
*****
Offline Offline

Posts: 1725


View Profile
« Reply #1 on: May 21, 2012, 12:07:49 pm »

You do need to select your scripts in the PID Config before they'll start working. If you've got any questions, feel free to ask. Also, in the Help menu there is a Script PID Reference that goes over our built in functions to help you out.

The easiest way to get km/h would be this:

var Speed = Obdii.GetPidValueMetric("SAE.VSS");
Logged
astrologerdev11
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: June 22, 2012, 08:58:45 am »

Nice and quite useful post. Keep up the good work!
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.082 seconds with 19 queries.
Home | News | Products | Downloads | Forum | Distributors | Store | Contact Us
Copyright © 2012 Palmer Performance Engineering, Inc. All Rights Reserved.