Menu

#9 MDEL and ADEL as float in policy

v1.0_(example)
closed
None
5
2014-12-17
2014-12-15
No

I see that the policy callback is receiving a dictionary like:

{u'ADEL': u'0.003', u'aliasName': u'LN-RF{KLY:2}Pwr:Fwd-I', u'RTYP': u'ai', u'elementCount': 1, u'eventRate': 0.9833333333333333, u'MDEL': u'0.001', u'policyName': u'fast', u'SCAN': u'9.0', u'pvName': u'LN-RF{KLY:2}Pwr:Fwd-I', u'storageRate': 19.5, u'dbrtype': u'DBR_SCALAR_DOUBLE'}

Which includes MDEL and ADEL as strings. It would be more useful if these were floats. Also, SCAN (whatever this is).

Discussion

  • Murali Shankar

    Murali Shankar - 2014-12-17
    • status: open --> closed
    • assigned_to: Murali Shankar
     
  • Murali Shankar

    Murali Shankar - 2014-12-17

    ADEL and MDEL now come in as floats. Also send the label for SCAN.

    {u'ADEL': 0.0, u'aliasName': u'mshankar:arch:cosine2:cnt', u'RTYP': u'calcout', u'elementCount': 1, u'eventRate': 1.0, u'MDEL': 0.0, u'SCAN': u'1 second', u'pvName': u'mshankar:arch:cosine2:cnt', u'storageRate': 20.083333333333332, u'dbrtype': u'DBR_SCALAR_DOUBLE'}

     

Log in to post a comment.

MongoDB Logo MongoDB