Timing Analysis and Transfer Times

  • Dear Community,


    The design below MeasureDurationLatency_v001.va will give you exact timing and latency of the VA design and its acquisition:

    pasted-from-clipboard.png


    An interesting part can be found within H-Box GetDataImmediately:


    pasted-from-clipboard.png


    This function extracts the interesting image data from the CXP data stream and give minimum latency for CXP related data acquisition. This is only required for CoaXPress interfaces.


    For all measurements in here the operator SignalToDelay is used:


    pasted-from-clipboard.png


    The screenshot above shows how to measure the time between End of Acquisition and End of Transfer within H-Box Added_Latency.


    How SignalToDelay works:

    SignalToDelay1.png


    Best regards,

    Björn Rudde
    Field Application Engineer
    - Basler AG
    chat

  • Hello,


    after some detailed questions to this, I would like to share a good starting point on: "Which Signal operator to use?"


    Operator Name Short Description available since VisualApplets
    DelayToSignal.png DelayToSignal

    Delays the input signal. Delay is controlled by a input link.

    Version 1.2
    Downscale.png Downscale

    Reduces the input frequency by an adjustable factor.

    Version 1.2
    EventToSignal.png EventToSignal

    Generates a signal pulse for each input pixel with value 1.

    Version 1.2
    FrameEndToSignal.png FrameEndToSignal

    Generates a signal pulse when the end of the input image is detected.

    Version 1.2
    FrameStartToSignal.png FrameStartToSignal

    Generates a signal pulse when the start of an input image is detected.

    Version 1.2
    Generate.png Generate

    Generates a periodic signal with controllable period time.

    Version 1.2
    GetSignalStatus.png GetSignalStatus

    Obtain the current value of a signal link.

    Version 1.2
    Gnd.png Gnd

    Provides a signal with the constant value 0 (LOW).

    Version 1.2
    LimitSignalWidth.png LimitSignalWidth

    Limits the maximum pulse width of the input signal using a parameterizable maximum.

    Version 1.2
    LineEndToSignal.png LineEndToSignal

    Generates a signal pulse when the end of a input image line is detected.

    Version 1.2
    LineStartToSignal.png LineStartToSignal

    Generates a signal pulse when the start of an input image line is detected.

    Version 1.2
    PeriodToSignal.png PeriodToSignal

    Generates a periodic signal. Period time controlled by input link.

    Version 1.2
    PixelToSignal.png PixelToSignal

    Converts an image data stream into a signal stream.

    Version 1.2
    Polarity.png Polarity

    Controls the polarity of the signal (invert).

    Version 1.2
    PulseCounter.png PulseCounter

    Counts every occurrence of a one (high) at signal input link I.

    Version 1.2
    RsFlipFlop.png RsFlipFlop

    Implements a set-reset flip-flop.

    Version 1.2
    RxSignalLink.png RxSignalLink

    Receives signals from a TxSignalLink operator in the design.

    Version 2.0
    Select.png Select

    Selects a signal source from N signal sources by parameter and forward selected signal to the output.

    Version 1.2
    SetSignalStatus.png SetSignalStatus

    Set a signal link status by use of a parameter.

    Version 1.2
    ShaftEncoder.png ShaftEncoder

    Analyzes shaft encoder signal traces and outputs encoder pulses as well as the direction.

    Version 1.2
    ShaftEncoderCompensate.png ShaftEncoderCompensate

    Compensates the rewind of a shaft encoder.

    Version 1.2
    SignalDebounce.png SignalDebounce

    Suppresses fast changing signals at the input link with adjustable minimum time.

    Version 1.2
    SignalDelay.png SignalDelay

    Delays the input signal. Delay is controlled by a parameter.

    Version 1.2
    SignalEdge.png SignalEdge

    Generates a pulse of one design clock cycle, if a rising-, falling- or both- edges are detected at the input.

    Version 1.2
    SignalGate.png SignalGate

    Gates the image stream between I and O by use of a signal input.

    Version 1.2
    SignalToDelay.png SignalToDelay

    Measures and outputs the delay between two signals.

    Version 1.2
    SignalToPeriod.png SignalToPeriod

    Measures and outputs the period time of the input signal.

    Version 1.2
    SignalToPixel.png SignalToPixel

    Converts the input signal stream into a 0D pixel stream.

    Version 1.2
    SignalToWidth.png SignalToWidth

    Measures and outputs the pulse width of the input signal.

    Version 1.2
    SignalWidth.png SignalWidth

    Generates an output pulse with controllable with for rising edges at the input.

    Version 1.2
    SyncSignal.png SyncSignal

    Synchronizes a number of input links to a master signal.

    Version 1.2
    TxSignalLink.png TxSignalLink

    Sends signals to any RxSignalLink operator in the design.

    Version 2.0
    Vcc.png Vcc

    Provides a signal with the constant value 1 (HIGH).

    Version 1.2
    WidthToSignal.png WidthToSignal

    Defines the width of a pulse. Width is controlled by a input link.

    Version 1.2

    Source (10.08.2020) from Table 49. Operators of Library Signal, being part of the VA basic documentation.


    Best regards,

    Björn Rudde
    Field Application Engineer
    - Basler AG
    chat