Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel

Invitation Sent

Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
  • Home
  • Collaborate
  • Exchange Community
  • :
  • SCADA & Telemetry Solutions
  • :
  • Geo SCADA Expert Forum
  • :
  • DDK Versions and processor types
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation How-to videos
    • Ask Exchange
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
  • Support
    • User Guide
    • Leaderboard
    • Releases Notes
How can we help?
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
49248members
Join Now
242460posts
Join Now

DDK Versions and processor types

Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Solved Go to Solution
Back to Geo SCADA Expert Forum
Solved
DavidSkilbeck
Lieutenant DavidSkilbeck
Lieutenant
‎2020-02-10 04:41 PM
0 Likes
10
1310
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 04:41 PM

DDK Versions and processor types

Hi,

where can I find information on DDK versions and processor type.

 

 

Thanks,

Solved! Go to Solution.

Labels
  • SCADA
Tags (5)
  • Tags:
  • architecture
  • DDK
  • platform
  • x64
  • x86
Share
Reply

Accepted Solutions
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-10 05:00 PM
0 Likes
8
1305
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 05:00 PM

Re: DDK Versions and processor types

DDK Versions

https://tprojects.schneider-electric.com/telemetry/display/public/CS/Driver+Development+Kit+%28DDK%2...

 

And processor type (Platform) is based on where you obtained the ControlMicrosystems.ClearSCADA.DDK.dll from.

If you got it from the x86 location(s) then it will be x86, if you got it from the x64 location (C:\Program Files\Schneider Electrical\ClearSCADA) on a x64 installation, then it will be x64.

 

I guess this is an area that the DDK documentation falls down a bit, it tells you to add a reference to the DLL, but doesn't mention anything about where the different platform DLLs are located, or how this needs to match with the class library platform.  In fact it has no mentions of either x86 / x64 at all.  I'll raise a ticket for this with Tech Support.

 

The DDK isn't the friendliest way to interface to ClearSCADA / Geo SCADA Expert.  I would personally recommend that you consider if you really need to use the DDK, or whether the .NET API would be enough for your porpoises.

If you start with the .NET API it will be a lot quicker to get real things happening.. if you then discover that there's a limitation on functionality (like you really need your own custom objects within the ClearSCADA database or something) then you can always migrate to the DDK later on.

 

 

In conclusion: avoid the DDK unless you really need the features the DDK provides above the .NET API.

If you don't know.  Then start with the .NET API.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
10 Replies 10
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-10 05:00 PM
0 Likes
8
1306
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 05:00 PM

Re: DDK Versions and processor types

DDK Versions

https://tprojects.schneider-electric.com/telemetry/display/public/CS/Driver+Development+Kit+%28DDK%2...

 

And processor type (Platform) is based on where you obtained the ControlMicrosystems.ClearSCADA.DDK.dll from.

If you got it from the x86 location(s) then it will be x86, if you got it from the x64 location (C:\Program Files\Schneider Electrical\ClearSCADA) on a x64 installation, then it will be x64.

 

I guess this is an area that the DDK documentation falls down a bit, it tells you to add a reference to the DLL, but doesn't mention anything about where the different platform DLLs are located, or how this needs to match with the class library platform.  In fact it has no mentions of either x86 / x64 at all.  I'll raise a ticket for this with Tech Support.

 

The DDK isn't the friendliest way to interface to ClearSCADA / Geo SCADA Expert.  I would personally recommend that you consider if you really need to use the DDK, or whether the .NET API would be enough for your porpoises.

If you start with the .NET API it will be a lot quicker to get real things happening.. if you then discover that there's a limitation on functionality (like you really need your own custom objects within the ClearSCADA database or something) then you can always migrate to the DDK later on.

 

 

In conclusion: avoid the DDK unless you really need the features the DDK provides above the .NET API.

If you don't know.  Then start with the .NET API.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Share
Reply
DavidSkilbeck
Lieutenant DavidSkilbeck
Lieutenant
‎2020-02-10 05:29 PM
0 Likes
7
1297
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 05:29 PM

Re: DDK Versions and processor types

Hi,

I am able to find ControlMicrosystems.ClearSCADA.DDK in C:\Program Files\Schneider Electric\ClearSCADA which I presume is the 64bit version.

 

In C:\Program Files (x86)\Schneider Electric\ClearSCADA it does not appear?

Other dll's are shown).

 

The V81-DDK. zip was downloded from;

