10-24-2013 01:07 AM
What is the difference between loop rate and step size? how do i find the step size and loop rate of any vi in labview?
10-24-2013 01:37 AM
Hi kamasani.
Could you provide a bit more information about what you are trying to obtain and what your application or end goal is? Loop rate and step size can be very generic terms used in different ways depending on the application.
The most common usage of each of these terms are from very different analysis realms (FPGA and ODEs respectively). Based on your question, are you looking for the execution time (worst case) for VI's in LabVIEW or something else?
10-24-2013 01:50 AM
Please find the vi attached. I am acquiring sensor data and do processing to obtain a significant parameter.
I need to find the loop rate and step size for the vi attached.
I would appreciate any help.
10-24-2013 02:08 AM
Hello Kamasani,
The VI you provided is password-protected; without having access to the block diagram there isn't much that can be ascertained. Based on the dependencies, it looks like there are one or more express VIs and you're using the DAQmx drivers for analog acquisition.
What is the step size you are referring to? What units are these steps in? Are you running some sort of simulation or control algorithm?
10-24-2013 02:44 AM
Hello Tom,
I have removed the password. Pl find the attachment. I need the step size in seconds.
10-24-2013 03:00 AM
It appears the unprotected version of the VI provided is analog input with data processing and it sounds like you are using an FFT, however what are you refering to for step size? Do you mean the the execution time for one iteration of data or do you mean the step size of the FFT?
10-24-2013 03:04 AM
Hello Tom,
I need the execution time for one iteration of data running inside the while loop
10-24-2013 03:10 AM
You can use the Tick Count VI to measure the execution time as demonstrated in these two examples:
http://digital.ni.com/public.nsf/allkb/6F6B9F4E149C80578625652800784764
https://decibel.ni.com/content/docs/DOC-23915