Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Load Fuzzy Controller VI

LabVIEW 8.6 PID Control Toolkit Help
June 2008

NI Part Number:
370401E-01

»View Product Info

Owning Palette: Fuzzy Logic VIs

Installed With: PID Control Toolkit

Loads all controller parameters and information. Use this VI together with the Fuzzy Controller VI to implement a fuzzy controller designed with the Fuzzy Logic Controller Design Project Manager. The data file uses the .fc file extension.

Example

File Path specifies the path to the fuzzy controller you want to load. If you do not specify a File Path, this VI displays a file dialog box from which you can browse to a fuzzy controller.
Open-Dialog is the message that appears below the list of files and directories in the dialog box. Open-Dialog defaults to "Open..." if unwired.
Controller out is the data stored in the fuzzy controller data file saved from the Fuzzy Logic Controller Design Project Manager. All data is stored in a cluster and must be output to the Fuzzy Controller VI.
cancel indicates if the file dialog box was cancelled.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
anteced. data range minimums is an array of the minimums of the linguistic input variable ranges.
anteced. data range maximums is an array of maximums of the linguistic input variable ranges.
input name 1 is the name of the first linguistic input variable.
min 1 is the minimum of the range of the first linguistic input variable.
input name 2 is the name of the second linguistic input variable.
min 2 is the minimum of the range of the second linguistic input variable.
input name 3 is the name of the third linguistic input variable.
min 3 is the minimum of the range of the third linguistic input variable.
input name 4 is the name of the fourth linguistic input variable.
min 4 is the minimum of the range of the fourth linguistic input variable.

Example

Refer to the Tanks - fuzzy control PI VI in the labview\examples\control\fuzzy\tanks.llb for an example of using the Load Fuzzy Controller VI.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit