Hello,
At the moment i am putting values of a force sensor in a graph.
When i am going to use the sensor the start value should be set to zero so that i know how much force is applied.
Does anybody know a function for setting the current value to zero?
kind regards,
Jan
i haven't found this feature yet
can you maybe show where i can find it?
Hi Jan,
"shift registers" are a VERY BASIC LabVIEW concept. You find explanations in the LabVIEW help!
yeah i know a bit about the shift registers, but can you lock a value?
because if the values change the 'locked' value should be subtracted.
Hi Jan,
yeah i know a bit about the shift registers, but can you lock a value?
Yes, sure!
You could use a case structure (or a select function) to decide, which value to write into the shift register for the next iteration: use a new one or keep the previous one…
Here's one possible way. This is really basic so I recommend continuing with the tutorials...
(Be aware of mechanical action settings too)
What you are asking for is often known as a "tare" function. That term might help you when searching the forums.
Often does sensors have a tare function...
If it's a pure analog value, it won't. If it has a communication protocol, it's likely.