Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 203111

Trying to understand timing of inputs and outputs with LabVIEW FPGA

$
0
0

Hi

I'm trying to get a rough understanding of how timing works with inputs and outputs on the fpga and cRIO CPU when implementing control algorithms on the cRio cpu

Say I have a labview program where the following happens:
- The FPGA VI reads an analog input and sends it to a target VI (cRIO CPU)
- The target VI then makes a quick calculations and sends an output to the FPGA based on the input it received
- The FPGA then outputs this through an analog output module

Theoretically speaking, if the FPGA is running at 10 ms, and the rt target VI is running at 1 ms, will the following happen?:
- the FPGA reads the input at 0ms..
- The target VI recieves the input slightly after 0ms and calculates the an output..
- The calculated output is sent down to the FPGA before 1 ms have passed..
- The FPGA then sends this output to the analog output module somewhere around (or before) the 1 ms mark

Or:
- Or, will the calculated output be delayed until the 10 ms mark?

 

Thanks


Viewing all articles
Browse latest Browse all 203111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>