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

Signaldauer in einem bestimmten Zeitbereich ermitteln

Home page Community FPScript Determine signal duration in a specific time range

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33509
    Peter Leppich
    Participant

    Hallo,

    ich habe digitale Daten, die bei Veränderung mit Zeitstempel geschrieben werden.

    Diese kann ich in FlexPro als Signal einlesen.

    Nun möchte ich die Dauer dieses Signales in einem Zeitbereich auswerten.

    z.B.
    Ausgang schaltet um
    9:00 Uhr auf 1
    9:01 0
    9:10 1
    9:12 0
    9:20 1
    9:23 0
    usw.

    Nun möchte ich Dauer von 9:03 bis 9:17 auswerten.

    Geht so was und wie mache ich das.

    Gruß
    Peter Leppich

    #33511
    Peter Leppich
    Participant

    Hallo,

    ich habe digitale Daten, die bei Veränderung mit Zeitstempel geschrieben werden.

    Diese kann ich in FlexPro als Signal einlesen.

    Nun möchte ich die Dauer dieses Signales in einem Zeitbereich auswerten.

    z.B.
    Ausgang schaltet um
    9:00 Uhr auf 1
    9:01 0
    9:10 1
    9:12 0
    9:20 1
    9:23 0
    usw.

    Nun möchte ich Dauer von 9:03 bis 9:17 auswerten.

    Geht so was und wie mache ich das.

    Gruß
    Peter Leppich

    #33510
    Bernhard Kantz
    Participant

    I don’t understand what you want calculate exactly. But you can use the event isolation analysis object to calculate the positions / indices where you signal changes from 0 to 1 or from 1 to 0. As soon as you have these positions you can calculate the time ranges where the signal is 1 and summarize these ranges.

    support@weisang.com

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