[Kst] Corupted equations after changing data file
Andrew Walker
arwalker at sumusltd.com
Mon Apr 19 20:28:34 CEST 2010
Hi Arne,
I've checked in a change to the 1.10.0_devel branch for kst, which can be
found at:
http://websvn.kde.org/branches/extragear/kde3/graphics/kst/
This should fix the problem you described.
Andrew
----- Original Message -----
From: "Arne Knoblauch" <arne.knoblauch at sw-engineering-services.com>
To: <kst at kde.org>
Sent: Wednesday, April 14, 2010 1:55 PM
Subject: Re: [Kst] Corupted equations after changing data file
> Some additional information I forgot in my first mail.
>
> I use kst 1.9.1 from cvs but this behaviour is also present in 1.7.0
> packaged
> with kubuntu 9.10 and 1.80 from the tarball.
>
> The data file I use is a simple ascii file with one header line and space
> separated values.
>
>
> Arne
>
>> Hello all,
>>
>> I am new to this mailing list. My name is Arne Knoblauch and I use kst to
>> visualise some temperature and pressure readings. Now I facing the
>> following problem:
>> 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.
>>
>> I get the following console output when I change the data file.
>>
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>> ASSERT: "myLockStatus() == KstRWLock::WRITELOCKED" in
>> /home/arne/1.9.1/kst/src/libkstmath/kstequation.cpp (248)
>>
>> Any idea what I can do?
>>
>> Thanks
>>
>> Arne
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst
>>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
> _______________________________________________________
> Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
> http://www.doteasy.com
More information about the Kst
mailing list