-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > calculations of response time to 63% > Reply To: calculations of response time to 63%
May 13, 2009 at 8:28 pm
#8770
Bernhard Kantz
Participant
You can create a FPScript formula and use the index operator or the value index operator to extract a section from a signal.
Example1: Value Index operator
The signal has the name ‘Sine’.
Dim x63
x63 = 0.63 * Sine.X[-1] //Sine.X[-1] is the last x-value of the sine signal
Sine[[0,x63]] // Range from 0 to 63% of the last x-value
Example2: Index operator
This example only works if your signal is equidistant.
Dim idx63
idx63 = 0.63 * NumberOfElements(Sine) - 1
Sine[0,x63]