06-04-2018 10:57 AM
I have a small program that measures force from two strain gauges, and also measures wind speed.
When I stop the program and then run it again the force measurements return to zero even if there is a weight on my force balance.
Is there away to stop this from happening when I stop and restart the program, other than using a pause button.
Solved! Go to Solution.
06-04-2018
11:13 AM
- last edited on
01-06-2025
09:33 AM
by
Content Cleaner
You are performing a Bridge Offset Nulling Calibration every time you run your VI. If you have a load when you run your VI it will null that load to 0. You need to only perform this once, and should verify the gauge is under no strain before running the null calibration.
I suggest doing it as a button rather than during initialization. Have something on your front panel labeled "Null Sensors" or similar followed by a dialog box prompting the user to verify there is no strain before continuing. To accomplish this, I suggest reading more into event structures and state machines.