Quick Installation Guide of Utsusemi for Windows

Author

Yasuhiro Inamura, Ryoichi Kajimoto

Last update

Mar. 29th, 2018

Utsusemi version

0.3.5.1 or later

Requirements for Windows

  1. Utsusemi works on only Windows 7, 8.1, 10 64bit version. We never support 32bit version.

  2. Account name of Windows must be constructed of English and numerical characters without a space . If you use other character type or a space, you must create new accounts.

    Valid account name

    Invalid one

    YInamura, Inamura

    Yas Inamura

Preparation for installations

Before installations, Python must be installed into Windows.

  • Python 2.7.x 64bit Only

  • Now Python 3.x is not supported in current Utsusemi version

And there are many installation ways as below. Note that some installations are not suitable to Utsusemi.

Python Distoributer

Status

URL

comments

python.org (original)

OK

https://www.python.org

recommended

Anaconda

OK

https://www.continuum.io/downloads

supported

WinPython

OK

http://winpython.github.io

supported

python(x,y)

NG

http://python-xy.github.io

Not supported because of only 32bit

Installation of Python (original)

Before Utsusemi installation, Python must be installed because python is the base interface of Utsusemi. This section shows how to install using the installer downloaded from "python.org".

  1. Download the installer python-2.7.x.amd64.msi ( 64bit Python 2.7.x ) from python.org (https://www.python.org)

警告

Confirm amd64 is included the name of the installer which means is 64bit version.

image00py

  1. Double clicks on the installer to appear the installation wizard window.

    image01py

    You can choose whichever "Install for all users" or "Install for me. Push Next button.

  2. Choose the path to install Utsusemi

    image02py

    Choosing default path is OK. Push Next button.

  3. Set parameters for customizations

    image03py

    In this panel, click Add python.exe to Path and choose Will be installed on local hard drive because python script must be run in command prompt application. The others are default values.

    image04py image05py image06py

警告

If you skip this setting, some Utsusemi application does not launch.

  1. Installation start

    image07py

  2. A dialog appears to show that installation is finished.

    image08py

  3. After installation, check the existence of 64bit Python in "Program and Features" window as following steps.

    Start -> "Control Panel" -> "Programs / Uninstall a program" -> "Program and Features"

    64 bit version installed ( OK )

    image10py

    32 bit version installed( NG )

    image09py

注釈

You must confirm that several versions of Python are not installed.

Installation

Double clicks the installer file to install Utsusemi.

image00

警告

If the previous version of Utsusemi has been installed, you must uninstall it at first.

  1. Installation wizard window comes up

    If the dialog to show "Python executable was not found." as below, check whether correct version of Python is installed or not.

    image01

    If normal installation wizard window comes up, basically push "Next" button to progress installation.

    image02_01

  2. End-User License Agreement

    Accept the terms in the License Agreement and push "Next" button.

    image02_02

  3. Destination Folder

    Choose destination folder ( Default is "C:¥¥Program Files¥Utsusemi¥" ) and push "Next" button.

    image02_03

  4. Ready to install Utsusemi

    Push "Install" button.

    image02_04 image02_05

  5. During installation, the dialog for "User Account Control"

    Push "Yes" button.

    image02_06

  6. Finished (Completed the Utsusemi Setup Wizard)

    It takes about 2 or 3 minutes to finish installation.

    image03

Applications to be installed

You will find a set of Utsusemi software in the folder given during installation ( default is C:¥¥Program Files¥Utsusemi¥ ). And a shortcut is made at

"Start" menu -> All programs -> Utsusemi

image04

Here, the following programs will be prepared. The details will be described later.

Application

Description

Utsusemi Environment Setting

[Environment setting] Set the environment valuables for Utsusemi

SequenceEditor

Launch SequenceEditor

MPlot

Launch MPlot

M2Plot

Launch M2Plot

SliceViewer

Launch SliceViewer3D

D4MatSlicer

Launch D4MatSlicer

uGao

Launch uGao plotter (under testing)

Utsusemi Shell

Launch "Terminal" with Utsusemi environment

MethodAssistant2

Launch MethodAssistant2

Set up

Preparation (Creation of necessary folders)

The following two folders must be prepared. These folders store raw data and temporary files.

Folder (Environment valuable)

Description

Data folder (DATA_DIR)

Folder to store raw data (Same as "/data" in the Linux version.)

Analysis folder (USR_PRIV_HOME)

Folder to include ana and tmp folders in which temporary files are stored (Same as "$HOME" in the Linux version)

The above two folders can be prepared in arbitrary places. For example,

Folder

Example

Data folder

C:¥User¥UserAccount¥Documents¥Utsusemi¥DATA

Analysis folder

C:¥User¥UserAccount¥Documents¥Utsusemi¥HOME

Environment setting and requirements

The initial setting of Utsusemi must be done by using Utsusemi Environment Setting .

警告

This setting must be done at least once after the installation.

Setting items are below.

  • The instrument environment

  • Two folders to store raw data and analysis temporal information.

  • Logging

  • The number of processers for high performance on analysis

If you analyze raw data set obtained from other instrument, you must change the instrument environment in this setting. However, you treat 2nd data ( after histogram creations ), you need not.

Launch Environment Setting

Launch Utsusemi Environment Setting from "Start" menu >> All Programs >> Utsusemi

image04 image05

Setting Items

  1. Instrument

    Choose the instrument for data analysis. Raw data folder and executable commands are changed to suitable ones.

  2. Log quiet

    Turn on to decrease logs of analysis commands

警告

All logs write in a file /tmp/mlfsoft.log. If something wrong happens on using Utsusemi, you should check this file.

  1. Number of thread

    Some analysis commands are affected by this value. Normally you set the number of CPUs in your PC.

  2. DATA_DIR and USR_PRIV_HOME

    modify or confirm the initial setting for two folders (setting of the environment valuables) described in previous section. Push Brows button opens small dialog to choose a folder for each.

    Environment valuable

    Purpose

    Example

    DATA_DIR

    Folder to store raw data (Same as "/data" in the Linux version)

    Documents/Utsusemi/DATA

    USR_PRIV_HOME

    Place to locate "ana" and "tmp" folders for temporary files are stored (Same as "$HOME" in the Linux version)

    Documents/Utsusmei/HOME

Finishing Setting

After setting, push OK button. Then you see confirmation dialog as below.

image06

If you meet an error dialog instead of this, check whether the given path to two folders are existed or not.

After closing this dialog, following folders are automatically created in the folder specified by USR_PRIV_HOME.

  • ana folder

  • tmp folder and xml folder under ana folder

    image07

警告

If you cannot find these folders, you must make them by yourself to avoid the failure of Utsusemi launch.

On the other hand, you make folders to store raw data DATA_DIR according to a rule described in next section.

Rule for data location

Raw data should be stored in the folder specified by DATA_DIR according to the following rule.

  1. Create a folder who has the same name as the instrument code.

    For example, "SIK" for 4SEASONS (BL01) and "AMR" for AMATERAS (BL14).

  2. Place the data folder of corresponding instrument in this folder. The name of the data folder must include each Run No.

    For example, "SIK012345_20150301" for 4SEASONS.

    BL

    Instrument code|Example of data folder

    BL01 4SEASONS

    SIK

    DATA/SIK/SIK012345_20160401

    BL11 PLANET

    HPN

    DATA/HPN/HPN012345_20160401

    BL14 AMATERAS

    AMR

    DATA/AMR/AMR012345_20160401

    BL15 TAIKAN

    SAS

    DATA/SAS/SAS012345_20160401

    BL19 TAKUMI

    ENG

    DATA/ENG/ENG012345_20160401

Data analysis

After completing the environment setting and preparing raw data, you can perform data analysis.

The following applications are available from "Start" menu.

Utsusemi Environment Setting

icon_Env

[Environment setting] Set and confirm the environment valuables for Utsusemi. Refer to "Launch Environment Setting" section.

MPlot, M2Plot, SliceViewer

icon_MPlot icon_M2Plot icon_SliceViewer

Launch Utsusemi Plotters. Same as ones in Linux version.

MPlot

1-dimentional data plotter

M2Plot

2-dimentional data plotter and slicer

SliceViewer3D

3-dimentional data viewer and slicer

D4MatSlicer

icon_D4mat

Launch D4MatSlicer, same as one in Linux version.

SequenceEditor

icon_SequenceEditor

Launch SequenceEditor, same as one in Linux version.

Utsusemi Shell

icon_Shell

Launch CommandPrompt under Utsusemi environment. In this terminal, you can execute commands defined on the selected instrument environment and any script made by yourself.

uGao

[icon_uGao]

Launch uGao, which is new 2-dimentional plotter for testing.

MethodAssistant2

Launch MethodAssistant2, same as one in Linux version.

For details of each application, please refer to Utsusemi Users' Manual.

Running Utsusemi on CommandPrompt

Python scripts including Utsusemi commands can be run without utilizing the above applications. In particular, if you try any new idea of data analysis, you need to utilize the Utsusemi environment on the CommandPrompt app. The following is the procedure.

  1. Launch Utsusemi Shell by click its icon.

  2. Python interpreter is running in CommandPrompt app.

  3. You can use Utsusemi on this Python interpreter. If you want to use other interpreter, for example iPython, or to change current working directory, you exit the python interpreter by ctrl-Z to change directory, launch other interpreter and run the script.

Version number confirmation

Utusemi version can be seen in the following ways. It is useful when you report bugs or update Utsusemi.

  1. Installer file name

    Installer file name consists of two sets of numbers.

    Example

    MLFSOFT.X.Y.Z.nnnn

    X.Y.Z

    Release number

    nnnn

    Revision number

  2. Command of Utsusemi Python

    Launch Utsusemi Python, and run the following command.

    import UtsusemiInfo
    

    Then, the following information is displayed.

    ---------------------------------------------
                   Utsusemi Info
    ---------------------------------------------
             version :  X.Y.Z (rev nnnn)
      Contact person : Yasuhiro Inamura
              e-mail : xxxxx.yyyyy@j-parc.jp
    ---------------------------------------------
    

    X.Y.Z, and nnnn are release number and revision number, respectively.

Uninstall

To uninstall Utsusemi, allow the default uninstall way on Windows.

  1. "Start" menu -> Control Panel -> Programs -> Uninstall

  2. Launch Utsusemi installer and choose "Uninstall" button.

However, this does not completely all the relevant files, and some folders show below are remained. Delete them manually is you want.

C:¥¥Program Files¥Utsusemi (folder)

In addition, several configuration files are remained. Although these files will be used when you re-install Utsusemi, you may delete them.

C:¥¥Users¥UserAccount¥AppData¥Roaming¥Utsusemi (folder)

Troubleshooting

Mainly troubles cause at two situations as below.

The problem happened just after installation

After installation, the applications are not launched, almost of such troubles cause from a failure of installation or from incorrect environment settings. Once you should uninstall and install again at first. Then do environment settings. If trouble comes though re-installation, please tell us a report.

In past, we've met these troubles

  • version of the installed Python is invalid. ( python 32bit installed )

  • two or more Pythons are installed.

  • Add python.exe to Path setting is skipped at the installation of Python.

To solve of multiple python installations, following is the procedure.

  1. Try uninstall for each python.

  2. Some python will be not uninstalled because of the broken python program. At that time, find and launch the python installer of broken version and choose "Repair" instead of "Install" to fix the program.

  3. Try uninstall again.

  4. At last, install correct version of python.

Error happens during executing commands

If you feel something wrong on Utsusemi works, for example no progress of commands steps, please send a report about your situations and a log shown in CommandPrompt window.

About situations of troubles

To report your trouble, you include the information as below :

  • What you are going to

  • Which software or command you are using

  • What you did

  • What happened