Applies To:
  • CitectSCADA 1.xx, 2.xx, 3.xx, 4.xx, 5.xx, 6.xx
  • CitectHMI 1.xx, 2.xx, 3.xx, 4.xx, 5.xx, 6.xx

Summary:
ActiveX Controls that are created using CreateObject (controls that have no user interface) do not respond to events when ObjectAssociateEvents() is called, and will not update tags when tag/property association is set using ObjectAssociatePropertyWithTag().
 

Solution:
Citect has confirmed this to be a problem in CitectHMI/SCADA version 5.10 to 6.10. We are researching this problem and will post new information here as it becomes available.

A possible workaround is to create a small page which contains the graphical component of the ActiveX object (either by pasting it in the Graphics Builder or using the CreateObjectControl() cicode function) and displaying it in a separate window using the WinNew() or WinNewAt() functions. This way, as long as you don’t close the new window, the graphical component will be present the entire time and will be independent of the page you are viewing in the main CitectSCADA window.

 

Keywords:
CreateObject, ObjectAssociateEvents, ObjectAssociatePropertyWithTag, CreateObjectControl 
 

Attachments