02-05-2011 11:19 AM
Hello,
I have a Keithley 182 Digital Nanometer (K182). I am usins it to measure voltage at high temperature. I want K182 to measure 3 times and then take the avarage of collected data.
1. First problem is, as you can see from picture, string to number conversion. I tried many ways but I couldn't do it. Values as you see 0,00, and once was
3,98E-3
0,00
392,0
originan values were
3,98E-3
3,95E-3
3,93E-3
in table, values generally like this.
2. I need to take avarege. So i need toindez data, then take avarage. So, I have also problem here...
Could you please help on thic topic. Thanks in advance.
02-05-2011 01:19 PM
Hi,
You should use "Fract/Exp string to number" instead of "Decimal string to number" to get your number correct. For averaging you could use for example "Mean PtByPt.vi".
-Matti
02-05-2011 01:39 PM
I used "Fract/Exp string to number" , but didn't work. Actually I used all convertion plates from string to number..!
02-05-2011 02:48 PM
Yep, you must use "Fract/Exp string to number". I noticed that your operating system has different decimal point compared to the string you are receiving (, vs .). Use "Fract/Exp string to number with false boolean wired to "use system decimal point" input and you should get correct results.
02-05-2011 03:51 PM
thank you, I will try this solution. Also I want to do one more thing. So, I am collecting data and putting them in to table let say data are like this
Temp1 Temp2 Volt
123,3 234,5 ...
234,4 567,7
345,6 789,9
456,7 678,8
....
I want to put data with increment like this given below:
No Temp1 Temp2 Volt
1 123,3 234,5 ...
2 234,4 567,7
3 345,6 789,9
4 456,7 678,8
...
there are no exact number of data. the number of data can change from measurement to measurement (1000, 2000, 500 more or less). How can I program this increment in my system.
My system is include LakeShore 336 temperature conroller and Keithley 182 Nanovoltmeter. I will set the temperature specified value from room temperature wtih specific ramp rate. Meanwhile I will measure the voltage from sample via K182. So, I can measure both temp, and voltage via taking help from u.
02-06-2011 04:50 AM
Attached is a simple example on how you could achieve that behaviour.
02-07-2011 02:11 AM
Thank you Matti,
I took an example your VI. Thanks fro your kindness. But my data are string, so I need to convert into number or directly use. Yours worked somhow, but 1 value in 3 is "0.00". What could be the reson?
02-07-2011 02:23 AM
In that previous example I just used some random numeric value and converted it to string. Attached is another example on how to use string instead.
02-07-2011 05:35 AM
Could you please send it as old version, LabView 2009. I don't have 2010. Sorry for this inconvinience.
02-07-2011 05:40 AM
Oh, sorry. Here's the example converted to older version.