Applies To:
  • CitectSCADA 5.00

I am using ctTagRead/ctTagWrite to read and write to tags in Citect. The functions work fine with normal tags and when I read from an array using ctTagRead it works fine. However when I try to write to any other array element other than zero using ctTagWrite it always write to element zero. 

There is a problem with ctTagWrite whereby if you write to an array element other than zero it will actually write the value to element zero meaning you cannot write to any other elements.

CIT has confirmed this to be a problem in Citect for Windows versions 5.00. This problem has been fixed in version 5.00 Service Pack D. The problem is on the Citect side of CtAPI so any programs using CtAPI do not need to be recompiled.