FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

Signal manipulation

Home page Community General Signal manipulation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.