FL Create Consequent VI

Owning Palette: Rules VIs

Requires: Full Development System

Creates a consequent, or THEN portion, of a rule for a fuzzy system. A consequent consists of three parts: an output linguistic variable, an operator that specifies to calculate the degree of membership of the output linguistic variable within a linguistic term, and a linguistic term.

You can use the Build Array function or a loop to build an array of rule consequents that you create with this VI. You then can wire the array to the consequents input of the FL Create Rule VI.

 Add to the block diagram  Find on the palette
variable index specifies the index of the linguistic variable you want to use for the consequent. variable index corresponds to the order in which the linguistic variable was created.
membership function index specifies the index of the membership function you want to relate to the corresponding linguistic variable. membership function index corresponds to the order in which the membership function was created.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
consequent returns the consequent, or THEN portion, of a rule. The first and last parts of the consequent correspond to the variable index and membership function index, respectively. The middle part of the consequent is an operator specifying to calculate mu, the degree of membership of the linguistic variable within the membership function.
error out contains error information. This output provides standard error out functionality.