FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

Cursor/Mark Global Max/Min

Startseite ' Community ' FPScript ' Cursor/Mark Global Max/Min

Anzeigen von 5-Stellen - 1 bis 5 (von insgesamt 5)
  • Autor
    Beiträge
  • #33260
    Werner Streich
    Teilnehmer

    Is there a feature in Flexpro to highlight/mark or make the Cursor go to a certain calculated value in a Chart?

    For example I include the formula to find the value but I want the cursor in the 2D chart to jump to the Global Minimum/Maximum value. [img]uid3727_Standard View.jpg[/img]

    #33264
    Werner Streich
    Teilnehmer

    Is there a feature in Flexpro to highlight/mark or make the Cursor go to a certain calculated value in a Chart?

    For example I include the formula to find the value but I want the cursor in the 2D chart to jump to the Global Minimum/Maximum value. [img]uid3727_Standard View.jpg[/img]

    #33261
    Bernhard Kantz
    Teilnehmer

    You can calculate the global Maximum
    [code]
    GlobalMaximum(Signal, EVENT_EXTRACT)
    [/code]
    and add the FPScript formula into the 2D-diagram as new curve. Activate the symbols for this curve. Now you see directly the global maximum of your signal in the diagram.
    With the cursor you can go to the next or previous extremum. You can use the commands To Previous Peak Value and To Next Peak Value to move the cursor from peak value to peak value. On the Cursors tab in the Properties dialog box of a worksheet or document, you can specify whether local maxima, local minima or both are to be addressed. Here you can also enter a hysteresis, which determines what should or should not be recognized as an extremum. If some are skipped when navigating the extrema, you need to decrease the hysteresis. If small waves or noise in the course of the signal are recognized as extrema, then you need to increase the hysteresis.

    See also
    Analyzing Data|Analyzing Signals with Cursors|Curosr Environment

    support@weisang.com

    #33262
    Werner Streich
    Teilnehmer

    I’ve managed to display the max/min values, but only witout an x-axis. The values are displayed on x-axis position 0.
    How can I use the EVENT_Extract including the x-axis so I can see when the extracet value occoured.[img]uid3727_2D Diagram.jpg[/img]

    #33263
    Bernhard Kantz
    Teilnehmer

    If the input signal of the [b]GlobalMaximum[/b] function is a signal with y- and x-components the result is also a signal. If the input signal is a data series you have to create signal:
    [code]
    Dim idx = GlobalMaximum(data, EVENT_INDEX)
    Signal(data[idx],idx)
    [/code]

    support@weisang.com

Anzeigen von 5-Stellen - 1 bis 5 (von insgesamt 5)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.