Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

FuzzySetCodeValue

  • Last UpdatedJul 18, 2023
  • 1 minute read

Sets a value for the specified input of the specified instance.

Syntax

FuzzySetCodeValue(hFuzzy, iIOIndex, iCodeValue)

hFuzzy:

The fuzzy instance handle (and integer greater than 0).

iIOIndex:

Specifies the variable to receive the value. The I/O-Indices start with 0 and increment by 1 for each variable. To find the correct index for a specific variable, the variables need to be sorted in alpha-numerical order, first the inputs and then the outputs.

iCodeValue:

The value to be copied to the variable specified by iIOIndex.

Return Value

0 (zero) if successful, otherwise an error is returned.

FuzzyOpen, FuzzyGetCodeValue

Example

See FuzzyOpen.

See Also

Fuzzy Logic Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in