Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you log data into the flash storge memory of a Compact RIO controller and read it later (cRIO-9004)?

How can I log the data in a very simple way  from a Compact RIO analog input module NI-9221 into the 512 MB of non-volitile flash storage on a cRIO-9004 RT Controller for data logging applications? How do you monitor the status of the 512 MB of flash memory? How can you read it later?
 

Software : LabVIEW full development system 8.0

Hardware : cRIO 9104

                      NI - 9221

0 Kudos
Message 1 of 2
(3,439 Views)

BGU:

The 512 MB non-volatile flash memory operates similar to a regular IDE drive on a PC. To write data to it from a LabVIEW RT VI, use the file read and write functions. The flash drive is addressed as "C:\" and it has a normal directory structure. So if you want to write to a text file in the root directory, you could specify "C:\Test.txt", for example, in the file path of the write function. You can easily browse the controller's flash drive using any FTP client to make sure that the files are indeed created.

If you want to programmatically determine how much space is available, you can do so by using the "Volume Info" function in LabVIEW as highlighted in this document.

I hope this helps and feel free to post again if you have further questions.

Thanks,

Rudi N.



 

0 Kudos
Message 2 of 2
(3,423 Views)