Matt3

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: JavaScript API example custom page #10269
    Matt3
    Participant

    Hi Mikhil

    Is there an equivalent function of getCurCnlDataExt() in version 6?

    Kind regards
    Matt

    in reply to: SQL Export #10251
    Matt3
    Participant

    Dear Mikhail

    A 2nd export target fixed the issue. Thank you.

    Kind regards
    Matt

    in reply to: Rapid SCADA 6 Beta #10111
    Matt3
    Participant

    Hi Mikhail

    I’ve been trying beta 6 and so far so good.
    However, I found a small issue with changing the SCH file path.
    In ScadaAdmin.exe, Tools/Options/File Association/, I can not change the current file path. It is set to “C:\RapidSCADA_Beat_6\Windows\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe”.

    Thanks
    Matt

    in reply to: Rapid SCADA 6 Beta #10077
    Matt3
    Participant

    Hi Mikhail

    Thanks for releasing the beta Version 6. It’s looking great.
    With version 5, we added a lot of pages to the “C:\SCADA\ScadaWeb\custom” folder.
    We used aspx webforms.
    In the release doc for version 6, you mention for the “Webstation” that the “app has been completely redesigned using Razor Pages technology”.
    What technology do you suggest we use to create custom pages in version 6?

    Kind regards
    Matt

    in reply to: 2 or more instances of Rapid SCADA on the same server #9161
    Matt3
    Participant

    Hi Mikhail

    I’ve been working on this issue today and I have some feedback for you.

    I removed Rapid Scada from the server.

    I then used your install file to install a new version (5.8.3).

    I changed the install folder to SCADA2

    I changed the web link from Scada to Scada2

    Once installed, I tested and it worked.

    I then used the sc.exe program to remove the 3 scada services

    sc delete ScadaServerService
    sc delete ScadaCommService
    sc delete ScadaAgentService

    I then installed the 3 services again but this time with an extension of 2

    sc create ScadaServerService2 binPath= “C:\SCADA2\ScadaServer\ScadaServerSvc.exe –service” DisplayName= “ScadaServerService2”

    sc create ScadaCommService2 binPath= “C:\SCADA2\ScadaComm\ScadaCommSvc.exe –service” DisplayName= “ScadaCommService2”

    sc create ScadaAgentService2 binPath= “C:\Customer1\ScadaAgent\ScadaAgentSvc.exe –service” DisplayName= “ScadaAgentService2″

    In the svc_config.xml, in each service folder, I added the following…

    <?xml version=”1.0″ encoding=”utf-8″?>
    <ServiceConfig>
    <ServiceName>ScadaServerService2</ServiceName>
    <Description></Description>
    </ServiceConfig>

    <?xml version=”1.0″ encoding=”utf-8″?>
    <ServiceConfig>
    <ServiceName>ScadaCommService2</ServiceName>
    <Description></Description>
    </ServiceConfig>

    <?xml version=”1.0″ encoding=”utf-8”?>
    <ServiceConfig>
    <ServiceName>ScadaAgentService2</ServiceName>
    <Description></Description>
    </ServiceConfig>

    I started each service from the service control panel. They started.

    I managed to login via localhost/scada2

    Next, I run ScadaAdmin.exe
    I loaded the HelloWorld project
    I click the Upload Configuration button
    In the profile section, I updated the Web station URL to http://localhost/scada2
    In Server / Common Parameters, I update the folders to point to Scada2… C:\SCADA2\BaseDAT\ … etc..

    I click the Upload Configuration button and then click the Upload button

    I get the error…
    Error uploading configuration.
    Unable to login – invalid username or password.

    Also,
    when I select Deploy / Deployment Profile and click the Test button, I get the same error message “Unable to login – invalid username or password.”

    when I select Deploy / Instance Status, for status server and communicator I get…
    “Unable to login – Error validating user” and “Unable to create session” for both.

    Any ideas?

    Thanks for all you support Mikhail

    Kind regards
    Matt

    in reply to: 2 or more instances of Rapid SCADA on the same server #9151
    Matt3
    Participant

    Hi, No. I just see ScadaServerService

    Kind regards
    Matt

    in reply to: 2 or more instances of Rapid SCADA on the same server #9137
    Matt3
    Participant

    Hi Mikhail

    Thanks for your feedback again.
    I’ve copied the SCADA files to C:\Customer1\<folders>

    I downloaded the 2 xml files and changed the ServiceName to “ScadaServerService-Cus1”

    svc_config.xml
    <?xml version=”1.0″ encoding=”utf-8″?>
    <ServiceConfig>
    <ServiceName>ScadaServerService-Cus1</ServiceName>
    <Description></Description>
    </ServiceConfig>

    In svc_install.bat, I added

    cd /d “%~dp0″
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /servicename=”ScadaServerService-Cus1” ScadaServerSvc.exe
    Pause

    The install log file is
    Installing assembly ‘C:\Customer1\ScadaServer\ScadaServerSvc.exe’.
    Affected parameters are:
    logtoconsole =
    logfile = C:\Customer1\ScadaServer\ScadaServerSvc.InstallLog
    assemblypath = C:\Customer1\ScadaServer\ScadaServerSvc.exe
    servicename = ScadaServerService-Cus1
    Installing service ScadaServerService…
    Service ScadaServerService has been successfully installed.
    Creating EventLog source ScadaServerService in log Application…
    Committing assembly ‘C:\Customer1\ScadaServer\ScadaServerSvc.exe’.
    Affected parameters are:
    logtoconsole =
    logfile = C:\Customer1\ScadaServer\ScadaServerSvc.InstallLog
    assemblypath = C:\Customer1\ScadaServer\ScadaServerSvc.exe
    servicename = ScadaServerService-Cus1

    However, when I run the “Task Manager” and look at the service installed, it says ScadaServerService and not ScadaServerSerice-Cus1?

    Kind regards
    Matt

    in reply to: 2 or more instances of Rapid SCADA on the same server #9125
    Matt3
    Participant

    Hi Mikhail

    Thank you for your feedback.
    I can follow all parts except for the last 2 lines of your feedback.

    “(1) create svc_config.xml for each service (example), and
    (2) update svc_*.bat files to have different services for different instances.”

    With regards to item (1), I can see the file in github but I can’t find it in the 5.8.3 download. What is it used for and how do I use it? Is this file only needed in the ScadaServer folder?

    An example of how to use the above files for the installation of 2 different instances would be great.

    Kind regards
    Matt

    in reply to: Views #8861
    Matt3
    Participant

    Hi Mikhail

    Please see the links below…

    https://ibb.co/dKK957j
    https://ibb.co/m9Y2JQV

    Thank you
    Matt

    in reply to: Views #8852
    Matt3
    Participant

    Hi Mikhail

    Sorry, I still can’t get it to work. In the administrator program, I’m putting “Overview of all sites” at the top, but when I upload the configuration and view it in a browser, “Overview of all sites” is shown at the bottom of the tree. How do I configure it so that it shows at the top of the tree when browsing?

    Admin (Fig1)
    =====
    “ID” 2Path” “Title”
    1 “NewFile.sch” “\Overview of all sites”
    2 “SiteA\NewFile.sch” “Option1”
    3 “SiteA\NewFile.sch” “Option2”
    4 “SiteB\NewFile.sch” “Option1”
    5 “SiteB\NewFile.sch” “Option2”

    Browser (Fig2)
    =======
    SiteA
    — Option1
    — Option2
    SiteB
    — Option1
    — Option2
    Overview of all sites

    Kind regards
    Matt

    in reply to: Export to SQLite #8370
    Matt3
    Participant

    Ok, thanks. We can install SQL Server on the machine so we will go with this option.

    Also, I would like to save the current data to the database at, say 1 or x minute intervals in the format

    <index> <datetime> <channel 101> <channel 102>…. <channel n>
    <index> <datetime> <channel 101> <channel 102>…. <channel n>
    <index> <datetime> <channel 101> <channel 102>…. <channel n>
    <index> <datetime> <channel 101> <channel 102>…. <channel n>


    What is the best way to do this?

    Thanks
    Matt

    in reply to: Rapid SCADA tite text #8292
    Matt3
    Participant

    Hi Mikhail

    I’ve downloaded the new version 5.8.2 and noticed a change on the page C:\SCADA\ScadaWeb\plugins\Table\js\table.js
    (document.title = viewTitle + ” – ” + viewHub.getEnv().productName;)

    How do you recommend changing the name “Rapid SCADA” to “SCADA” on all pages that users can see?

    Thanks
    Matt

    in reply to: Rapid SCADA tite text #7008
    Matt3
    Participant

    Thanks Mikhail.
    I did try that, replacing all Rapid SCADA to SCADA.
    I’m using the HelloWorld example.
    From the left view menu, when I click on, say Simulator, in the browser tab for a few seconds I see View – SCADA (was View – Rapid SCADA). It’s then replaced by “Simulator – Rapid SCADA”.

    Thanks
    Matt

    in reply to: Using Custom Webpage in Scada Webbeta 5.0 #6810
    Matt3
    Participant

    Hi

    I was missing
    using Scada.Data.Tables;

    All working now.

    Thanks
    Matt

    in reply to: Using Custom Webpage in Scada Webbeta 5.0 #6807
    Matt3
    Participant

    Hi

    I’ve managed to get an aspx page with basic controls on it to work from within Rapid SCADA. However, I’m not able to get the code blocks in the link https://rapidscada.org/integration-with-rapid-scada/ to work on my page.

    Do you have sample pages showing the use of each method?

    Thank you
    Matt

Viewing 15 posts - 1 through 15 (of 18 total)