LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

take the average of the measured values wich cannot be converted from string to number..

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.

Download All
0 Kudos
Message 1 of 15
(3,379 Views)

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

0 Kudos
Message 2 of 15
(3,359 Views)

I used "Fract/Exp string to number" , but didn't work. Actually I used all convertion plates from string to number..!

0 Kudos
Message 3 of 15
(3,354 Views)

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.

0 Kudos
Message 4 of 15
(3,344 Views)

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.

0 Kudos
Message 5 of 15
(3,337 Views)

Attached is a simple example on how you could achieve that behaviour.

0 Kudos
Message 6 of 15
(3,298 Views)

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?

0 Kudos
Message 7 of 15
(3,272 Views)

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.

0 Kudos
Message 8 of 15
(3,262 Views)

Could you please send it as old version, LabView 2009. I don't have 2010. Sorry for this inconvinience.

0 Kudos
Message 9 of 15
(3,248 Views)

Oh, sorry. Here's the example converted to older version.

0 Kudos
Message 10 of 15
(3,242 Views)