Topic
Extracting Events from One Signal, applying Time to Another
Page d'accueil ' Communauté ' Généralités ' Extraire des événements d'un signal, appliquer le temps à un autre
- Ce sujet contient 4 réponses, 2 participants et a été mis à jour pour la dernière fois par John Huxtable, le il y a 15 années et 1 mois.
-
AuteurMessages
-
09.04.2010 à 19:57 #33764John HuxtableParticipant
I have speed data from two fans. I use a formula to calculate the difference between them and event isolation to determine times when this difference is greater than +/- 30 rpm.
I then wish to use the associated time stamps to observe the vibration responses when the fan speed difference is greater than +/- 30 rpm.
The raw data are in separate signals but all have the same time base. I am using version 8.0.24 standard
09.04.2010 à 19:57 #33768John HuxtableParticipantI have speed data from two fans. I use a formula to calculate the difference between them and event isolation to determine times when this difference is greater than +/- 30 rpm.
I then wish to use the associated time stamps to observe the vibration responses when the fan speed difference is greater than +/- 30 rpm.
The raw data are in separate signals but all have the same time base. I am using version 8.0.24 standard
09.04.2010 à 20:29 #33765Bernhard KantzParticipantFor this you can use the index operator.
Example:
[code]
Dim idx = ValuesInInterval(Speed1 – Speed2, -30, 30, EVENT_INDEX + EVENT_COMPLEMENT)
Speed1.X[idx]
[/code]09.04.2010 à 21:53 #33766John HuxtableParticipantI think I see how that gets me the time stamps in “speed1” but how do I apply this to “response1”?
10.04.2010 à 00:42 #33767Bernhard KantzParticipantIf you have a FPScript formula IDX which calculates the indices you can create an additional formula. This formula creates a signal with the y-values of the data set ‘response1’ and the x-values of ‘speed1’.
[code]
Signal(response1[IDX], speed1.X[IDX]
[/code]
support@weisang.com -
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.