Results 1 to 3 of 3

Thread: possible to switch from kPa to bar

  1. #1
    Join Date
    Feb 2010

    possible to switch from kPa to bar

    is it possible to switch the units of the PID "SAE.FRP_C" from "kPa" to "bar".

    Or is it otherwise possible to divide through 100 in the "Formt String" of the DashXL Editor.
    For example:
    now the "Format String"-Option is %.1f and I get 4300kPa. But I want to get 4.3 bar.
    How can I do this?

    Please excuse my bad english, I'm from Germany...

  2. #2
    Join Date
    Sep 2009
    Hi j_s_r,

    Unfortunately you can't do simple arithmatic within the DashXL Editor to convert kPa to bar but I do have a solution for you.

    All you need to do is write a very simple script that takes the metric value from SAE.FRP_C and divides it by 100. You would then use the script as the PID in the dashboard.

    For example, a script called SCRIPT.FRP_C_bar would be:

    Obdii.PidValueMetric = Obdii.PidValue.GetDataValueMetric("SAE.FRP_C") / 100;
    Obdii.PidValueEnglish = Obdii.PidValue.GetDataValueEnglish("SAE.FRP_C");
    and you would use SCRIPT.FRP_C_bar in DashXL editor instead of SAE.FRP_C

    You need to create the script in ScanXL (an unregistered version works fine) then export it. You then need import the script into the latest version of DashCommand.

    BTW allowing simple math on PIDs with a dashboard is on our 'to do' list but until then using scripts is the only way.

    Hope this helps.


  3. #3
    Join Date
    Feb 2010
    perfect... it works.
    thanks alot!!!

Similar Threads

  1. Low Profile Push Button Switch
    By anonim in forum General Hardware Discussion
    Replies: 11
    Last Post: 08-03-2007, 06:47 PM
  2. I want to install a switch
    By Froogle in forum Power Supplies
    Replies: 28
    Last Post: 04-13-2006, 11:12 PM
  3. Control switch
    By warnockm in forum Power Supplies
    Replies: 3
    Last Post: 03-14-2005, 01:26 AM
  4. Help With Extending Laptop Docking Station's Power Button
    By JeffesonM in forum General Hardware Discussion
    Replies: 10
    Last Post: 04-14-2003, 02:13 AM


Posting Permissions

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