Results 1 to 4 of 4

Thread: IF statement syntax

  1. #1
    Advanced Tuner Cringer's Avatar
    Join Date
    Aug 2021
    Location
    Somewhere smoothing your VVE table
    Posts
    560

    IF statement syntax

    Yeah I should probably post this in the VCM scanner section, but it'll take weeks to get an decent answer there...

    Reviewing the documentation...which does not provide any syntax examples...I cannot get the IF statement to work.
    https://www.hptuners.com/help/VCM-Sc...operations.htm

    How would a fellow create a custom math parameter to do something simple like this?
    IF([4340.91] > 100)

    This is saying if TCC Pressure is over 100 kpa, return a 1, otherwise return a 0

    Whenever I use this it always returns 0
    A standard approach will give you standard results.

    My Tuning Software:

    VVE Assistant [update for v1.5]
    MAF Assistant
    EOIT Assistant

  2. #2
    Tuning Addict
    Join Date
    Jan 2015
    Location
    Franklin, NC / Gainesville, Ga
    Posts
    6,882
    You most likely did, but did you try without the parenthesis or putting the whole thing into parenthesis while using it in a different equation?
    2010 Vette Stock Bottom LS3 - LS2 APS Twin Turbo Kit, Trick Flow Heads and Custom Cam - 12psi - 714rwhp and 820rwtq / 100hp Nitrous Shot starting at 3000 rpms - 948rwhp and 1044rwtq still on 93
    2011 Vette Cam Only Internal Mod in stock LS3 -- YSI @ 18psi - 811rwhp on 93 / 926rwhp on E60 & 1008rwhp with a 50 shot of nitrous all through a 6L80

    ~Greg Huggins~
    Remote Tuning Available at gh[email protected]
    Mobile Tuning Available for North Georgia and WNC

  3. #3
    Senior Tuner
    Join Date
    Jul 2020
    Location
    VIC Australia
    Posts
    1,196
    ([4340.91] > 100)=1 should do it.

    After updating a math parameter you need to add / delete the channel in the graph to see the change. I just use the duplicate channel button then delete.

  4. #4
    Advanced Tuner Cringer's Avatar
    Join Date
    Aug 2021
    Location
    Somewhere smoothing your VVE table
    Posts
    560
    Quote Originally Posted by hjtrbo View Post
    ([4340.91] > 100)=1 should do it.

    After updating a math parameter you need to add / delete the channel in the graph to see the change. I just use the duplicate channel button then delete.
    Thank you that did it!!!!
    A standard approach will give you standard results.

    My Tuning Software:

    VVE Assistant [update for v1.5]
    MAF Assistant
    EOIT Assistant