From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
You should look in to the Producer-Consumer architecture. This utilizes a queue, where the Producer (your FPGA loop) gathers the data, then sends it to the Consumer loop for processing. The Consumer loop just sits and waits until the Master sends it something to do. This is a great way to get rid of constantly polling a local variable.