https://tprojects.schneider-electric.com/telemetry/display/public/CS/Driver+Development+Kit+%28DDK%2...

 

I note your comment on the .NET API. However, I have been asked to look at the DDK as far as I can take it.

 

I have gone through the client API Guide and done the example, which worked.

Is this what you refer to when you mention the .NET APi.

 

Thanks,

Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-10 05:59 PM
0 Likes
6
1292
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 05:59 PM

Re: DDK Versions and processor types


I am able to find ControlMicrosystems.ClearSCADA.DDK in C:\Program Files\Schneider Electric\ClearSCADA which I presume is the 64bit version.


If you are running an x64 version of ClearSCADA, then this is indeed the case.  If you are running in an x86 version of Windows, then this will be the x86 DLL.  This isn't Schneider's fault re: the confusion of the locations, it's Microsoft and their crazy x64/x86 architecture names.

 


In C:\Program Files (x86)\Schneider Electric\ClearSCADA it does not appear?

Other dll's are shown).


This was me being a liar it seems.  I really thought it was there.

It's been a little while since I've done x86 stuff.  Ok, so there are options:

  1. Perform an x86 installation under an x86 Operating System.  Then in C:\Program Files\Schneider Electric\ClearSCADA you'll have the x86 ControlMicrosystems.ClearSCADA.DDK.dll
  2. Pull apart the Main01.cab within the \ClearSCADA\Product\Win32 folder on the install media, there is a file called DDKASSEMBLY_ControlMicrosystems.ClearSCADA.DDK.dll in there, which is the x86 DLL in question, it just needs to be extracted, and renamed (I use 7zip to do this).  This is also another potential way to get the x64 DLL, it's under \ClearSCADA\Product\x64\Main01.cab, also named DDKASSEMBLY_ControlMicrosystems.ClearSCADA.DDK.dll

 

If you go to tproject

https://tprojects.schneider-electric.com/telemetry/display/public/CS/.Net+API%2C+Automation+Interfac...

You'll unfortunately not find a demo project in tproject, but it does link you back to the installed help


If you look in the Start Menu folder for ClearSCADA, you'll notice a "Client API" shortcut. This link will take you to the documentation for the automation interface. You should start in the ClearScada.Client.Simple Namespace. The key classes to use are "Connection" and "DBObject".


The .NET API is quite friendly to use, much much nicer than the DDK.

The example script shows this:

using System;

using ClearScada.Client;
using ClearScada.Client.Simple;

class Program
{
    static void Main( string[] args )
    {
        using ( Connection conn = new Connection( "TestApp" ) )
        {
            // Connect to local server
            conn.Connect( "localhost" );

            // Create a new point
            DBObject point = conn.CreateObject( "CPointAlgManual", ObjectId.Root, "My Point" );

            // Set a property
            point["FullScale"] = 200;

            // Get a property
            Console.WriteLine( "CurrentValue = {0}", point["CurrentValue"] );
        }
    }
}

Since it's .NET and all managed, then you don't need to worry about what platform you're targeting either.  It will work with 'Any CPU'.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Tags (2)
  • Tags:
  • .NET API
  • example
Share
Reply
DavidSkilbeck
Lieutenant DavidSkilbeck
Lieutenant
‎2020-02-10 06:09 PM
0 Likes
5
1290
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 06:09 PM

Re: DDK Versions and processor types

Hi,

Yes, I have done the .NET API example you show a few days back and it worked fine.

 

I would need to incorporate this method of communications to GeoSCADA as well being able to communicate to an API Gateway using SOAPui XML / Json.


This method is recommended above DDK?

 

Thanks,

 

 

Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-10 06:23 PM
0 Likes
4
1286
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 06:23 PM

Re: DDK Versions and processor types

Yes.  I would recommend that you use the .NET API.

 

Is the Web Gateway that you need to interface to within your scope also, or is it a 3rd party product that only exposes endpoints?

 

Assuming that the Web Gateway is a 3rd party product, and you need to take data from the Web Gateway, and push it into some internal points within ClearSCADA / GeoSCADA Expert, then you will need to have your application perform some kind of periodic activity to poll the Web Gateway for the appropriate information, and then push this information into ClearSCADA.

 

There are a number of ways to go about the period action side of things, you could have it as a plain executable, that is triggered by a scheduled SYSTEM call from ClearSCADA.  Or you could have it schedule itself with the Windows Scheduler. Or you could have it as a Windows Service, and have it sleeping until some periodic trigger wakes up the thread to do its work.  Those are programming decisions largely separate from ClearSCADA itself.

 

