Skip navigation

Account settings

Topic

Zugriff auf Datenreihen einer Matrix innerhalb einer Schleife

Home page Community FPScript Access to data series of a matrix within a loop

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33354
    rax23@gmx.de
    Participant

    Gerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!

    #33351
    Bernhard Kantz
    Participant

    You can extract individual values or sections from data series, data fields, signals, signal series and space curves with the index operator in FPScript.

    Example:
    [b]Data matrix[ScalarValue][/b] takes the column with the number speciefied in Scalar Value from the data matrix. The result is a data series.

    With the argument Mode in the FPScript function [b]Maximum[/b] you can determine one maximum per column / row. So you don’t need a For-Loop.

    See also
    FlexPro Online Help
    Index Operator (FPScript)
    Maximum-Function (FPScript)

    Support@weisang.com

    #33352
    rax23@gmx.de
    Participant

    The question was how it is possible to access line by line data-values of a data-matrix!?

    #33350
    rax23@gmx.de
    Participant

    Gerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!

    #33353
    Bernhard Kantz
    Participant

    [b]Data matrix[ ] [ScalarValue][/b] takes the row with the number specified in ScalarValue from the data matrix. The result is a data series.

    The table in the online help lists all of the possible combinations of the index operator.

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