Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

compact rio 9025 and 9229

Hi all,

 I am new to LabView and CRIO. I want to read the four Analog Input modules 9229 @ 30kS/s and store them in a USB drive attached to CRIO 9025. I do not understand when to use FPGA and when to use conroller. Any starting points or samples will be appreciated.

0 Kudos
Message 1 of 4
(4,025 Views)

I would always suggest the best place to begin thinking about acquiring data is NI.com/gettingstarted. From that site, you will find an applications section here. In that section there is a link for logging data to disk. This will describe when to use scan interface (in this case you should use FPGA) and how to implement the FPGA code and stream the data back to the RT application using an RT Fifo. Then you can write to the correct USB drive.

 

RT FIfo.png

You can also use example finder as a resource under the Toolkits >> FPGA >> CompactRIO >> Basic IO

 

Example Finder.png

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
Message 2 of 4
(4,020 Views)

Hi,

Thanks for the help. Right now I am just trying out cut and paste from the web. Thanks for the pointers, and hope this FIFO sampling, RT storage will work well. I was just thinking if the FPGA will store all 30k samples . I think I need to study the arch. well .

Thanks.

 

 

 

0 Kudos
Message 3 of 4
(4,009 Views)

If you really want to learn CompactRIO Architecture (Which I highly recommend) you will want to dedicatae about 2 days (roughly a solid 16 hours) to understanding the CompactRIO's Developer Guide. You might be able to skip through some of the architecture parts, but it will really help you understand producer consumer architectures as well as the Host -> RT -> FPGA setup of a typical CompactRIO.

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 4 of 4
(4,006 Views)