-
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
Level Crossing Function
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 21 Jahren, 2 Monaten von Krista Tweed aktualisiert.
-
AutorBeiträge
-
August 28, 2003 um 4:18 am Uhr #12540Krista TweedMitglied
When I use the Level Crossing function to search for a value that does not fall exactly on a data point, I always get the data point BEFORE the level returned as the result.
For example: I use the Signal function in the Analysis folder of the Examples database. The signal is a y=x line. I use the following function in the formula:
LevelCrossings(Signal, 5.000, 0.001, EVENT_POSITIVE, EVENT_INDEX)The Signal data set has two data points that fall on either side of 5.00 volts:
Signal[499] = 4.994995
Signal[500] = 5.005005I would expect the result of the LevelCrossings function above to be 500 since that is the index of the first data point in the signal that has crossed the specified 5.000 level. In FlexPro, the result of the function is 499. Why is that the correct result?
August 28, 2003 um 7:24 pm Uhr #8203Krista TweedMitgliedWhen I use the Level Crossing function to search for a value that does not fall exactly on a data point, I always get the data point BEFORE the level returned as the result.
For example: I use the Signal function in the Analysis folder of the Examples database. The signal is a y=x line. I use the following function in the formula:
LevelCrossings(Signal, 5.000, 0.001, EVENT_POSITIVE, EVENT_INDEX)The Signal data set has two data points that fall on either side of 5.00 volts:
Signal[499] = 4.994995
Signal[500] = 5.005005I would expect the result of the LevelCrossings function above to be 500 since that is the index of the first data point in the signal that has crossed the specified 5.000 level. In FlexPro, the result of the function is 499. Why is that the correct result?
August 28, 2003 um 7:24 pm Uhr #8873Bernhard KantzTeilnehmerIt is a question of defintion of the event “Level Crossing”. Should it be the position where the level will be crossed or where it has been crossed? Currently the function returns the positions where the level will be crossed. Of course it makes sense to change the behaviour to the second alternative because then the values found at the level crossings would definitely lie above the level. We will investigate this and probably change the behaviour with the next FlexPro Service Release.
We appreciate further comments on this post.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.