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

Automatic Marker using FPScrict

Home page Community FPScript Automatic Marker using FPScrict

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33569
    HerveM1234
    Participant

    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
    Participant

    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
    Participant

    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.

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