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

Automatic Marker using FPScrict

Startseite ' Community ' FPScript ' Automatic Marker using FPScrict

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #33569
    HerveM1234
    Teilnehmer

    Hi,

    With a FPS function I detect events on a signal.
    Is there a way to set a Marker on the curve using FPScript?
    For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.

    Thanks in advance
    rv

    #33571
    HerveM1234
    Teilnehmer

    Hi,

    With a FPS function I detect events on a signal.
    Is there a way to set a Marker on the curve using FPScript?
    For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.

    Thanks in advance
    rv

    #33570
    Bernhard Kantz
    Teilnehmer

    There is no way to set marker(s) from FPScript, but there are other ways to achieve the same goal.
    Let your FPScript formula extract the desired points as a signal. Add it to the diagram. Using the Properties window of the new curve, switch off the [i]Connection Line[/i] and activate the [i]Data Labeling[/i]. In the [i]Text[/i] field enter
    [b]Y = %
    X = %[/b]
    (you may add some formatting too, e.g. %.3f for three decimals).
    Change the [i]Angle[/i] to 0°, the [i]Position[/i] to [i]Top Right[/i] and the [i]Background[/i] to the desired color. If you want to see the points too, turn on the [i]Symbols[/i] and choose the appropriate [i]Type[/i] and [i]Color[/i]s.

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