New PascalSCADA Snapshot

Hi!

I’m glad to announce the new snapshot of PascalSCADA, released today.

This new version contains the bug fixes of the last year and new features, of which SVG-based controls stand out. Yes, vector controls, based on files generated by Inkscape, due to support added to vectors by the BGRABitmap library. It has some bugs (mainly drawing paths, such as lines and polygons), but it is a resource with a promising future. Soon as possible, I’ll write a small guide teaching how use this new feature.

You can download the new snapshot here. To install, just follow the instructions listed here.

13 thoughts on “New PascalSCADA Snapshot

  1. Husin Alkatiri Reply

    Hello,

    i already download latest PascalScada snapshot (pascalscada_0.7.3_20160726.tar.bz2).
    i try to build it on Delphi 2010 and it’s failed.
    some error found.

    – collections in ‘src\common\collections.pas’, collecions.pas is missing)

    – in Tag.pas
    {$IFNDEF CONSOLEPASCALSCADA}
    Application.RemoveAsyncCalls(Self);
    {$ENDIF}
    getting result
    [DCC Error] tag.pas(970): E2003 Undeclared identifier: ‘Application’

    – in Tag.pas
    function TTag.IndexOf(List: TTagNotificationList; aHandler: TNotifyEvent
    ): Integer;
    var
    c: Integer;
    begin
    if aHandlernil then
    for c:=0 to High(List) do begin
    if (TMethod(List[c]).Code=TMethod(aHandler).Code) and (TMethod(List[c]).Data=TMethod(aHandler).Data) then begin
    Result:=c;
    exit;
    end;
    end;
    Result:=-1;
    end;
    getting result
    [DCC Error] tag.pas(978): E2035 Not enough actual parameters

    – TFormatDateTimeOptions
    [DCC Error] protocoltypes.pas(262): E2003 Undeclared identifier: ‘TFormatDateTimeOptions’

    – TTagList = specialize TFPGList;
    [DCC Error] protocoldriver.pas(30): E2003 Undeclared identifier: ‘specialize’
    [DCC Error] protocoldriver.pas(30): E1030 Invalid compiler directive: ‘TFPGList’

    maybe more error will found

    just courious how to build it in Delphi 2010 … can you help me ? because i very very love this pascal scada.

    Thanks
    Regards.

    • Fabio Luis Girardi Post authorReply

      Hi Mr Alkatiri

      Delphi support on latest PascalSCADA versions are missing, because I don’t have much time to test it on Delphi and because Lazarus is my default IDE on last years.

      Patches are another point: Delphi users don’t send patches of their changes. Feedback of Delphi users is very poor.

      The last point is that the last PascalSCADA versions uses more and more features of Lazarus and freepascal, becoming hard to make it functional on Delphi. Examples of this are the fgl unit (generics) and BGRABitmap.

      But, if want make some patches to get PascalSCADA working on Delphi, please contact me.

      (Sorry by the reply in parts, I losed my reply text 3 times this this morning)

      • David Reply

        Hi Fabio,

        I’d like to make PascalSCADA usable for Delphi Tokyo… but as Husin pointed out, collections.pas file is missing. It’s not even in the tar.bz2…

        It’s disappointing, because it look pretty cool and I wanted to give it a try, I’m actually using Kassl dOPC Client Toolkit for Delphi, but there aren’t demos like yours.

        Thank you.

        • Fabio Luis Girardi Post authorReply

          Hi David!

          Will be harder to port PascalSCADA in the current state to make it work again with Delphi, since I used many features that only exists in FreePascal. An example is the keyword “specialize” used together with generics, that I don’t know if it exists in Delphi, and I use it a lot.

          About unit collections.pas, I suspect that it’s (again) a unit of Lazarus/Freepascal, or in the previous versions of PascalSCADA it’s a copy of Lazarus/Freepascal collections.pas unit.

          If you want, I can help you with errors that happens while you are porting it to Delphi. If you will do that, I recommend starts by pascalscada.lpk and pascalscada_common.lpk, since pascalscada_hmi have some dependencies (BGRABitmap and BGRAControls that aren’t created and maintained by me).

  2. Rudi Reply

    Hi Fabio, Would you test in Delphi XE again for pascalscada, and update again for the scada component.

    Because much my last project with pascalscada with delphi 7 and now I will upgrade in delphi XE.

    Thanks.

  3. Fabio Luis Girardi Post authorReply

    Hi @Rudi!

    The last version of PascalSCADA will not work on Delphi because of the heavy dependency of BGRABitmap and FreePascal Generics. Even if I cut off some features will not make it works on Delphi XE.

  4. Rudi Santoso Reply

    Yes Fabio thanks.
    Maybe you can create different version for delphi and FreePascal. we just need Pascal Protocol, PascalPort, PascalTags, Pascal HCI and Zeos Connection. That is very usefull.

    And maybe you can add again Pascal HMI for HMI button.

  5. Francesco Reply

    Hello
    I tried to compile the latest version of Pascal scada on Lazarus 1.8.0 (from your DEB) with Linux operating system.
    I receive this error and I can not solve:
    bgratext.pas(361,30) Error: Identifier not found “lpNoGUI”
    How can I solve?
    Thank you

  6. Roberto Della Pasqua Reply

    Hello Fabio,

    thanks for pascalscada,

    however I have troubles using latest stable fpc+lazarus (3.04, 18.2):
    – using forms with components works fine
    – using a console app, with components dropped into a tdatamodule, they don’t works
    I’m using directly the methods .READ and .WRITEDIRECT, setting the mem address, size, and data type at runtime
    Can you suggest me a solution?
    Best regards

Leave a Reply

Your email address will not be published. Required fields are marked *