FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

Sorting Routines

Étiqueté : 

Voir les messages de 2 - 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #34659
    Dermot Cradden
    Participant

    Is there a way to sort data sets either by increasing or decreasing values without writing a script routine or macro

    The example files show how sorting values can create a better chart.

    The sorting I have to do in excel then re-import the sorted data back into FP

    I have FlexPro 9.0.13 Standard

    #34660
    Bernhard Kantz
    Participant

    I’m afraid, there is no one-click solution to sort a dataset or a signal. But a one-line FPScript formula can do the job.

    Please insert a new formula and write Sort(. Drag your signal (or data set) from the object list window into the code. Add a comma and select the appropriate operation parameter (SORT_X for a signal or SORT_Y for a data set). That’s all.

    Then you can use the formula for your diagram.

Voir les messages de 2 - 1 à 2 (sur un total de 2)
  • Vous devez être connecté pour répondre à ce sujet.