DX NetOps

 View Only
  • 1.  Event Procedure Issue

    Posted Aug 22, 2014 04:00 PM

    Hi Friends,

     

    We are trying to Pass three variables via Event Procedure but getting an issue.

     

    Alarm Title Coming : Alarm:<103> Job:<104>101

     

    The string Text is not coming after <104> 

     

    0xfff0000b P " \

    CreateEventWithVariables( \

    { C CURRENT_MODEL }, \

    { H 0xfff0000c }, \

    SetEventVariable( \

    GetEventVariableList(), \

    { H 0x00012b4c }, \

    Append(\

    {S\"Alarm:\"}, \

    Append(\

    Append(\

    Append(\

    Append(\

    { S \"\" }, \

    GetEventVariable ( { U 103 })), \

    {S \" Job: \" }), \

    GetEventVariable({U 104}), \

    {S \"Text: \" }), \

    GetEventVariable({U 101})))))"

     

    Please help me out



  • 2.  Re: Event Procedure Issue

    Posted Dec 01, 2014 06:22 AM

    Hello Sohal,

    did you solve this issue? I'm solving similar problem.

    Tomas



  • 3.  Re: Event Procedure Issue
    Best Answer

    Posted Dec 02, 2014 11:48 AM

    Guys,

     

    Can we try this procedure

     

    0xfff00000 E 0 P "CreateEventWithVariables({ C CURRENT_MODEL },{ H 0xfff00001 },SetEventVariable (GetEventVariableList(),{ H 0x00012b4c },Append({ S \"Alarm: \" },Append(Append({ S \"\" },GetEventVariable ( { U 103 } )),Append({ S \" Job: \" },Append (Append ({ S \"\" },GetEventVariable ( { U 104 })),Append ({ S \" Event: \" },GetEventVariable ( { U 101 } ))))))))"

     

    In the above example, the resulting Alarm Title is:

     

    Alarm: <Value of varbind 103> Job: <Value of varbing 104> Event: <Value of varbind 101>

     

    Regards

    Kalyan



  • 4.  Re: Event Procedure Issue

    Posted Apr 13, 2015 01:37 PM

    Thanks Kalyan!

     

    That Event Procedure works perfectly!!