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

Swapping Units

Startseite ' Community ' FPScript ' Swapping Units

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #33494
    John Gerhardy
    Teilnehmer

    Hello,

    two channel from an endurance test were pluggen into the wrong channel and I would like to swap the date for analysis in FP. Since several datasets are concatinated in a formel I thought swap the units there unfortunately without success.
    The data looks like this:
    Dataset A [Unit A]
    Dataset B [Unit B]

    What I would like is:
    Dataset A [Unit B]
    Dataset B [Unit A]

    It this possible in FPScript?

    Regards,
    John

    #33496
    John Gerhardy
    Teilnehmer

    Hello,

    two channel from an endurance test were pluggen into the wrong channel and I would like to swap the date for analysis in FP. Since several datasets are concatinated in a formel I thought swap the units there unfortunately without success.
    The data looks like this:
    Dataset A [Unit A]
    Dataset B [Unit B]

    What I would like is:
    Dataset A [Unit B]
    Dataset B [Unit A]

    It this possible in FPScript?

    Regards,
    John

    #33495
    Bernhard Kantz
    Teilnehmer

    The [b]Value[/b] operator removes the unit of its argument.
    To introduce the new unit, you can use the [b]Unit[/b] operator.
    For example to change the unit of dataset DS from volts to ampere, one could write

    DS = Unit Value DS

    The FPScript functions [b]AdjustUnit()[/b] and [b]ChangeUnit()[/b] can only convert units of the same SI dimension.

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