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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring data from a serial module and analog input module simultaneously

I am using a cRIO and need to get data from 2 different modules. One is a 9870 serial module and one is a 9201 analog input module. I have the FPGA VIs and the data acquisition VIs working for each independently, but I need to get both sets of Data at the same time. Because I cannot run 2 FPGAs at the same time, I have been trying to combine them into one FPGA and one VI to acquire the data with no success.

If there is anyone who can help me out here I would greatly appreciate it.

Sergey

0 Kudos
Message 1 of 2
(2,229 Views)

Hi Sergey,

 

One of the neat features of FPGA programming is true parallel code execution. You should be able to copy one block diagram into the other VI, keeping them totally separate (no shared loops) and as long as they are not accessing the same resouces (FIFOs, Memory, etc) they should be able to run simultaneously. It sounds like you may have tried something like this. What's been going wrong with your attempts?

Verne D. // Software R&D // National Instruments
0 Kudos
Message 2 of 2
(2,199 Views)