Instructive example concerning function RainFlow() needed
Hi
I would like to use the function RainFlow() in HyperMath 12.0.
Help (F1) describes the syntax as:
result = RainFlow(yvect, numbins, minrange, maxrange, output, hysteresis)
The HyperMath editor in the files-window, however, shows the syntax as
Rainflow (vector, vector, scalar)
I always get an error
30: error in function 'RainFlow'.
when trying to use this function in a HyperMath script.
Has anyone a small instructive example available (e.g. a rainflow counting applied to a vector containing values of a sine function)?
Thanks in advance for any support.
Best regards
Matthias Leiner
Answers
-
Hi Matthias,
I see that Rainflow - Reduces the number of vector points from the test data without losing the damage, magnitude, and/or effect of the test data.
You can use the rainflow function in the exact same way in HyperGraph as well, attached is a video on its application in HyperGraph, rename the image from jpg to wmv.
You can also obtain debug information and figure out where you need to modify your input.see HyperWorks Desktop Reference Guides Overview > Templex and Math Reference Guide > Math Reference > Functions and Operators > List of External Functions > rainflow
Perhaps you can provide us the input information, your initial curve (vector) data etc and we may be able to help better.
0 -
Hi Rahul,
Thanks a lot. Your video helped me to fix my problems.
Best regards,
Matthias Leiner0