LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph strain, displacement and integrate area under curve

Hello All,

 

I am trying to graph strain as a function of displacement and integrate the area under this curve to calculate Work (strain will eventually be converted to force). Strain is calculated using the continuously acquire strain signal VI. Displacement is acquired from mouse position when the enter key is pressed.  In my application both strain and displacement will be measured simultaneously.

 

Currently I am having trouble graphing both displacement and srain. I am trying to use the build XY graph function, but I'm still new to LabView and I'm not really sure how everything works. Once I am able to plot this curve I would like to integrate the function to calculate Work.  How would I do this?

 

I am using a NI USB-6229 to acquire the strain signal, and the strain gauge is in a quarter-bridge I configuration.

 

Thanks for the help,

 

Brad

 

 

0 Kudos
Message 1 of 2
(2,484 Views)

Hi bwmerrill, 

 

You might look into this article which spells out different ways to work with XY graphs. As for integrating the function, there is an Integrate x(t) function in LabVIEW under the Mathematics >> Integration & Differentiation sub-palette that you might want to investigate. I hope this helps!

David S.
0 Kudos
Message 2 of 2
(2,452 Views)