LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO 9049 and two NI 9215 modules sampling at 100 kHz

Solved!
Go to solution

Hi All,

 

I am working on a project making use of a cRIO 9049 and two NI 9215 modules to sample eight channels at 100 kHz. I am also using the NI 9467 module to time stamp the data measurements. The analogue input channels and the time from the timekeeper are written to two separate FIFOs. These two FIFOs are picked up in the host VI where the depth is configured and then read within a while loop. 


When I set the loop timer to 10 uS I can log at 100 kHz using one 9215 module, when I add the second 9215 module at the FPGA input node, the sampling rate saturates at 90.9 kHz (whilst the loop timer is still 10 uS). I have attached images of my FPGA VI  (which makes use of the timekeeper VI) and my host VI. Is my general logic in the FPGA/host VIs correct? Can anyone suggest a reason/solution for the reduction in the sampling rate when gathering data from two 9215 modules on the cRIO?

 

Best Regards,

Eddie


FPGAVI.PNGHostVI.PNG

0 Kudos
Message 1 of 3
(353 Views)
Solution
Accepted by topic author Edd_C

Hi Eddie,

 

don't use ONE FPGA IO node for both modules.

Use TWO nodes, one for each module, to have them read in parallel…

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 2 of 3
(297 Views)

Hi GerdW,

 

Thanks for your advice. I split the modules onto two FPGA I/O nodes and passed them to my host VI in two separate FIFOs - I now have 100 kHz on both modules. Picture of my revised FPGA code is attached for anyone with a similar issue.

 

Best Regards,

EddieFPGAVI_REV.PNG

0 Kudos
Message 3 of 3
(289 Views)