Applies To:
  • CitectSCADA 5.40, 5.41
  • CitectHMI 5.40, 5.41

Summary:
I have several ActiveX controls that I wish to interface with. To do this, I must assign various properties and/or methods to each of the controls using Dot Selection Operators. For example:

Page_ANxx.property = sMyFont

or

Page_ANxx.method(arguments...)

I have built several functions and/or sub-routines containing Dot Selection Operators within a CiVBA *.BAS file. The first function defined does NOT contain any Dot Selection Operators. Upon running my project, I can no longer run the first function, which executed properly before. I am also unable to debug this function. When going to PAGE TABLE CICODE in the Citect Kernel, I have verified that this task had not even started. Only after commenting out all instances of Dot Selection Operators contained within the surrounding functions, was I able to once again execute the first function.

 

Solution:
Citect has confirmed this to be a problem in Citect v5.40r0 and v5.41r0. This has been resolved in CitectHMI/SCADA version 5.42r0.  

Keywords:
 

Attachments