Documentation Home Page TestDrive Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Installing TestDrive

Definitions

Before installing anything, it is important to determine the configuration you want to use. This section will describe the different configurations applicable to your TestDrive system.

TestDrive makes a distinction between the computer or computers used for development, and the computer or computers used to run the simulation, although the same computer may be used for both development and simulation.

Command Station

Development is always done on a Windows NT/2000/XP platform. The command station is the computer on which the TestDrive Interface, RT-LAB, and the monitoring software such as LabVIEW run. It is possible to include more than one command station in a TestDrive system.

Target Nodes

A computer where a simulation runs is called a target node or a target. For TestDrive systems, target nodes run on the QNX 6.x real-time operating system. For super-computer performance, TestDrive can be set up using a network of multi-processor computers.

Windows and QNX 6.x Installation

This section describes the installation of TestDrive host(s) and target(s) from the host.

Installing TestDrive onto your Command Station and Target nodes

A CD-ROM is included with your RT-LAB software package. The disk contains a program for installing TestDrive on Windows NT/2000/XP. When installing using a web download, it is assumed that all the required files have been downloaded prior to executing this procedure.

To Install TestDrive onto your Command Station and target nodes

  1. Install RT-LAB 1
    • Insert the RT-LAB CD-ROM into your command station computer’s CD- ROM The installation should start automatically.
    • For further help, please refer to the RT-LAB Installation
  2. Install RT-EVENTS 1.1
  • Insert the RT-EVENTS CD-ROM into your command station computer’s CD-ROM The installation should start automatically.
  • For further help, please refer to the RT-EVENTS Installation

RT-LAB and RT-EVENTS installation on QNX 6.x targets is not required; the TestDrive target installer will perform this step. If the installation was already performed, the TestDrive target installer will automatically replace the required files.

  1. Install LabVIEW Runtime
    • From the RT-LAB CD-ROM, open exe located in

<CD-ROM dir>\TestDrive\setup where <CD-ROM dir> is replaced with your CD-ROM drive letter, e.g., D:\TestDrive\setup\

  1. Close all RT-LAB running software including the MetaController which can be closed by right-clicking the MetaController icon located in your Windows Taskbar notification area (bottom right when the taskbar is at the bottom of the screen.)
  1. Install TestDrive
    • Insert the TestDrive CD-ROM into your command station computer’s CD- ROM The installation automatically opens an HTML page from which you must select the TestDrive installer.

If the installation does not start automatically

  • Select Run from your Windows start
  • In the Run dialog box, type:

D:\testdrive\setup\win32\td_setup_<version_name.exe> and click OK. This assumes the letter <D> is assigned to your CD-ROM drive; if not, enter the CD-ROM drive’s letter.

  • Follow the online installation The files will be copied to your hard disk.
  • When all files are copied, a Command Prompt window will open, allowing you to perform the TestDrive target (simulator) installation on QNX x.

The current Command Prompt window should have the path set to the

<RT-LAB install dir>\simulink\qnxnto directory where <RT-LAB install dir> is the directory where RT-LAB is installed, e.g., C:\ Opal-RT\RT- LAB\simulink\ qnxnto.

  • Make sure that the TestDrive target (simulator), where the software needs to be installed, is turned
  • Run the TestDrive target installer by typing:

td_install <IP_ADDRESS> in the Command Prompt window. where

<IP_ADDRESS> should be replaced by the IP address of the target where TestDrive needs to be installed, e.g., td_install 192.168.0.101.

  • The TestDrive installation packages will then be transferred and installed on the selected

Following the installation, a log window will appear.

  • If more than one target needs to be installed or updated, repeat the last two steps (td_install <IP_ADDRESS> command) for each of the
  • Close all log
  • Close the Command Prompt
  • After performing the target(s) installation, click on Finish.

Configuring TestDrive Model

TestDrive includes a pre-compiled RT-LAB model to be run on the TestDrive target. Before you can load the model, you need to select the target node on which the model will run. This step assumes that the Target Nodes Configuration section of RT-LAB's installation has been performed. See the RT-LAB Installation Manual for more details. It is recommended that you reboot the computer after RT-LAB's installation.

To configure the TestDrive model

  • The MetaController application is started automatically at Windows The MetaControler icon appears in your Windows Taskbar notification area (bottom right when the task bar is at the bottom of the screen.)
  • Start MainControl application by double-clicking on the MetaController icon.
  • Click on the Open button and select the following model:

<RT-LAB install dir\..>/DCS/Models/TD_<version>/td.mdl

where <RT-LAB install dir\..> dir is the RT-LAB installation directory without the last directory name and <version> is the current version of TestDrive.

e.g., C:\Opal-RT \DCS\ Models\TD_V1.0.15\td.mdl

If RT-LAB complains that the license server is missing, please refer to the RT-LAB Installation Manual to confirm that the license installation has been performed properly.

  • Click the Assign Nodes button and select the node on which the model will

If no nodes are shown, please refer to the RT-LAB Installation Manual f and perform the Target nodes configuration section.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter