Hello,
My program reads strain and then uses this strain value to calculate the axial load placed onto my specimen. For me to know exactly what load I am applying, I need to constantly read strain values, calculate the load and watch the load as the actuator is moving. The logic that I would like to implement into my program is as follows:
I want to first null the strain gauges (done this with the offset null calibration.vi by clicking onto a button in the front panel) and once this is complete, record those initial values. Once everything is nulled and recorded, I want to move the actuator so that load is now being placed on the specimen. I would like to control the actuator and load in increments (choose increment through front panel, say 10 lb increments). Once the axial load (Ch.2) has reached a the specified load (10lbs), I want the actuator to stop, the values recorded and then start again to load to the next load increment (20 lbs). I would like this to continue until my load has reached the maximum load (specified through the front panel, 50 lbs). Once it has reached this max load, actuator stops, values are recorded and the actuator unloads back down to zero pounds. Now once load is back to zero, actuator stops, disables and program stops.
As of right now I have all of these commands (to the best of my knowledge) implemented in labview. I use boolean logic to compare my axial load value to a constant but I am not sure how to exactly connect my boolean logic to my case structure so that the program will go through as I have stated above.
How would I go about programming this? How would I implement the load increments that continually checks with my axial load value? Right now I have an ENUM control connected to the case structure, what would be better?
I would appreciate any comments or suggestions that you may have.
Thank you
Jena