Difference between revisions of "TestIT:Installation"

From Nolek Wiki
Jump to navigation Jump to search
Line 134: Line 134:
  
 
==11.5 Install TestIT==
 
==11.5 Install TestIT==
+
 
 +
'''Install TestIT:'''
 +
# Go to the installation folder (C:\Nolek\Install\TestIT)
 +
# Double-click on the setup.exe file
 +
# Press Install and follow the instructions of TestIT License
 +
 
 +
''When the TestIT application is installed, TestIT will open and the database connection must be set up.''
 +
 
 
==11.6 TestIT License==
 
==11.6 TestIT License==
 +
 +
'''Install the license:'''
 +
# Write the license number from the license document. (Eg: TestLicense or 16L1234)
 +
# Press New and two options will appear:
 +
## With a license: Select a destination folder. The recommend folder is C:\Nolek\License
 +
### Email the license request file to info@nolek.dk
 +
### When the response file is received from Nolek, save it on the hard drive
 +
### Select the Load button and select the file
 +
### The license is installed and the application can be closed
 +
## Without a license: Select Run in demo, and an access is available in two hours
 +
 +
''Next time TestIT is opened, it will be licensed.''

Revision as of 09:22, 20 August 2019

11. Installation

The process of installing TestIT includes a few steps.

  1. Folder structure
  2. Install MS SQL server 2012 Express
  3. Restore database
  4. Install TwinCat 3 – if running with I/O
  5. Install TestIT
  6. Install TestIT License

11.1 Folder structure

The files needed for the installation are placed in this folder structure. Before an installation, the Nolek folder must be copied into the C root.

The structure is:

C:/Nolek

  • Applicationfiles - Guide images, text files
  • Backup - Database, previous TestIT versions, etc.
  • Documentation - Sequens diagram, PI diagram, etc.
  • Install - Installation files (TestIT, MS SQL, TwinCat)
  • License - TestIT license folder

11.2 MS SQL server 2012 Express

When MS SQL Server is being installed, both the SQL Server and the Management Studio needs to be installed.\\

MS SQL Server:

The guide to install MS SQL server:

  1. Install or verify the Microsoft .Net Framework 4.0
  2. Open the folder C:\Nolek\Install\SQL\2012 – Express and select the correct version of Windows (32 or 64 bit according to the PC)
  3. Double-click on the SQLEXPR_x[32 or 64]_ENU.exe file and press Run
  4. Select the New SQL Server stand-alone installation or add features to an existing installation
  5. Check the “I accept the license terms” and press Next
  6. Press Next in the product update
  7. Press Next in install setup files
  8. Make sure to have the Database Engine Service and SQL server Replication checked, and then press Next
  9. Write a name for the instance and press Next
  10. Wait for the setup to continue in the Next window server configuration, then press Next
  11. Select the Mixed Mode and write a system administrator password. Standard for TestIT is “sa4TestIT”, press Next
  12. Select if Error Reporting is wanted or not, and press Next
  13. Wait for the installation to finish and press Close
  14. Go to management studio setup

Management studio:

(In version 2012 the management studio is separated.)

  1. Install or verify the Microsoft .Net Framework 4.0
  2. Open the folder C:\Nolek\Install\SQL\2012 Express and select the correct version of Windows (32 or 64 bit according to the PC)
  3. Double-click on the SQLManagementStudio_x[32 or 64]_ENU.exe file and press Run
  4. Select the New SQL Server stand-alone installation or add features to an existing installation
  5. Wait for the Setup Support Rules and check to finish, then press Next
  6. Wait for the Setup files to install. Then select 'Add features…' and select the instance you just created (SQL Server) in the dropdown box, then press Next
  7. Select the Management Tools - Basic and press Next
  8. Wait for the window to change and select if Error Reporting is wanted or not, and press Next
  9. Wait for the installation to finish and press Close
  10. Go to Restore database

11.3 Restore database

Restore a full database:

  • Press "Connect":


testit_installation_pic1.png


  • Right click on “Databases”, and select “Restore”:


testit_installation_pic2.png


  • Select “Device”, and the “…”
  • Find the database to restore (TestITProd, or TestITSetup)
  • Press OK



  • The database is now restored.
  • Close “SQL Server Management Studio”, and Open TestIT


testit_installation_pic4.png

11.4 TwinCat 3

This installation is if TestIT is running with I/O.

Install TwinCat 3:

  1. Open the installation folder: C:\Nolek\Install\TwinCat
  2. Double-click on the setup file and press Next
  3. Select 'I accept the terms in the license agreement', and press Next
  4. Write user name and organization
  5. Select Custom, and press Next
  6. May vary depending on the installed software. Select Microsoft… and press 'Next'
  7. Press Install, then Next and in the end press Finish
  8. Restart the system

Create a new TwinCat project:

  1. Open Visual Studio to create a new project
  2. Select Start and then New project
  3. Select TwinCAT Project and then the TwinCAT XAE Project (XML format)
  4. Write a name: 'TwinCAT IO'
  5. Select location (where to save the file) and press OK

This page will be visible. Note! Your window may look different.

Setup the communication port:

  1. Select TwinCat
  2. Select Show Realtime Ethernet Compatible Devices…
  3. Select the network card to use for TwinCat, and press Enable
  4. Now, follow the instructions of new task, IO configuration, and IO scan (descripted below)
  5. After this, go to Install TestIT

New task:

  1. Right-click on tasks and select add new item
  2. Write the name IO, and write comment if there are any and press OK
  3. Verify that the task is created
  4. Double-click on IO and verify that the settings look like the image. Maybe the port number is 350 – That is ok

IO Configuration:

  1. Right-click on inputs or on output, and select Add new item
  2. Enter the symbol configuration. (Eg. Name: IN01, DataType: Bool) and press OK
  3. The name and description can be changed; just double-click on the symbol and change it
  4. Repeat for all symbols

IO Scan:

  • Connect the I/O modules

11.5 Install TestIT

Install TestIT:

  1. Go to the installation folder (C:\Nolek\Install\TestIT)
  2. Double-click on the setup.exe file
  3. Press Install and follow the instructions of TestIT License

When the TestIT application is installed, TestIT will open and the database connection must be set up.

11.6 TestIT License

Install the license:

  1. Write the license number from the license document. (Eg: TestLicense or 16L1234)
  2. Press New and two options will appear:
    1. With a license: Select a destination folder. The recommend folder is C:\Nolek\License
      1. Email the license request file to info@nolek.dk
      2. When the response file is received from Nolek, save it on the hard drive
      3. Select the Load button and select the file
      4. The license is installed and the application can be closed
    2. Without a license: Select Run in demo, and an access is available in two hours

Next time TestIT is opened, it will be licensed.