In addition to being able to display the logged data, SView is able to display math channels, pseudo data channels which are the result of some mathematical functions applied to zero or more logged channels. While simple maths functions are self explanatory, there is no list of functions in the online help, so listed below are those functions and operators that SView understands :
Functions
floor(val) - Rounds val down to the nearest integer
ceil(val) - Rounds val up to the nearest integer
round(val) - Rounds val to the nearest integer
sin(val) - Returns the sine of val (where val is in radians)
cos(val) - Returns the cosine of val (where val is in radians)
tan(val) - Returns the tangent of val (where val is in radians)
pow(x, y) - Raises x to the power y
filter(val, constant) - Recursively filters val, 0<=constant<=1, 0=no filtering, 1=infinite filtering
cfilter(condition, val, constant) - Same as filter() but only when condition is met
cfilter2(condition, val, min, max, constant) - Same as filter() but only when condition is met
derivative(val) - Differentiates val w.r.t time
integral(val) - Integrates val w.r.t time
min(val, samples) - Minimum value of val within a window of samples. 0<samples<16.
max(val, samples) - Maximum value of val within a window of samples. 0<samples<16.
runavg(val, samples) - Running average value of val within a window of samples. 0<samples<16.
Operators
+ Plus
- Minus
* Multiply
/ Divide
% Modulus
<< Logical shift left
>> Logical shift right
< Less than
<= Less than or equal to
> Greater than
>= Greater than or equal to
== Equal
!= Not equal
~ Bitwise NOT
& Bitwise AND
^ Bitwise XOR
| Bitwise OR
! Logical NOT
&& Logical AND
|| Logical OR
? : If Then
Hope this sheds a little light on the obscure subject of what the math channels can actually do!
SView math functions
Jump to
- Syvecs Engine Control Systems
- ↳ General Syvecs Chat
- ↳ S6 GP/PnP Technical
- ↳ S6-I / S6Plus Technical
- ↳ S7-I / S7Plus Technical
- ↳ S8 Technical
- ↳ S12 Technical
- ↳ Syvecs Bluetooth Module
- ↳ Software
- ↳ Calibrations
- ↳ Technical Deposit
- ↳ Projects
- General Technical Forums
- ↳ Subaru
- ↳ Mitsubishi
- ↳ Toyota
- ↳ Nissan
- ↳ Porsche
- ↳ Dyno Talk
- ↳ Track Days
- ↳ VAG Technical
- Expanders
- ↳ X10 (Legacy - Gen1)
- ↳ X10 Gen2 Expander
- ↳ X20L Gen2
- ↳ X4 Gen2
- ↳ OEX - Oem Ecu eXpander
- Syvecs AWD Modules
- ↳ General Questions
- ↳ VAG MQB4 Range - Golf R7, Audi S3
- ↳ VAG MQB5 Range - Audi RS3 / TTRS
- ↳ Porsche 991.1 / 991.2
- ↳ Porsche 997.1 / 997.2
- ↳ Huracan / R8
- ↳ Nissan R35GTR
- ↳ Infiniti Q60
- ↳ Yaris GR Gen1
- ↳ CorollaGR / Yaris GR Gen2
- ↳ Generic AWD Module
- Syvecs Accessories - GPS | Bluetooth | KT8 | Wifi | WMI | DI12 | Lam2CAN
- ↳ Syvecs 50hz GPS / IMU Module
- ↳ Syvecs 100hz GPS / IMU Module
- ↳ Syvecs Bluetooth Module
- ↳ Syvecs KT8
- ↳ KT8 Rev3 Standalone
- ↳ Syvecs Wifi Module
- ↳ Syvecs WMI Module
- ↳ Syvecs DI12
- ↳ Syvecs Lam2CAN
- Syvecs Dashes
- ↳ Syvecs TinyDash
- ↳ Syvecs Edition Plex Dashes
- ↳ Syvecs D5 Dash
- Enhancements
- ↳ Feature Requests
- ↳ Request for Comments
- JT Innovations
- ↳ Toucan Display
- ↳ General
- Feedback
- ↳ Website feedback