MeasuredValueScaled_create

Function MeasuredValueScaled_create 

Source
pub unsafe extern "C" fn MeasuredValueScaled_create(
    self_: MeasuredValueScaled,
    ioa: c_int,
    value: c_int,
    quality: QualityDescriptor,
) -> MeasuredValueScaled
Expand description

Create a new instance of MeasuredValueScaled information object

§Arguments

  • self - Reference to an existing instance to reuse, if NULL a new instance will we dynamically allocated
  • ioa - Information object address
  • value - scaled value (range -32768 - 32767)
  • quality - quality descriptor (according to IEC 60870-5-101:2003 7.2.6.3)

§Returns

Reference to the new instance