{}

Våra varumärken

Impact-Company-Logo-English Black-01-177x54

Välkommen till Schneider Electrics webbplats

Välkommen till vår webbplats.
Hur kan vi hjälpa dig idag?
How to open a specific map in ClearSCADA and Geo SCADA?
DISCLAIMER This sample program is intended to demonstrate one or more programming functions or methods and is presented as programming example only. Schneider Electric assumes no liability for the use or application of this example program or any portion thereof.


The below script example shows how to launch a GIS map focusing on a particular latitude and longitude. The latitude and the longitude are passed as mimic parameters in this example. Thus it is easy to scale this up by having various embedded instances of the same mimic with different values passed to the mimic parameters.

This is the source mimic:


Here is the script created in the source mimic:

Sub OpenMap
         Dim pLatitude, pLongitude
         Set test = Mimic.Parameters
         pLatitude = test.Point.Latitude
         pLongitude = test.Point.Longitude
         Mimic.OpenInset  "SCX:////CGISMapSet/.My Map Set#zoom=12&Latitude=" & pLatitude & "&Longitude=" & pLongitude, 10, 10, 90, 90
End Sub


The script is executed by clicking the Map With Params button located in the source mimic.
The 2 instances of the source mimic were embedded onto the main mimic. The mimic parameters were populated with the GIS location properties for either site:

Schneider Electric Sverige

Utforska mer
Produktfamilj
Artiklar som kan vara till nytta
Utforska mer
Produktfamilj