-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > calculations of response time to 63% > Antwort auf: calculations of response time to 63%
Mai 13, 2009 um 8:28 pm Uhr
#8770
Bernhard Kantz
Teilnehmer
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]