Ian_C

Risposte al Forum Create

  • In risposta a: animated icons

    19 febbraio 2013 alle 2:34 pm #20960
    Ian_C
    Membro

    Hi Herman,

    to add in the ‘Symbols Library’ new animated symbols, you have to create in a screen the symbol with related animations (as rotation, visibility, Scale..) and related variables; then you have to group your objects and clicking on its with the right key of the mouse, you have to choose first ‘Symbol-Create’, then ‘Add to library’.
    In this way, each time you will add the symbol in a screen, the related variables will add to the real time DB automatically.

    Good luck! :p

    Regards!

  • In risposta a: remotely run basic script

    7 febbraio 2013 alle 12:03 pm #20948
    Ian_C
    Membro

    Hi Pendi,

    you could create a simply Networking with a Server and a Client: on your remote PC (the Client) you could create an event (connected to a variable exchanged with the Server) that Runs a Script.

    Regards!

  • In risposta a: embedded screens with parameter files

    7 febbraio 2013 alle 11:38 am #20935
    Ian_C
    Membro

    Hi Oliver,

    you can’t pass a parameter file to an embedded screen.
    Anyway, you could open (on the main synoptic loading) 4 frame passing its 4 different parameter file. Clearly, for the the parameter screen, you have to set a numbers of instances (Synoptic Properties/ Execution /Max. Instances) major than 4!

    Regards..!

  • In risposta a: VIPA HMI on profibus

    31 gennaio 2013 alle 12:05 pm #21584
    Ian_C
    Membro

    Hi Aleb2,

    it could be a problem related to the use of the communication channel of the PLC. Maybe you know that Vipa PLC can communicate on three kind of channel, PG, TG and OP.
    In your case, I can advice to check with the development environment which channels are actually used by the PLC and which channels are free and then try to change in Movicon the Device ID of the Station (Default = 2 to use OP channel).

    Best Regards

  • In risposta a: Webclient on Android Tablet

    31 gennaio 2013 alle 10:57 am #19456
    Ian_C
    Membro

    Hi Luisvaz,

    in order to use the App in the best way, you could create dedicated pages in your project with the resolution of your phone. If you had created an html page with ‘full screen’ option activated, it’s normal that the screen is auto-resized by the App.

    Best regards, Ian

  • In risposta a: Webclient on Android Tablet

    23 gennaio 2013 alle 5:14 pm #19454
    Ian_C
    Membro

    Hi Luisvaz,

    the default port used by the Applet, is the port 12233, so first of all, you could check if on your Server, this Port is opened in the firewall. Moreover, you could also check that this port has been set in the Applet Connection Configuration as ‘Server Port’.

    Finally, I can understand that actually you don’t have a Public IP, so only the device connected to the same LAN can be connected to the Server (eg. for your smartphone using a Wi-fi connection that connect you to the same Network of the Movicon Server).

    Regards and good luck!

  • In risposta a: Webclient on Android Tablet

    22 gennaio 2013 alle 3:44 pm #19452
    Ian_C
    Membro

    Hi Luisvaz,

    After configured IIS on the PC with the Movicon project and after created the HTML page on synoptic, you have to download the App on your smartphone from https://www.progea.com/midlet.htm and install it.
    Then you have to configure the connection inserting the Server Name/Address (eg. for a public IP 30.245.121.198) and the User with his password (if on the Server project is enabled the password management). Usually, other settings, are correct, therefore you could already save the connection configuration pressing the Menu key (the button on the bottom left of your smartphone) and selecting ‘Save’.

    Always with the menu key, now you can click on ‘Connect’. Once connected, re-press the menu button to chose the action to do on the project: for example you can chose ‘Open screen’, ‘Get the Alarm List’, and more..

    Clearly, the Server project, must be started before launching the Applet!

  • In risposta a: Import DB (.awl) from PLC

    26 novembre 2012 alle 5:19 pm #20870
    Ian_C
    Membro

    Hi Harrispiano,

    are you using the latest version of Movicon? If yes, try to send an email to the Progea’s support with the AWL file attached.

    Maybe they can say you more..

    Regards!

  • In risposta a: strumenti per visualizzare testi

    22 novembre 2012 alle 10:55 am #20885
    Ian_C
    Membro

    Hi Tecno,

    you could use a rectangle with the ‘Edge Color – Dynamic Text Animation’; then, defining for each threshold a Text, you will can see in the rectangle the text related to the value of the variable.

    Regards!

  • In risposta a: Modem GSM voice e Alarm dispacher

    22 novembre 2012 alle 10:18 am #20883
    Ian_C
    Membro

    Hi Garibaldik,

    try to have a look to these modem:

    Audiotel     (Industrial Modem GSM Base)
    Wavecom    (Fastrack e Fastrack Supreme)
    Teltonika    (ModemCom/G10 (codice CM1100 EM1100))

    I hope this could help you!

    Regards

  • In risposta a: Problem wiht alias

    22 novembre 2012 alle 10:11 am #20880
    Ian_C
    Membro

    Hi KIRIL,

    I advice you to consult the section SupportExamples of the Progea Website and download the example ‘ES_ParametersScreen’, that shows you how to use Alias with parameter file.

    Regards!

  • In risposta a: Use Crystal Reports

    22 novembre 2012 alle 9:23 am #20854
    Ian_C
    Membro

    Hi Moskvichov,

    I think the only way to view your report by Script and without using the ReportViewer, is using the code below. It needs the ActiveX  ‘Crystal Report Viewer’.

    Private Sub CreaReportPerViwer()
        Dim Conn1 As New ADODB.Connection
        Dim CRV As CrystalActiveXReportViewerLib10.CrystalActiveXReportViewer
        Dim crApp As New CRAXDRT.Application
        Dim rpt As CRAXDRT.Report
        Dim nReport As Integer
        Dim sRecFilter As String
        Dim iFilterType As Integer
        Dim strFiltri As String    ‘descrizone filtri da impostare nel RPT

        Set CRV = GetSubObject(‘CR’).GetActiveXObject

        Set rpt = crApp.OpenReport(sGblCurDir & RPT_DIR_REPORT & ” & RPT_DB_PLANTS)
        CRV.EnableGroupTree = False

        If Not CBool(DbSqlUseWindows) Then Call ReportSetLogonInfo(rpt)
        Call ReportSetRecordFilter(rpt, iFilterType, sRecFilter)        ‘impostazione filtri
        CRV.ReportSource = rpt
        CRV.EnableExportButton = True
        CRV.ViewReport

    ExitCreaReport:

        Set rpt = Nothing
        Set CRV = Nothing
        Set crApp = Nothing
        Set Conn1 = Nothing

    End Sub

    I hope this can help you!
    Regards

  • In risposta a: Import DB (.awl) from PLC

    9 novembre 2012 alle 3:55 pm #20868
    Ian_C
    Membro

    Hi ALEB2,

    Maybe I didn’t understand the problem.. But if it’s about you can’t find the AWL file, you could re-export it in a known folder.. 

    Regards!

  • In risposta a: Use Crystal Reports

    25 ottobre 2012 alle 9:00 am #20852
    Ian_C
    Membro

    Hi Mosckvichov,

    the command PrintOut launch the Print. If you want to view the report you could use the ReportViewer.exe:

    /***

    ReportViewer

    This application, ‘ReportViewer.exe’, is used by Movicon for displaying Report files created with Crystal Report and associated to DataLoggers, Recipes, Historicals etc.. It can be ran from a command line by passing some parameters to customize settings which otherwise are set by Movicon with default values:

    ReportViewer.exe [-p] [-t] [-g] [-iX] [-h] [-lLocalCol] [-mAlarms] <report file name>

    Where:

    -p = sends report to printer without passing through print preview

    -t = displays the command toolbar

    -g = displays group area

    -iX = sets time range for data filtering. X indicates time range to be selected and can obtain the following values: 1 (Today), 2(Yesterday and Today), 3 (Current Week), 4 (Current Month), 5 (Current Year), 6 (Last 7 Days), 7 (Last 30 Days), 8 (Last 60 Days), 9 (Last 90 Days), 10 (Last Year), 11 (Last 2 Years), 12 (Last 5 Years), 13 (Last 10 Years)

    -h = this parameter allows a dialog window to display when opening the Report which the operator can use for inserting the data filter selection date and time

    -l = this parameter, used only in association with the -h parameter, consents to specifying the name of the column in which to apply the filter by date (i.e. LocalCol)

    -m = this parameter, used only in association with the -h, consents to specify the name of the table in which to apply the filter by date

    You can run ReportViewer using the ‘System/Launch Application’ command from the Movicon commands list, adding the proper parameters in the ‘Command Line’ property, or using a batch file.

    ***/

    Regards

  • In risposta a: Use Crystal Reports

    19 ottobre 2012 alle 10:31 am #20850
    Ian_C
    Membro

    Hi Moskvichov,

    I post below an example of Script code that I used to set a DSN link to a DB Table to extract data. Clearly, the report file must already exist.

    ‘Enable the Reference:
    ‘Crystal Report ActiveX Designer Run Time Library 10.0 (10.0)

    Sub Main
        Dim rptApplication As Application
        Dim rptReport As Report
        Dim sReportFile As String
        Dim nThrhLev As Integer                ‘ Threshold’ level to compare

    ‘======================
    ‘ Report’s elements
    ‘======================

        ‘ Declare a ConnectionProperty object.
        Dim CPProperty As CRAXDRT.ConnectionProperty
        ‘ Declare a DatabaseTable object.
        Dim DBTable As CRAXDRT.DatabaseTable

    ‘=======================
    ‘ SubReport’s elements
    ‘=======================

        Dim CRXTables As CRAXDRT.DatabaseTables
        Dim CRXTable As CRAXDRT.DatabaseTable
        Dim CRXSections As CRAXDRT.Sections
        Dim CRXSection As CRAXDRT.Section
        Dim CRXSubreportObj As CRAXDRT.SubreportObject
        Dim CRXReportObjects As CRAXDRT.ReportObjects
        Dim CRXSubreport As CRAXDRT.Report
        Dim CRXProperty As CRAXDRT.ConnectionProperty
        Dim CRXReportObject As Object

        ‘Report file path
        sReportFile = ‘C:ProgrammiProgeaMoviconX1OrderByDate.rpt’
        Set rptApplication = New Application
        Set rptReport = rptApplication.OpenReport (sReportFile)

        ‘ Get the first table in the report.
        Set DBTable = rptReport.Database.Tables(1)
        ‘ Get the ‘DSN’ property
        Set CPProperty = DBTable.ConnectionProperties(‘DSN’)

        ‘ Insert the ODBC DSN Name
        CPProperty.Value = HisLogDsn
        ‘ Insert the name of the Alarm table contained in the HisLog DB (default ‘Alarms’)
        DBTable.Location = HisLogAlarmTable

        Set CRXSections = rptReport.Sections                                ‘You start by getting the Sections from the Main Report.
        For Each CRXSection In CRXSections                                    ‘You Begin by cycling through Each Section In the Main Report.
            Set CRXReportObjects = CRXSection.ReportObjects                    ‘In Each Section, you Get All the objects In the Section.
                For Each CRXReportObject In CRXReportObjects                ‘You cycle through the objects.
                    If CRXReportObject.Kind = crSubreportObject Then        ‘You test the objects To see If they’re subreports.
                        Set CRXSubreportObj = CRXReportObject                ‘When you find a subreport, you Get a hold of it.
                        Set CRXSubreport = CRXSubreportObj.OpenSubreport    ‘Finally, you Open the subreport And treat it As you would Any other Report.
                        ‘Note:  Insert here the code to manipulate the SubReport
                    End If
            Next CRXReportObject
        Next CRXSection

        ‘ Get the first table in the subreport.
        Set CRXTable = CRXSubreport.Database.Tables(1)
        ‘ Get the ‘DSN’ property
        Set CRXProperty = CRXTable.ConnectionProperties(‘DSN’)
        ‘ Set the ODBC data source name.
        CRXProperty.Value = HisLogDsn
        ‘ Set the table name.
        CRXTable.Location = HisLogAlarmTable

        ‘ Nell’espressione, inserire il livello di priorità che si vuole confrontare per la stampa
        ‘ In this expression, insert the priority level that it want to assign for the print
        rptReport.RecordSelectionFormula = ‘{‘ & HisLogAlarmTable & ‘.EvNumCol} = ‘ & CInt(GetVariableValue(‘Severity’))

        ‘ Print the report
        rptReport.PrintOut

        ‘ Destroy the object
        Set DBTable = Nothing
        Set CPProperty = Nothing
        Set CRXSections = Nothing
        Set CRXReportObjects = Nothing
        Set CRXSubreportObj = Nothing
        Set CRXSubreport = Nothing
        Set CRXTable = Nothing
        Set CRXProperty = Nothing

        Set rptReport = Nothing
        Set rptApplication = Nothing
    End Sub

    I hope this can help you!

    Regards!