FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

Signal manipulation

Page d'accueil ' Communauté ' Généralités ' Manipulation du signal

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #34042

    I have several data sets in Flexpro 7 and would like to delete values out of all sets based on the values of one set falling below a certain value. What is the best way to do this?

    #34044

    I have several data sets in Flexpro 7 and would like to delete values out of all sets based on the values of one set falling below a certain value. What is the best way to do this?

    #34043
    Bernhard Kantz
    Participant

    Create a FPScript formula which removes the values below a threshold.
    – Use the [b]ValuesAboveLevel[/b] function to calculate the indices of the event. You could remove the values directly if you don’t have a reference signal (Use EVENT_EXTRACT instead of EVENT_INDEX).

    Example: FPScript formula ‘Remove’
    [code]
    Arguments data
    Dim idx = ValuesAboveLevel(ReferenceSignal, 0.5, EVENT_INDEX)
    s[idx]
    [/code]
    Create an additional function for each signal:
    [code]
    Remove(Signal)
    [/code]

    support@weisang.com

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.