FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a PID Control (Fuzzy Logic) On cFP-2020.

I'm implementing a traffic control system using a cFP-2020 unit. I plan to control the entire system using a fuzzy logic controller, and am using the controller given in the PID Control Toolset.

However, the fuzzy logic controller from this toolset requires some .fc files in order to work, these files are the actual rules and settings which tell  the controller how it is suppose to function. When I try to upload my completed VI into the cFP-2020, it uploads successfully, BUT it only uploads my .vi and .ctl files. Without the .fc files, my program just sits on the cFP unit. The fuzzy logic controller is not sending any output due to the lack of those .fc files.

My question then is how do I get those .fc files on to the unit. A friend of mine is using a CVS and he mentioned having an 'explorer-like interface' accessible from LabVIEW where he could upload any files he wanted to his CVS unit, however, we have been unable to locate a similar solution in the case of the cFP-2020.

Should it not be possible to upload the .fc files manually, how would I go about instructing LabVIEW to upload them along with the rest of the files, or is there any other way that I could implement the Fuzzy Logic Controller on the cFP.

Thanks for your answers.
0 Kudos
Message 1 of 4
(3,664 Views)
Try opening MAX, right clicking the device address under Remote Systems and selecting File Transfer.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,661 Views)
Alternatively, you can use any FTP Client (FileZilla, for example), to download any files to the cFP. 
 
By the way, I briefly looked at the Fuzzy Controller VIs, and the Load VI seems to prompt the user for the .fc file location -- you will want to modify this to use a hardcoded path and point it to the .fc location on the cFP. 
 
Hope this helps,
 
-Khalid
0 Kudos
Message 3 of 4
(3,652 Views)
Re: tst

Thank you, I'll try that today.

Re: Khalid

Thanks also. As it is we've already hardcoded the file location input for the Fuzzy controller to assume that the file is in the same directory as the current running VI.
0 Kudos
Message 4 of 4
(3,644 Views)