LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate the Hysteresis Loop in Labview

Solved!
Go to solution

I wanted to simultate hysteresis curve with defined co-ordinates. I tryied by simply using two sine waves with delay and using hyperbolic trignometeric functions. But in this I coudnt shift the curve by defined co-ordinates. I want the same plot to be in between 15-35 on x-axis and -5 to 45 on y-axis. Anyone please suggest. Posting the code.

hystereis.jpg

 

0 Kudos
Message 1 of 3
(5,291 Views)
Solution
Accepted by topic author Sanky

Not sure what you exactly mean with 'defined coordinates'..

If you want to re-scale your XY graph to different X and Y axis ranges, just apply gain (multiplication) and offset (addition) to your X and Y arrays.

0 Kudos
Message 2 of 3
(5,258 Views)
Solution
Accepted by topic author Sanky

Hi Sanky,

 

use simple math you should have learned in elementary school:

check.png

😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(5,253 Views)