07-28-2013 12:30 PM
Just saying that it gets different values does not help me. What values do you get? What are the configuration parameter values (both from the Arduino code and from my code). You can get the configuration parameters in my code by probing the configuration cluster coming out of the configuration VI. Give me as much information as possible.
Also, it is extremely hard to read code that is just dumped into a post and makes the thread hard to follow. Please attach the file.
07-28-2013 01:00 PM
I have edit my post and I attached the Arduino file.
I read temp value from arduino code : 33 , from labview : 724 (I see it constant )
the pressure value from arduino code: 100332 , from labview I see it varying with diffrent values
I think that both the configuration are the same
07-28-2013 01:11 PM
I read with arduino code : mc = -11075 and md : 2432
but with from labview both are ZERO
07-28-2013 02:25 PM
The problem is in the configuration : the output of the loop in the configuration file is right , but after (array into cluster) is wrong because only the first 9 element of array are in cluster , the others not
07-28-2013 02:54 PM
Yep, that is what I figured out. I reuploaded the fixed library above (post #7).
07-28-2013 04:18 PM
I will try it again , but what was the problem ?
Thanks a lot.
07-28-2013 05:59 PM
You stated the problem in your last post . Apparently the array to cluster VI requires manually setting the number of cluster elements.
07-29-2013 01:25 PM
Hello, until now I have the same problem look at this 2 pics
07-29-2013 02:16 PM
I don't see any issues in the first image.
What happens if you put a 500ms delay in the main loop in the example? If it still happens, can you wire the pressure and temperature to a chart (one chart for each) to see if there is a consistent pattern. If could, output the data into plain text file and attach it here.
07-30-2013 06:26 AM
Plz could you check all the labview files and compare it with the code attached (Post #9 )?
I found that ut = 2560 ( LV ) , 32899 ( Arduino )
up = 754974720 ( LV ) , 40224 ( Arduino ) .