If you have information on the actual Web Gateway then you should provide this, it's possible that someone has already done the interfacing to this, or that it reveals more information which suggests an alternative way to address the problem.

 

 

If the Web Gateway would instead have some kind of 1:1 mapping into a ClearSCADA object.  i.e. the Web Gateway is exposing some kind of temperature endpoints, each of which has a temperature reading that you just want to get into ClearSCADA... then a DDK driver would be a nicer implementation (if an alternative like ODBC/OPC isn't possible).

But it is exponentially harder than the .NET API, and so I do not recommend it.

It is more difficult to not just write, but to deploy (it needs special tricks to get it running within ClearSCADA that are not easy to do with an installer package, doing them as a batch file is possible, but then doesn't handle uninstallation, or pre-requisites etc etc etc).  Maintenance-wise it then requires a new version of the driver to be compiled and deployed for EVERY update to ClearSCADA.  


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Share
Reply
DavidSkilbeck
Lieutenant DavidSkilbeck
Lieutenant
‎2020-02-10 06:45 PM
0 Likes
3
1282
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 06:45 PM

Re: DDK Versions and processor types

Hi,

 

Is the Web Gateway that you need to interface to within your scope also, or is it a 3rd party product that only exposes endpoints?

 

Not really, If it was with in our scope, would you recommend a better way of going about the set up?

 

Thanks,

Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-10 06:47 PM
0 Likes
2
1280
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 06:47 PM

Re: DDK Versions and processor types

Yes, have the web gateway directly responsible for interrogating / pushing the data directly into ClearSCADA / GeoSCADA via SOAP / .NET API (depending on the Web Gateway platform... if Windows .NET API, if *nix SOAP).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Share
Reply
DavidSkilbeck
Lieutenant DavidSkilbeck
Lieutenant
‎2020-02-10 08:01 PM
0 Likes
1
1277
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-10 08:01 PM

Re: DDK Versions and processor types

Hi,

Its not in our scope unfortunately, I did enquire if it was possible with the more direct method.

I have to use Json.

 

I guess back to the DDK. I will have to set everything to 64bit to get it to compile.

If I can find 64bit reference's.

 

Notify Builds and creates files.

 

DriverNotify creates following error when build attempted;

 

Severity Code Description Project File Line Suppression State
Error The command "copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\Notify.dll C:\Dev\ClearSCADA\Binaries\X64\Debug\
copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\Notify.dll C:\Dev\ClearSCADA\Binaries\X64\Release\

copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\Notify.PDB C:\Dev\ClearSCADA\Binaries\X64\Debug\
copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\Notify.PDB C:\Dev\ClearSCADA\Binaries\X64\Release\

copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\DriverNotify.exe C:\Dev\ClearSCADA\Binaries\X64\Debug\
copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\DriverNotify.exe C:\Dev\ClearSCADA\Binaries\X64\Release\

copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\DriverNotify.PDB C:\Dev\ClearSCADA\Binaries\X64\Debug\
copy C:\Users\Administrator\Desktop\Notify-Master\DriverNotify\bin\x64\Debug\\DriverNotify.PDB C:\Dev\ClearSCADA\Binaries\X64\Release\
" exited with code 1. DriverNotify

 

Show error help does not work.

 

 

Thanks,

 

 

Share
Reply
sbeadle
Sisko sbeadle Sisko
Sisko
‎2020-02-11 01:24 AM
0 Likes
0
1271
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-11 01:24 AM

Re: DDK Versions and processor types

Edit the driver's post-build command and change:

C:\Dev\ClearSCADA\Binaries\X64\Debug\

to

C:\Program Files\Schneider Electric\ClearSCADA\

 

(Or remove them and manually copy these files)

Share
Reply
BevanWeiss
Admiral BevanWeiss
Admiral
‎2020-02-12 02:10 PM
0 Likes
0
1255
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-02-12 02:10 PM

Re: DDK Versions and processor types

I believe that my first answer in this thread addressed the question that you asked.  Please mark it as the solution.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Share
Reply
Top Experts
User Count
sbeadle
Sisko sbeadle Sisko
1
geoffpatton
Lieutenant geoffpatton
1
BevanWeiss
Admiral BevanWeiss
1
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric