Tools

Movicon uses tools developed by Emerson to perform specific operations or functions. Below you will find a list of these tools with a brief description on what they do. For further information on how they function and configurations please consult the Help online of the related application.

 

Upload/Download service

The executable file "TCPUploadServer.exe" is installed with Movicon setup and allows to use, for a desktop platform too, the service for projects upload/download to/from a remote client. For further information on this subject please see "Projects Upload/Download" in Movicon CE user manual.

 

Alarm Dispatcher

Movicon uses this application, "Dispatcher.exe", to configure the SMS, Voice, Fax alarms notifying.

This tool can be also used within basic script routines for sending messages that have nothing to do with the alarms.

For further information please refer to the  "AlarmDispatcher.chm" tool's help.

 

Import/Export Tag in CSV

The "CSVTagIE.exe"  program consents you to import/export the Real Time DB to csv. files.

For further information please refer to the  "CSVTagIE.chm" tool's help.

 

Import/Export CSV Alarms

The"AlarmsImpExp.exe"  program consents you to import/export Alarm list to csv. files.

For further information please refer to the "AlarmsImpExp.chm" tool's help.

 

Import/Export  CSV Strings

The"StringImpExp.exe" program consents you to import/export Alarm list to csv. files.

For further information please refer to the l "StringImpExp.chm" tool's help.

 

 

 

PrnWnd.exe

This program, "PrnWnd.exe", is installed in Movicon installation folder and consent the printing of screens or the Window desktop. The raster print is a graphical print mode which creates a uniform bitmap of the page and sends it to the printer. The syntax is:

 

PrnWnd.exe [-h<%d>] [-d] [-s] [-t<%s>] [-l] [-k] [-f<filename>] [-p[x];[y]] [-m[Sx];[Dx];[Top];[Bottom]]

 

where:

 

[-h<%d>]: %d is the handle's decimal value of the window to be printed. If the handle is not specified, all of the desktop will be printed

[-d]: dialog window appears for choosing the printer and the print options, otherwise the default printer will be used

[-s]: hides the window which indicates the print in action

[-t<%s>]: attributes the print document title

[-l]: forces a vertical print  (portrait)

[-k]: permits prints with the dame proportions seen on screen, without the option (therefore for default) both the height and width will be adapted to the whole size of the page

[-f<filename>]: the -f parameter is used for specifying the name of the ".bmp" file to be printed.  The file name must be specified with complete naem and path of the ".bmp" file to be printed.

[-p[x];[y]]: the  -p parameter is used for seeing the sizes of the page to be printed. In this case the "x" value indicates  page width in mms and the  "y" value indicates page height in mms.

[-m[Sx];[Dx];[Top];[Bottom]]: this parameter consents to managing the print margins. This parameter is composed of four numbers alternated with the semi-colon character which define the left, right, top and bottom margins in millimeters. Each margin can be left out, leaving the tool to use the one for default retrieved through the printer's driver. If all of the "-m " parameter is left out, all the margins will be retrieved using th printer driver.

 

The tool can be activated using the commands from the "Capture and Print" Commands List of the "Screen", "Run Application" and "System" groups. This tool can also be launched directly from the Movicon script code where this command should be used:

 

Shell("PrnWnd.exe", vbNormalFocus)

 

The tool is available for these following platforms:

 

Win32/64

WinCE (SSDK ARMV4I)

WinCE (SSDK x86)

 

Tag-Alarm Wizard

This application, "AlarmGen.exe", allows lists of alarms to be created quickly by using a wizard.

 

CleanLog

This application, "CleanLog.exe", is used by Movicon for deleting old networking log files exceeding a preset life span. This date is calculated by Movicon according to the project's "Log and Security" property settings from the Networking Services resource.

This application can also be used by the programmer to cancel files. It can be called up by using the command line by passing the following  parameters:

 

CleanLog.exe -d<x> [-r] <path>

 

Where:

 

-x = number of days

-r = also deletes the files in the sub folder

Path = path of the folder where the files are found

 

CleanLog deletes all the files contained in the folder <path> which are dated older than the actual date + <x> days.

 

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 the  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.

 

ReportViewerNET

This application, "ReportViewerNET.exe", is used by Movicon for displaying Report files created with Report Designer 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:

 

ReportViewerNET.exe [-f] [-p] [-q"select * from Alarms"] [-cDSN][-u] [-w] [-eX] [-iX] [-h] [-lLocalCol] [-mAlarms] <ReportFileName>

 

where:

 

-f = allows to open the report with the Report Designer, instead of showing the preview

-p =prints the report without print preview

-q "query" = allows to specify a query string to select data to extract and be shown in the report

-cDSN = where DSN is the name of the ODBC connection to be used for connection to the database (i.e. TestProject_HisLog). If not specified, the connection set by the Report Designer   when the report is first created is used  (in this case it can no more be accessed or modified)

-u = this parameter is used for specifying the user name to be sued with the ODBC connection when the database has password protection

-w = this parameter is used for specifying the password,k relating to the user specified with the  [-u] parameter, to be used with the ODBC connection when protected by password.  

-eX = exports data in a different format. X stays for the format, valid values are: 2 (pdf), 3 (html), 4 (txt), 5 (csv), 6 (xls), 7 (Mht), 8 (rtf), 9 (jpg).

-iX = sets time range for filtering data. 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

The export file is created in the folder where the report is saved, with the name of the report itself

<ReportFileName> = path and name of the report file to be shown (i.e. "E:\ProjectPath\TestProject\DLOGGERS\TestReport.repx")

 

You can run ReportViewerNET 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.

 

Or call the Tool using the "ExecuteCommand()"  VBA  function from a Button object's 'Click' event:  

 

Public Sub Click()

    ExecuteCommand("<CommandType action='2' parameters='ReportViewerNet.exe  -q&quot;" & "SELECT * FROM Alarms" & "&quot; -cTestProject_HisLog " & " &quot;" & GetDataLoggerRecipePath & "HisLog.repx" & " &quot;" & "' timeout='5000'>System</CommandType>")

End Sub

 

The "ReportViewerNET.exe" Tool is recorded in the system variable  PATH, therore is can be called directly from the "Command Line" or with the "System" command such as "Run Application" in an object or from the  ExecuteCommand() function without specifying the file's absolute path.

 

Run Time users

This application, "EditUsr.exe", is used by Movicon to create and modify the Run Time users.

 

Language Manager

This program, "LangManagerPlus.exe", is used for changing languages in the Movicon development environment. Upon launching this application a dialog window will appear within which you can select the language you wish to activate. When the selected language is confirmed with OK, this tool will automatically reset the Windows registry keys concerned. After this has been done, Movicon will restart with the new selected language (it is no longer needed to startup Movicon keeping the CTRL key pressed down as in the past).

The languages that can be selected using the "Language Manager" are those which were enabled during the Movicon installation. This is done through the "Languages" dialog window which appears during the setup phase. This dialog shows the languages available for the development environment allowing you to select one or more as desired (the setup language is preselected and cannot not be changed). When choosing two or more languages, a folder will be created for each one in the Movicon "..\Progea\Movicon\LANG\" installation folder containing the manuals and resources in that language.

By using the "Language Manager" you will then be able to activate one of these installed languages.

 

Development Code Info

This application, "RegDevCode.exe", is used to show Movicon development (or registration) code.

 

 

See Also