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
    Avataryuemiao
    Participant

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

    #7554
    Avataryuemiao
    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
    MikhailMikhail
    Moderator

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

    #7561
    MikhailMikhail
    Moderator

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

    #7562
    Avataryuemiao
    Participant

    In KPLogic,How to use the directory of the project

    #7565
    MikhailMikhail
    Moderator

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

    #7569
    Avataryuemiao
    Participant

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

    #7574
    MikhailMikhail
    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
    MikhailMikhail
    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.