Start of trail CL Continuous Sigmoid navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Source VIs and Functions >

CL Computation Time

CL Computation Time

Owning Palette:Sources

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module


Description

CL Computation Time returns the time spent computing the last iteration of the CD&Sim loop in seconds. The time is measured using a high resolution timebase.


Outputs

time

time is the number of seconds spent computing the last iteration of the CD&Sim loop based on a high-resolution timebase.


Details

CL Computation Time is typically used to measure the computation time of the control loop. The output is a real number with high accuracy. The time includes system calls and any interruptions due to higher priority threads or hardware interrupts. It is not the same as CPU time since it can include time spent blocking on I/O.


Feedthrough Behaviour

This vi has no inputs to feedthrough.


Examples

  • RCP CL Computation Time Example This example demonstrates the use of RCP CL Computation Time, which outputs the time spent computing the last iteration of the CD and Sim loop.


    See Also

  • CL Sample Time

    Outputs the time since the last invocation of the VI in seconds. The time is measured using a high resolution timebase.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar