Applies To:
  • CitectSCADA 5.40, 5.40 Service Pack A, 5.40 Service Pack B

Summary:
VBCallOpen interprets all parameters to the function to be executed, as the first parameter passed in. 

Solution:
CIT has confirmed this to be a problem in Citect for Windows versions 540r0 to 540spkb. This problem has been fixed in version 5.41

In version 5.41 you can call VbCallOpen with multiple parameters simply by comma separating the parameters.

For example, calling a function called MyVBFunc with four string parameters you would use the following syntax:

i=VbCallReturn(VbCallRun(VbCallOpen("MyVBFunc", sString1, sString2, sString3, sString4)));

 

Keywords:
 

Attachments