Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read files in compact rio memory

Im trying to use fuzzy logic in C-RIo, so to load my control.fc file i need to put that file in rt memory and load from there using the Load Fuzzy Controller.vi. If somebody know how to do that please help me.

 

Thanks

Saci

0 Kudos
Message 1 of 5
(4,512 Views)

Hi Saci,

 

Are you trying to deploy Fuzzy Logic to the cRIO and not use an RT host VI?  Please let me know a few more details on your setup.  Thanks!

 

 

Stephen Meserve
National Instruments
0 Kudos
Message 2 of 5
(4,484 Views)

Hi StarsHockey,

 

Exactly, I want to deploy the fuzzy logic in the real time control of the CRio, so i need to put the file with the control.fc in rt memory and load from there using the Load Fuzzy Controller.vi. If you have some ideia to help me to do that i really thanks.

 

SaCi

 

 

0 Kudos
Message 3 of 5
(4,477 Views)

Hi SaCi,

 

You need to FTP the .fc file to the RT controller and then access that file using the static file path to the file on the controller.  You will not be able to run the Fuzzy Logic VIs on the FPGA, as an aside.  Thanks.

Stephen Meserve
National Instruments
0 Kudos
Message 4 of 5
(4,465 Views)

I know this is an old post, but just if anybody else requires the info...

 

you can use any ftp client to transfer the files (in windows you can use command prompt, and use the ftp command put to send a file, or command get to copy a file)...

 

Also the measurement and automation explorer MAX, has a built-in ftp client...just right click your target (in this case cRIO under remote devices) and select file transfer...

0 Kudos
Message 5 of 5
(3,993 Views)