07-30-2013 07:49 PM
I followed the labview files and I compared them with the code's calculation , I found a lot of differences, I modified them.
U could simple file the new code and could u tell me who I can change the value of OSS , because when I change it ,it doesn't change in the configuration output.
Thanks a lot.
07-30-2013 08:46 PM
Sorry but I don't open .rar files. The value of OSS can be changed in "Get Calibration Data.vi" (the value that is added to the array after the loop. Neither of the calculation VIs need changed because they have been tested with the sample calculations from the datasheet. IIRC, there should be only small differences between my code and the code you gave me.
Did the changes you made make it work?
07-31-2013 01:12 AM
I'm not sure what you changed (since I can't open your file) but I did find an oversight and a small mistake. I've updated post #7. Please tell me if it works. Thanks.
07-31-2013 05:11 AM
The project edited is attached ,
I changed the value of new element of the array , but sill I have ZERO in the output configuration.
07-31-2013 12:56 PM
I've updated the VIs in post #7 based on your changes. I also fixed the OSS value not casting correctly (just had to change the constant to a U16 instead of a I16). Please let me know if my library is working now, then I will post it as a document so others will be able to find and use it.
07-31-2013 01:02 PM
I try it but it doesn't work see all my modified project ( all the file ), also the OSS doesn't work
07-31-2013 01:12 PM
I thought i found all the things that you changed. Make sure you have version 1.0.3.0
07-31-2013 01:41 PM
check those files : Get Temp Data Raw , calculate pressure
07-31-2013 02:00 PM
There is nothing different in Get Temp Data Raw.vi. The only thing that I can tell that you changed in Calculate Pressure.vi is changing the division by 2^16 to a bit shift. This did not work based on the datasheet. The datasheet says to divide by 2^16. Bitshifting a signed integer is not the same as division. Maybe the datasheet is wrong?
You never did say if your version worked.
07-31-2013 02:54 PM
yea it's work