ParameterScaledValue_create

Function ParameterScaledValue_create 

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

Create a parameter measured values, scaled (P_ME_NB_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 scaled value (–32.768 .. 32.767)
  • qpm (direction in) - qualifier of measured values (QualifierOfParameterMV)

§Returns

the initialized instance