#90 Payload: Simple Metrics with Properties and MetaData

accepted
Payload (2)
2021-05-15
2020-11-16
i-campbell
No

Allow properties (can be anything. eg EngineeringHigh, EngineeringLow)
Allow the predefined metadata

Discussion

  • i-campbell

    i-campbell - 2020-11-17
    • summary: Paylaod: Simple Metrics with Properties and MetaData --> Payload: Simple Metrics with Properties and MetaData
     
  • h-hermsen

    h-hermsen - 2021-01-03

    Should we just build in these properties in the analog metrics only? If so what is the exact list of these properties? I can think of a few though:
    Unit (engineering unit), max Range, min range.

     
  • h-hermsen

    h-hermsen - 2021-02-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,5 @@
     Allow properties (can be anything. eg EngineeringHigh, EngineeringLow)
     Allow the predefined metadata
    +
    +
    +
    
     
  • h-hermsen

    h-hermsen - 2021-02-18

    I will create a AnalogueValueMetricType which is a struct of Sparkplug SimpleTypes.
    The metric will posses;

    • [ ] Engineering Units (WSTRING)
    • [ ] An analogue value (REAL)
    • [ ] Unit Max Range (Real)
    • [ ] Unit Min Range (Real)
    • [ ] Deadband (Real): if the scaled value changes outside the deadband boundary, the value will be sent in the next transmission slot. This deadband is used internally and sent as a metric so it can be adjusted remotely.

    The only issue is: how are we going to send it? We must drop the array's and switch to lists if we wish to use these kind of compositions.

     

    Last edit: h-hermsen 2021-02-18
  • h-hermsen

    h-hermsen - 2021-05-15
    • status: open --> accepted
    • assigned_to: h-hermsen
     

Log in to post a comment.