11-28-2013 02:57 AM
Hi people,
I have a problem and I have know idea how to solve...I need help.
The problem is that I want to take the time between two max values like in the graph you can see.
For example in the picture that I add
4,5 - 1,840 = 2,66
And put this value in the "Temps entre mostra".
This is that I want...
But this I think is very complicated because I don't know how to take the correctly time and do the substract...
thanks a lot,
Any solution?
Solved! Go to Solution.
11-28-2013 07:37 AM
Anyone?
11-28-2013 09:55 AM
Hi jocuma,
I've tried something and hope that helps u.
Just created two arrays of temp and voltage. First i'll get the voltage value when it's more a certain value and of that same index get the time value and store in shift register.
When i get the second value higher than the threshold, I will get the time and subtract from previous value.
11-28-2013 10:16 AM
Well,
temps = time no temperature..
I'm Catalan and maybe created some confuse things with the language Jaj...
11-28-2013 10:20 AM
11-28-2013 10:22 AM
Yes,
I tried something like this....now I'm...try to tested the results
11-28-2013 10:36 AM
It works but... for example
in the 17,990 - 17,910 = 0,08 or 18,010 - 18,000 = 0,010
this would be the correct time... :S
I dont know if I explain good what I want..
11-28-2013 10:50 AM
Yes, that's correct. for example, i've just taken some numbers. Good to know that it helped 🙂
12-02-2013 06:04 AM
Uday it doesn't work good.
I pass my program ...It would be grateful if you can help me...
The program didn't substract good, because it substracts to 0 value and I want to substract the actual time from the last time...
Do you understand my problem?
srry for my english..
and thanks a lot,
Jocuma
12-03-2013 12:51 AM
Please find the modified vi in LV11 version and check if it works!!!