ParameterNormalizedValue_create

Function ParameterNormalizedValue_create 

Source
pub unsafe extern "C" fn ParameterNormalizedValue_create(
    self_: ParameterNormalizedValue,
    ioa: c_int,
    value: f32,
    qpm: QualifierOfParameterMV,
) -> ParameterNormalizedValue
Expand description

Create a parameter measured values, normalized (P_ME_NA_1) information object

NOTE: Can only be used in control direction (with COT=ACTIVATION) or in monitoring direction as a response of an interrogation request (with COT=INTERROGATED_BY…).

Possible values of qpm: 0 = not used 1 = threshold value 2 = smoothing factor (filter time constant) 3 = low limit for transmission of measured values 4 = high limit for transmission of measured values 5..31 = reserved for standard definitions of CS101 (compatible range) 32..63 = reserved for special use (private range)

§Arguments

  • self (direction in) - existing instance to reuse or NULL to create a new instance
  • ioa (direction in) - information object address
  • value (direction in) - the normalized value (-1 .. 1)
  • qpm (direction in) - qualifier of measured values (QualifierOfParameterMV)

§Returns

the initialized instance