Buid Rapid SCADA 6 on Visual Studio Code

Forum Home Forums Development and Integration Buid Rapid SCADA 6 on Visual Studio Code

Viewing 15 posts - 16 through 30 (of 45 total)
  • Author
    Posts
  • #11265
    kumajaya
    Participant
    #11266
    Mikhail
    Moderator

    I’ve used the method provided by Alexander of Macedon and deleted .NET4.8 services.

    #11267
    kumajaya
    Participant

    A great way out. I love it 😀

    #11273
    Mikhail
    Moderator

    Trying to run ScadaAdmin with Wine, faced the error https://ibb.co/LQNcD2B when execute WINEDEBUG=+loaddll wine ScadaAdmin.exe

    Wine installed successfully. ScadaAdmin published also without any error.
    I use the current source code from https://github.com/RapidScada/scada-v6
    Do you have any idea what should be checked and fixed?

    #11274
    Mikhail
    Moderator

    Which Ubuntu and Wine version do you use?

    #11275
    kumajaya
    Participant

    Using Ubuntu 20.04 and Wine staging here.

    #11276
    Mikhail
    Moderator

    I use also Ubuntu 20.04 and wine 7.18.
    To check the version use wine --version
    Simple WinForms app works correctly. But ScadaAdmin does not. Did you update solution or other ScadaAdmin files before publish?

    #11277
    Mikhail
    Moderator

    After adding ScadaInstanceConfig.xml to the proper location, got another error https://ibb.co/6F077VL
    ScadaAdmin.log doesn’t contain any error.

    #11278
    kumajaya
    Participant

    wine –version output:

    wine-7.18 (Staging)

    No special modification here, our current source should be run on Wine.

    #11279
    Mikhail
    Moderator

    Changing winehq-devel to winehq-staging works.

    #11280
    kumajaya
    Participant

    I have a Windows application that only works on Wine staging, that’s why staging version installed on my computer.

    #11298
    kumajaya
    Participant

    Hi @Mikhail To make device log more readable, you can install consolas font via winetricks using “winetricks consolas” command.

    #11305
    Mikhail
    Moderator

    Thank you for the info.

    #11355
    zzz
    Participant

    Hi, thanks for the guide. I downloaded the source from mik’s rapidscadav6 repository on github yesterday.

    I saw the EnableWindowsTargeting has already been set to true. Thus I just skipped most of editing steps, including referencing Microsoft.NETFramework.ReferenceAssemblies in ScadaCommon.Svc.csproj (since this file doesn’t seem to exist in my downloaded version)

    Jump to the compilation step. The process worked most of the time, except for ScadaAdmin which complained about some host can only run on windows etc.

    Just now I find that the MQTT related plugin UI are not working ScadaAdmin (other modules’ views work just fine). I am not sure if this is related.
    Comparing the dlls from project I compiled and released beta v6 package on this forum. I find missing files from my builds including

    
    DrvCnlBasic.Common.dll
    DrvDsScadaServer.Common.dll
    ModArcBasic.Common.dll
    ModArcPostgreSql.Common.dll
    

    The above items’s GUI in ScadaAdmin seems to work ok. Did I do anything wrong ?
    Any idea why none of my built mqtt related modules’s GUI work?

    Message in text: messagebox:{title: Error, message:Unhandled Exception}

    #11367
    Mikhail
    Moderator

    Hi,

    Just now I find that the MQTT related plugin UI are not working ScadaAdmin

    The problem occurs on Windows also or only on Linux?

Viewing 15 posts - 16 through 30 (of 45 total)
  • You must be logged in to reply to this topic.