Applies To:
  • CitectSCADA 6.XX
  • CitectHMI 6.XX

Summary:
I have written a custom ActiveX with an event name of "ThisIsAReallyLongEventName" and my Cicode that should be triggered by the event, is not running.

I am sure that the event is being triggered correctly.

FUNCTION page1_AN202_ReadThisIsAReallyLongEventName(OBJECT hThis,STRING sPort1)

END

 

Solution:
This problem is being caused by the Event Name being too long. The total event name, including PageName, Animation Number, and EventName is being concatenated to 33 Characters in length.

It the above example, without changing the name of the event, the following Cicode should be triggered by the "ThisIsAReallyLongEventName"

FUNCTION page1_AN202_ReadThisIsAReallyLong(OBJECT hThis,STRING sPort1)

END

 

Keywords:
ActiveX trigger event  

Attachments