Applies To:
  • CitectSCADA 5.xx

Summary:
I have used the COPY parameter on my Display Client where I have made changes to an Included project. When I run my Project I can see the files copied from the Master project. I have used DspInfoField() in my project to extract Tag comment fields. Each time this is run, however, the variables file is copied to the display client. What is the problem?

Here are my Citect.ini file parameters:

    [CTEDIT]
    COPY=C:\ctinclude
    RUN=S:\CITECT\USER\ctmain


Solution:
The first problem is where the RUN path is a subfolder of the actual installation of Citect. This is a problem because Citect makes an image of the include projects, and because Citect already has the include project it may corrupt the Citect include files. So if Citect is installed in C:\Citect the RUN path on the Network PC should not be in subfolders of C:\Citect\Users.

The second problem occurs when the folder name specified in the RUN path is the same as the folder/project name in the COPY path.

Server PC Citect.ini

...

    [CTEDIT]
    RUN=C:\Citect\User\ProjectA

Network PC Citect.ini

...

    [CTEDIT]
    COPY=
\\Server\C\Citect\User\ProjectA
    RUN=C:\Project\ProjectA

To fix this you can change the Network PC Citect.ini to

...

    [CTEDIT]
    COPY=
\\Server\C\Citect\User\ProjectA
    RUN=C:\Project\OtherName

You should always specify a UNC path for the [CtEdit]Copy parameter, as specifying a mapped drive may have unexpected results.

 

Keywords:
 

Attachments