06-23-2014 02:32 PM
Hi,
I'm trying to offset the value Im receiving from the signal of my load cell (at zero load) using an NI-6225. Is that possible?
It would really be helpful if this process could be controlled by the user (like a button for example) as there is a lag in the signal stabilization.
Thank you
06-24-2014 10:19 AM - edited 06-24-2014 10:24 AM
Hello,
Please correct me if I am misunderstanding you, but all you want to do is offset the values of the signal you are reading in with the NI-6225 from your load cell? You should be able to simply add the value you want to offset the signal to the signal by using an addition function and a control.
06-24-2014 10:31 AM
You are correct, however because I am using 12 different load cells is there a way to do that by just a click of a button everytime I would like to null offset the signal.
Like it could temporarily save the value at that particular instance and then automatically subtract it from the signal to read zero.
06-25-2014 06:58 AM
Hello,
That depends on the number of samples you are reading in. Certainly, you can use one of those samples (the current instance you are reading in) to set as the offset value, but which of those samples? You would either need to find the mean, the min, the max, or just choose the first or last value of that set of samples you are currently acquiring. Store that value with a Shift Register in your while loop, and then apply it to the next set of samples you acquire of the signal.
Shift Registers: http://www.ni.com/gettingstarted/labviewbasics/shiftregisters.htm