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

Graph bearbeiten

Home page Community Automation and VBA Edit graph

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34936
    stephan rieke
    Participant

    1.)Wie kann ich eine bestimmte Stelle im Graphen markieren, und zwar x und y ungleich 0, und anschließend das Integral ausrechnen?

    2.)Wie kann ich mir einen kompletten datensatz ausgeben lassen, z.b. Maximum, sodaß aber auch der zugehörige x-Wert ausgegeben wird. Beide gleichzeitig und anschließend als Gerade im Graphen erscheint?

    Danke für die Hilfe und Gruß

    #34938
    stephan rieke
    Participant

    1.)Wie kann ich eine bestimmte Stelle im Graphen markieren, und zwar x und y ungleich 0, und anschließend das Integral ausrechnen?

    2.)Wie kann ich mir einen kompletten datensatz ausgeben lassen, z.b. Maximum, sodaß aber auch der zugehörige x-Wert ausgegeben wird. Beide gleichzeitig und anschließend als Gerade im Graphen erscheint?

    Danke für die Hilfe und Gruß

    #34937
    Bernhard Kantz
    Participant

    1)
    You cannot just process complete data sets in diagrams, tables and analyses but also data ranges. You simply attach a range index in the form of [,] to the name of the data set which specifies the range you want. The index specifies the number, starting from zero, of the first and last row to be taken from the data set.
    Such index operations are automatically created by FlexPro, if e.g. during the creation of a diagram you do not select whole data sets but only a cell range in a data editor window. The Cursor environment offers a command called Copy range, allowing you to create interactive sections from data sets.
    Alternatively you can create a FPScript formula which calculates the integral:
    Example:
    [code]
    Dim idx = ValuesInInterval(Signal, -0.1, 0.1, EVENT_INDEX+EVENT_COMPLEMENT)
    Integral(Signal[idx])
    [/code]
    2) Use the [b]GlobalMaximum[/b] or the [b]Extrema[/b] function.
    [code]
    GlobalMaximum(Signal,EVENT_EXTRACT)
    [/code]
    If the result is a scalar value or a signal with 1 point you can activate the symbols for this curve in the diagram and use the [b]Horizontal line[/b] type.

    support@weisang.com

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