05-24-2018 01:10 AM
Hello all;
Is it possible to access same ADC channel in two different independent loops, in higher priority timed loop I need to make some decisions and also need to execute the PID to maintain the output? while in other lower periority while loop i need to log data that is comming from adc channels through FPGA.
thank you.
05-24-2018 10:36 AM
Typically, you'll see data acquired from the FPGA in the higher priority loop and then passed to other loops (such as logging) using RT FIFOs.
I'm guessing you're using CompactRIO, so I would recommend looking at the CompactRIO Developer's Guide, particularly the Interprocess Communication pages in section 1, which outline best practices for sending data to different loops in a Real-Time VI.