[Kst] [Bug 234403] New: Equation is corrupted upon changing data file

Andrew Walker arwalker at sumusltd.com
Thu Apr 15 02:41:19 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=234403

           Summary: Equation is corrupted upon changing data file
           Product: kst
           Version: 1.7.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst at kde.org
        ReportedBy: arwalker at sumusltd.com


Version:           1.7.0 (using KDE 4.4.2)
OS:                Linux
Installed from:    Compiled From Sources

The following was submitted to kst.kde.org by email:

=================

I defined some equations which calculate the resistance of an NTC temperature
sensor from the raw data reading which is a voltage. The equation looks like
this:

([Channel0]/[Channel5]*[Rref])/(1-[Channel0]/[Channel5]) 

where Channel0 is the voltage reading, Channel5 the reference voltage (also
logged) and Rref a scalar.

Now when I change the data file all equations get corrupted. The above looks
like this after changing to the new data file:

(/[Channel5]*[Rref])/(1-/[Channel5]) 
so Channel0 is simply missing.

Interestingly the data show up right in all plots so when reading the data file
everything seems to be calculated right.

The problem is when I save the kst file all equations are lost as they are not
valid expressions and are not saved to the kst file. When I reload the kst file
after saving with corrupted equations the equations are simply empty.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list