Is KPView’s AppDirs.ConfigDir different from that of KPLogic

Forum Home Forums Runtime Bugs Communicator Bugs Is KPView’s AppDirs.ConfigDir different from that of KPLogic

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7553
    yuemiao
    Participant

    Is KPView’s AppDirs.ConfigDir different from that of KPLogic?

    #7554
    yuemiao
    Participant

    I find that KPView’s AppDirs.ConfigDir is “C:\SCADA\Projects\HelloWorld\Instances\Default\ScadaComm\Config”
    but KPLogic’s AppDirs.ConfigDir is “C:\SCADA\ScadaComm\Config”

    #7560
    Mikhail
    Moderator

    You right.
    KPView uses the directory of the project to save settings there.
    KPLogic uses the runtime Rapid SCADA directory.

    #7561
    Mikhail
    Moderator

    When you upload the project, the content of the project directory is copied to the runtime directory.

    #7562
    yuemiao
    Participant

    In KPLogic,How to use the directory of the project

    #7565
    Mikhail
    Moderator

    KPLogic does not know about the project. Why do you need it?

    #7569
    yuemiao
    Participant

    In my Kplogic’s SendCmd also needs to change the config.

    #7574
    Mikhail
    Moderator

    The project should not be changed by runtime. If you need something like that, you should write changes to
    C:\SCADA\ScadaComm\Storage
    C:\SCADA\ScadaServer\Storage
    or to a 3rd party database and then use your data.

    #7575
    Mikhail
    Moderator

    Also KpLogic can provide a service like WCF or gRPC that is available from the KPView (from the project).

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.