Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Flash Memory of CompactRIO NI 9002

I´m using a compactRIO NI9002 with a Embedded Chasis 9102.
 
I want to use the flash memory of NI9002 to store a variable and then I would like recovering the value of this variable, although the compactRIO was reinitiated.
 
How can I work with this flash memory?.
Thank you very much
0 Kudos
Message 1 of 2
(3,241 Views)

Hi,

You can read this forum that has an example about how to do that:

http://forums.ni.com/ni/board/message?board.id=280&message.id=1173&requireLogin=False

 

If you need extra info about how to write read to the PC from the cFlash read this info and links:

The 512MB non-volatile flash memory operates similar to a regular IDE drive on a PC (or PXI controller). To write data to it from a LabVIEW RT VI, use the file read and write primitives. 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, specify c:\hello.txt, for example, in the file path of the file write function. You can easily browse the controller's flash drive using any FTP client:

http://zone.ni.com/devzone/conceptd.nsf/webmain/40547e70c64dc19686256de100168196


This allows you to transfer the files back to your PC for further viewing. If you want to determine available free space, you can do so programmatically as demonstrated in the following KnowledgeBase:

http://digital.ni.com/public.nsf/websearch/8DA2FCEE1A1CF56786256C480067850D?OpenDocument

 

Hope that helps,

 

 

Regards,

Jaime Cabrera

NI Applications Engineering Spain
Message 2 of 2
(3,235 Views)