Issues and Error Handling When Starting a SCADA Project

Forum Home Forums Uncategorized Issues Issues and Error Handling When Starting a SCADA Project

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #13667
    Niko
    Participant

    Hello Mikhail,

    I am encountering some issues while initiating a SCADA project and would appreciate any assistance. Here are the specific problems I’ve run into:

    Initial Project Launch: When starting the project for the first time, I noticed missing files such as ‘lang’ and ‘Mod’. To address this, I copied these files from the path where scada v6 was installed into the source code path. I’m not sure if this was the correct approach, but it allowed the project to start.

    Launching Components: I was able to launch scadaAdmin, scadaServer, scadaAgentApp, and scadaComm. However, when starting scadaComm, the console displayed the following messages:

    “Starting Communicator…”
    “Communicator is started successfully”
    “Press ‘x’ or create ‘commstop’ file to stop Communicator”
    After a few seconds, an error occurred at the line commLine.Channel.MakeReady(); with a System.NullReferenceException: “Object reference not set to an instance of an object.” Interestingly, this error did not appear in the console.

    Configuration Upload Issue: When I attempted to upload the configuration in admin, I encountered an error stating, “Error uploading configuration: InternalServerError: Error while processing the operation.”

    I am seeking advice on how to resolve these issues. Any insights or suggestions would be greatly appreciated.

    #13668
    Niko
    Participant

    Additionally, I have another question. If I follow the standard procedure for launching the application, what should I do to complete the missing ‘mod’, ‘lang’, and other XML configuration files after downloading the source code?

    #13674
    Mikhail
    Moderator

    Hello,
    Please provide more info how do you launch a project? Screenshots can help.

    #13677
    Niko
    Participant

    1.I Build the solutions using Visual Studio in the sequence below.
    ScadaCommon,
    ScadaAgent,
    ScadaComm,
    ScadaServer,
    ScadaWeb,
    ScadaAdmin,
    ScadaReport,
    OpenDrivers,
    OpenDrivers2,
    OpenModules,
    OpenPlugins,
    OpenExtensions.
    then I start the ScadaComm with Debug .Debug ScadaCommDebug ScadaComm2

    #13678
    Niko
    Participant

    Debug ScadaComm

    #13679
    Niko
    Participant

    I made an error with the admin configuration file, but I don’t know why. Can you provide some ideas?
    https://sm.ms/image/aWEMyYhdItSDj3B

    • This reply was modified 1 week ago by Niko.
    • This reply was modified 1 week ago by Niko.
    • This reply was modified 1 week ago by Niko.
    • This reply was modified 1 week ago by Mikhail.
    #13689
    Mikhail
    Moderator

    After building the applications you need to copy the output files in the Rapid SCADA installation folder. See the file structure in the distributive package.
    To debug applications from VS, use Debug – Attach to Process menu.

    #13690
    Mikhail
    Moderator

    To run Rapid SCADA *dll, *.xml and other files should be in proper locations.

    #13697
    Niko
    Participant

    I’m very sorry for bothering you.
    I want to try writing a driver module. After successfully generating it, I placed the .dll files in their respective locations. However, I am unable to use them in the admin. Below are screenshots of my code and my attempt to use it in the admin.
    DevUdpLogic
    DrvUdpLogic
    DevUdpView
    DevUdpView
    TagGenerator
    MainOption
    Device polling open properties

    #13703
    Mikhail
    Moderator

    Full class name of DrvUdpView must be as written in the error message. You should change the namespace to meet the requirements.

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