AN , Alarm Number , ALMCB Alarm record

Hello everyone ,

I am trying to use the AlarmGetDsp and one of its input its AN , but i just dont know what that is or where to find it , i think it is Alam number but i am not sure , and i the help guide i find this definition but i think it doesnt provide enough information about shere to find the AN of my alarm 

here is the def in the help guide : 

AN number of an ALMCB Alarm record. Equal to AN where actual ALMCB resides + Offset into the list of ALMCB records.

THANK YOU ALL 

Parents
  • AN stands for Animation Number. It is a unique numeric identifier for graphic objects on a page.

    AlarmGetDsp() is intended for use on graphics pages that contain one or more alarm lists.
    Alarm lists normally consist of a series of AN (or cicode) objects aligned vertically on a page. The numbering should be sequential.

    If you want to use alarm properties in cicode scripts (not on graphics pages) then take a look at:
    - AlmBrowseGetField() for use while browsing through alarm recordsets.
    - AlarmGetFieldRec() when you know the alarm record number (from the alarm event queue for example).

    Hope this helps.

  • Hello Patrick thank you for your answer , it really clarifies a lot of things , 

    other than that , i was trying to use the AlarmGetDsp to get some specified fields in the alarm SOE , and then insert them onto an excel , but you said that this function is only for use on graphics pages that contains one or more alarm lists 

    you suggested using AlmBrowseGetField() and i believe in order to use this function i must know the handle to a browse session that i should retrieve from the function AlmBrowseOpen , so it is as if i am creating a new alarm browsing session ? 

    Thank you 

Reply
  • Hello Patrick thank you for your answer , it really clarifies a lot of things , 

    other than that , i was trying to use the AlarmGetDsp to get some specified fields in the alarm SOE , and then insert them onto an excel , but you said that this function is only for use on graphics pages that contains one or more alarm lists 

    you suggested using AlmBrowseGetField() and i believe in order to use this function i must know the handle to a browse session that i should retrieve from the function AlmBrowseOpen , so it is as if i am creating a new alarm browsing session ? 

    Thank you 

Children