You are on page 1of 50

Strukton Rolling Stock bv

Van Coulsterweg 11
2952 CB Alblasserdam
The Netherlands

Tel.: +31 (0) 78 683 38 60


Fax.: +31 (0) 78 683 38 61
www.struktonrailinfra.com

SCARP User manual

Principal : Strukton Rolling Stock


Project number : 325.228
Document number : 325.228/04.7540
Revision number : 1.4
Number of pages : 50
Date : 2013.08.23
Author(s) : Strukton Rolling Stock BV
SCARP User manual

Revision history
Rev. no. Date Description
0.0 2008.07.07 First draft, derived from SSY_HIA_07_0439 V06 Scarp 1.4.7 User
Manual under constr.doc
0.1 2009.07.19 Minor updates
0.2 2009.08.28 Update for Scarp 1.6.5
0.3 2009.09.23 Update for Scarp 1.6.6
0.4 2009.10.08 Date/Time Get/Set
0.5 2010.01.07 Update for Scarp 1.6.8
0.6 2010.06.07 Added troubleshooting section software size exceeded
0.7 2011.03.02 Update screens
0.8 2011.07.11 Added section on IP configuration
0.9 2011.09.15 Added details on downloading registrations
1.0 2012.02.06 Added details on:
- login levels
- Fault analysis
1.1 2012.04.18 Added Variable Monitoring in Troubleshooting section
1.2 2012.06.22 Update for SCARP release 1.8.0
1.3 2012.04.19 Update for SCARP release 1.9.4
1.4 2012.08.23 Update for SCARP release 2.1

Attention status Date Initialen Visa


All sheets of this document o for quotation .. .. ..
have one identical revision .. .. ..
o for information
number. In case of modification,
o for approval .. .. ..
all sheets are replaced. A
vertical line in the left margin o released for production 2012.04.18 HG ..
may be used to mark the o released for site .. .. ..
modifications of the last .. .. ..
o as built
revision.
o cancelled .. .. ..
o replaced by .. .. ..
Created 2007.10.05 BB
Modified 2013.08.23 MK
Checked 2012.04.18 FB
Approved 2012.04.18 HG

Strukton Rolling Stock bv Copyright All rights reserved.


No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical,
including photocopying or microfilm without written permission by the author.

Strukton Rolling Stock Van Coulsterweg 11, NL-2952 CB Alblasserdam, The Netherlands

Doc. no.: Error: Reference source not found Sheet: 2 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Table of contents
Cover sheet 1

Revision and status sheet 2

1. Purpose of this document 5


1.1 System overview 5
1.2 Audience 5
1.3 Abbreviations 5

2. Relevant documents 6
2.1 Documents of Strukton 6
2.2 Other documents 6

3. Introduction 7

4. Installation of Scarp 7
4.1 Installation of the Scarp User Interface 7
4.2 Installation of the Scarp Service 8
4.3 User without admin rights 9
4.4 Installation of Scarp for Remote Use 10
4.5 Problems with Firewall 10
4.5.1 Windows XP firewall 10
4.5.2 Windows 7 firewall 10
4.5.2.1 Allow the boards to ping the PC 10
4.5.2.2 Allow boards to send monitoring data 15
4.5.3 Kaspersky firewall 17

5. Starting Scarp 21

6. Connecting to the boards 24


6.1 Using the Wizard 24
6.2 Discovery of the Ethernet connection 26
6.3 Uploading configuration 27
6.4 Date and Time 27
6.5 Installation (=Vehicle) number 28

7. Loading software 29

8. Registrations 31
8.1 Explanation on downloading registrations 31
8.2 Performing download of registrations 32
8.3 Viewing and deleting registrations 33
8.4 Analyzing registrations offline 34
8.5 Registration statistics 36

9. Event monitoring 37

10. Variable monitoring 38

11. Monitoring/Editing Parameters 42

12. Settings 45

Doc. no.: Error: Reference source not found Sheet: 3 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

12.1 Setting the Discovery entrys for Ethernet manually; 45
12.2 Connecting via cross cable 46

13. Troubleshooting 47
13.1 Software size exceeded 47
13.2 Variable Monitoring 47
13.3 Windows 7 error message 49
13.4 Reading the board IP address from a router 49

Appendix A Main Menu List 51

Doc. no.: Error: Reference source not found Sheet: 4 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

1. Purpose of this document


1.1 System overview
The purpose of this document is to describe the SCARP functions from a user point of view.

1.2 Audience
This document is intended for:
Engineers to use SCARP without a dongle
Customers to use SCARP

1.3 Abbreviations

Abbreviation Description
SCARP Strukton Communication Analysis and Registration Program

2. Relevant documents

2.1 Documents of Strukton

No. Document Identification


[2.1] author :
number :
revision :
date :

2.2 Other documents

No. Document Identification


[3.1] <doc title> author :
number :
revision :
date :

Doc. no.: Error: Reference source not found Sheet: 5 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

3. Introduction
The Windows-based program SCARP is a supplement to the drives, auxiliary and TCMS systems of
Strukton-Systems. This program allows the user to communicate with the drive, auxiliary converters or
TCMS system for download of registrations, analyze registrations and configure the drive to meet the
customers requirements. During testing and commissioning the program is used to monitor and check
the drives behaviour.

The program is meant for the customers maintenance crew as well as for the engineers of Strukton
Rolling Stock.

The communication between drive system and PC/Server is based on Ethernet or Serial
communication. The identification of the drive is via IP addresses or Comport.

4. Installation of Scarp
4.1 Installation of the Scarp User Interface
It is necessary to de-install all old Scarp versions.
It is not necessary to remove directory Strukton Rolling Stock from Program Files.

NOTE: SCARP error Version info differs after upload. This error is caused by a method in the .NET
framework which might not be available.
Please make sure that is installed (using configuration screen/software): .NET framework 3.5 SP1 or
3.0 SP2 or 2.0 SP2.

The .NET 3.5 Service Pack 1 framework can be installed using:


http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-
81da479ab0d7&displaylang=en

Run ScarpUISetup.msi (next next next)

Doc. no.: Error: Reference source not found Sheet: 6 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

4.2 Installation of the Scarp Service


Run ScarpServiceSetup.msi

Doc. no.: Error: Reference source not found Sheet: 7 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

4.3 User without admin rights


For a user without admin rights there are 2 possibilities:
1. Get (temporarily) admin rights from your administrator and install Scarp yourself.
2. Let your administrator install Scarp.

In both cases installation goes like this:


1. Administrator has to install the Scarp Service and the Scarp UI to the default directory as
mentioned in the previous paragraphs.
2. Administrator has to give Full-Control to all users in the security settings of the folder
C:\Program Files\Strukton Rolling Stock (Folder properties Security Tab select Users
Full-Control.

If there is no security tab:


1. Open Windows Explorer
2. Tools Folder options click on the View-tab. Go down and deselect Use Simple File
Sharing.

In case Windows Vista is used as operating system the User Account Control must be
switched off. With User Account Control switched on not all functions of SCARP are available.

Doc. no.: Error: Reference source not found Sheet: 8 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

4.4 Installation of Scarp for Remote Use
After installation there are two settings in the configuration of the UI; the RemoteClientIpAddress and
the RemoteServiceIpAddress. These have to be installed for remote use. The Client-User must have
Admin rights on the PC where the Service is installed.

4.5 Problems with Firewall

4.5.1 Windows XP firewall


Start Control panel
Select "Windows Firewall"
Select Exceptions
Select "Add Port" (Poort toevoegen).
Fill in the following parameters and select "OK"

4.5.2 Windows 7 firewall


When connecting to the boards using a cross-cable Windows assumes that you are using a public
network and will switch on the Firewall (Strukton policy). The Firewall will stop the ping and UDP
messages that are send from the boards to the PC with SCARP. To change the settings of the Firewall
follow the steps in the next chapters:

4.5.2.1 Allow the boards to ping the PC


Wanneer via de firewall en een cross-cable met SCARP wordt gewerkt verbreken de borden
(VIU/DCU) regelmatig de verbinding omdat de PING wordt tegengehouden en de borden dus denken
dat de verbinding weg is. Dit is vooral storend wanneer er veel software ge-upload wordt.
Dit kan eenvoudig opgelost worden door een extra regel aan de firewall toe te voegen:

Start Control panel (Configuration scherm).


Select System and Security (Systeem en beveiliging)
Select Firewall
Select Advanced settings (Gevanceerde instellingen)

Doc. no.: Error: Reference source not found Sheet: 9 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Select Inboud rules (Regels voor binnenkomende berichten);

Select New rule (Nieuwe regel)

On the first tab select Custom (Aangepast);

Doc. no.: Error: Reference source not found Sheet: 10 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

On the second tab select All programs (Alle programmas);

On the third tab select protocol type ICMPv4;

Doc. no.: Error: Reference source not found Sheet: 11 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Make no changes to the fourth tab;

On the fifth tab select Allow the connection (Verbinding toestaan);

Doc. no.: Error: Reference source not found Sheet: 12 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

On the sixth tab uncheck Domain and Private (Domein en Priv), keep Public (Openbaar)
checked;

On the last tab enter a name like SCARP_ping and click Finish;

Doc. no.: Error: Reference source not found Sheet: 13 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

4.5.2.2 Allow boards to send monitoring data


Start Control panel (Configuration scherm),
Select System and Security (Systeem en beveiliging),
Select Firewall,
Select Advanced settings (Gevanceerde instellingen),
Select Inboud rules (Regels voor binnenkomende berichten),
Select New rule (Nieuwe regel).

On the first tab select Port (Poort);

On the second tab select UDP and type 57793 in Specific local ports (Specifieke locale poorten);

Doc. no.: Error: Reference source not found Sheet: 14 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

On the third tab select Allow the connection (Verbinding toestaan);

On the fourth tab uncheck Domain and Private (Domein en Priv), keep Public (Openbaar)
checked;

Doc. no.: Error: Reference source not found Sheet: 15 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

On the last tab enter a name like SCARP_UDP and click Finish;

4.5.3 Kaspersky firewall

1. Open Settings

Doc. no.: Error: Reference source not found Sheet: 16 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

2. Select Firewall->Settings

Doc. no.: Error: Reference source not found Sheet: 17 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

3. Using the right Mouse button move ScarpService and ScarpUI to the Group Trusted.

4. In packet rules indicate that Any incoming ICMP is allowed

Doc. no.: Error: Reference source not found Sheet: 18 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

5. Close Kaspersky by clicking OK or Apply.

Doc. no.: Error: Reference source not found Sheet: 19 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

5. Starting Scarp
Copy the directory with the latest application software to any location on the PC. This is necessary
because Scarp compares the software versions on the PC with the versions on the boards.
Start Scarp from the desktop or via the Start button (Start Programs - Strukton Scarp UI):

Help-info about the concerning screen can be requested with Help Help:

The version of Scarp can be checked under Help About:

Doc. no.: Error: Reference source not found Sheet: 20 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

There are several login levels. On the right side of the bottom of the screen the login level is presented
(anonymous, customer or Strukton). For the Strukton login level a Software protection Dongle is
required. This document is written for users without a dongle.

Anonymous level
Upload new software
Download registrations
Inspect registrations

Customer Level
All rights as Anonymous level
Parameter change for selected (customer level) parameters
Fixation possible for selected (customer level) variables
Monitoring possible for selected (customer level) variables
Event monitoring possible

Strukton Level
All rights as Customer level
Parameter change for all parameters
Fixation possible for all variables
Monitoring possible for all variables

Login with UserName strukton and password strukton:

Select cluster:
It is possible to switch clusters using a dropdown box. The parent folder can be selected using a
folder chooser. All valid SCARP configurations below the Parent Folder can be selected using the
dropdown list. A directory containing a SDC*.xml file is considered to be a valid SCARP configuration.

Doc. no.: Error: Reference source not found Sheet: 21 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

6. Connecting to the boards


When a connection is made for the first time the connection wizard can be used. The connection
wizard is started from the File menu - Discovery - Discovery or with <Control> W. The connection
wizard will ask some before questions starting a discovery, the found settings are saved. After the
boards are found using the connection wizard then a normal Discovery <Control>F can be used.

6.1 Using the Wizard


Start the connection wizard with <control>W, the next dialog appears;
Select Serial port when you are using a serial Select Ethernet when using a ethernet cross
cable (RS232). cable or a router (also wifi routers).

Select the used connection and click Next,

Continued wizard when Serial port was selected;

Doc. no.: Error: Reference source not found Sheet: 22 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Select the serial port to which the boards are connected. If you are not sure, select all the possibilities,
however, note that serial ports, for example, infrared connections can cause very long delays.
Click Finish to start Discovery.

Doc. no.: Error: Reference source not found Sheet: 23 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Continued wizard when Ethernet was selected;

When you are using a cross-cable select Yes, the Else select No and click next if you are using a
write settings a shown, click Finish to start router.
Discovery.

When you know the IP address of the connected Else select No and click next,
board(s) select Yes and enter the correct settings,
click Finish to start Discovery.

Press Finish to start Discovery;

(When you are connected to more then one


router it is possible that you must change the
Discovery Start IP Address, default SCARP
selects the router with the highest IP Address).

Doc. no.: Error: Reference source not found Sheet: 24 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

6.2 Discovery of the Ethernet connection
When the Connection Wizard is used it will start the Discovery automatically, otherwise select File
Discovery Forced Discovery or press <control>F.

Answer Yes (Ja) if the next question appears:

The progress of the Discovery is displayed;

When discovery is completed a board can be selected, the selected cluster is visible in the boards
summary;

The following information per board is presented in the board list (all board in the configuration file are
shown);
- Present, Yes if the board was discovered,
- Mode, program mode, Application or BootLoader,
- MCU, DSP and FPGA version,
- Connected via, this column shows the IP address or Comport at the physically connected
board.
- Reg.; number of registrations,

Doc. no.: Error: Reference source not found Sheet: 25 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

- Status bits, bits that are set by the MCU.
The columns Mode, MCU, DSP, FPGA, Reg. and Status bits can be clicked to op the corresponding
screen.

The following information is presented in the bottom line;


- Discovery complete: the state of the discovery,
- D:\ProductReleases\SCARP 1.6.16 (24-2-2011)\SCARP CONFIG VIU_DCU: the selected
cluster,
- User: the login level.

6.3 Uploading configuration


Select Project Upload Configuration or press <control>U.

Scarp compares the configuration on the PC with the configuration on the boards;

Help-info about the concerning screen can be requested with Help Help:

6.4 Date and Time


The Date and Timebuttons are on the right side on the bottom of the Scarp configuration screen (see
previous screenshot).

The date/time setting can be checked with Get Date and Time:

Doc. no.: Error: Reference source not found Sheet: 26 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Set date and time can be selected, for example after placing of a new back-up battery. The local date
and time of the PC (for example GMT+1 with daylight saving correction, see the next figure) will be
copied to the connected board.

Always check the setting with Get Date and Time.

Note: Be aware that a Drivers Display Unit (DDU) can set the Date and Time of the boards
automatically (for example once every minute). The DDU always sets UTC DateTime (= GMT0 without
daylight saving correction). After manual setting of Date and Time with Scarp, the DDU will
automatically overwrite this setting with UTC DateTime.

6.5 Installation (=Vehicle) number


Check if the number under Board Selections contains the right vehicle number. In the previous
screen this is 000001.
If the number needs to be changed, fill in the right vehicle number in the Installation number field (on
the right side on the bottom of the Scarp configuration screen) and push Upload. The vehicle-number
under Board Selection changes.

In the following screenshot vehicle number 123456 is uploaded (Uploading installation number
completed successfully appears in the bottom line):

Close Scarp.

Doc. no.: Error: Reference source not found Sheet: 27 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

7. Loading software
Loading software is necessary when a VIU or DCU board is changed or when there is a software
version available.

The first 6 steps were already described in the previous chapters:


1. Start SCARP
2. Login with username strukton and password strukton
3. Select the directory and cluster which contains the current configuration
4. Download all registrations (see section 8.2) and delete all registrations
5. Select the directory and cluster which contains the new configuration
6. Perform a forced discovery.
7. Select Project Upload Configuration.

7. Select the file you want to load (in case of a different configuration between pc and boards the
differences are marked automatically);

8. Select Upload. The following screen will be appear. In case of a fault message repeat the steps
from point 5 onwards.

Doc. no.: Error: Reference source not found Sheet: 28 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Upload is finished when the following screen appears:

Project specific actions to be performed are described in the Release Note for the SCARP Config.

Doc. no.: Error: Reference source not found Sheet: 29 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

8. Registrations
8.1 Explanation on downloading registrations
In the control boards all registration signals use 1 byte for storing the data. When downloading
registrations the name and scaling information in the Registration Configuration file is added before
storing the registration to file.

An example is shown below.

On a control board the value of the 1st analog signal = 0x20 (=32 decimal)

Each SCARP Configuration contains a Registration Configuration file. In this file each registration signal is linked to a
name and scaling 1st analog signal is called BC_gamma_pct and scaling is 0; +100 (equal 0;255). The information in
this Registration Configuration is also uploaded to the board.

The Registration Configuration file is stored as XML as shown below:


<RegistrationSignal>
<ID>242</ID>
<BoardID>Dcu2</BoardID>
<SubDestination>Dsp</SubDestination>
<Name>BC_gamma_pct</Name>
<Type>Analog</Type>
<Position>1</Position>
<MinValue>0</MinValue>
<MaxValue>100</MaxValue>
</RegistrationSignal>

When downloading the registration info the information in the Registration Configuration file is used to name and scale
the values: BC_gamma_pct=0x20/0xFF * 100 = 12,55 [%]

This shows that when saving the registration file information the Registration Configuration file must
be matching the Registration Configuration information in the board. This is shown in Figure 1.

Figure 1 uploading config and download registrations

In order to ensure the correct information is saved in the registration file we recommend:
delete all registrations after downloading the registrations.
- Reduction of download time: only new registrations will be downloaded next time

Doc. no.: Error: Reference source not found Sheet: 30 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

download and delete all registrations prior to uploading a new SCARP Config
- this ensures that always the correct Registration Config file is used when
downloading the registration. So the scaling and names of all registration signals
are correct!

8.2 Performing download of registrations


Selecting Project Monitoring Current State or <control>S will open the monitor screen,
nn the monitoring screen select elect File Open Registration;

The next view will appear;

Doc. no.: Error: Reference source not found Sheet: 31 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

In the table on the left an overview is visible of all board, boards that contains registration are
highlighted. To retrieve registration click on Get next to the desired board. Click on Delete to remove
al the registration from a board.
When Get is clicked a filename dialog is displayed, select a filename or accept the proposed default;

After entering the filename the registration are downloaded and saved;

The registrations are now saved to the pc, so the on-board registration buffer can be cleared by
pushing button Delete!

8.3 Viewing and deleting registrations


The registrations can be viewed now;

Doc. no.: Error: Reference source not found Sheet: 32 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

8.4 Analyzing registrations offline


Open Scarp and login with strukton / strukton.
Select Project Monitoring Current State or type <control>S.
Select File Offline registrations or type <control>F.
Click on Open button and select the file you want to view.

Select Open Records from Disk and select the file you want to view:

With Select Record the record to analyze can be selected.

At first, the Date/Time of the record and the Trigger Fault (Fault that triggered the registration record)
are of interest. The tab Graphic show all existing fault detections, even the ones without a trigger of
the recording system.
With the Select Record dropdown box the next record can be selected.

Doc. no.: Error: Reference source not found Sheet: 33 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Or select Text to view selected analog and digital signals as a list:

Doc. no.: Error: Reference source not found Sheet: 34 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

8.5 Registration statistics
With the statistics function of SCARP the data from several registration file can be read and displayed.
The user can filter on fault type, cluster, loco number, board and date/time. A registration can be
opened directly from the list.

Open Scarp and login with strukton / strukton.


Select Project Monitoring Current State or type <control>S.
Select File Offline registrations or type <control>F.
Select the tab Statistics.

Click on Open records to select the root directory, default SCARP also scans the subdirectories;

When the registration files are read the user can make a selection;

By double clicking on a registration or pressing Enter a registration can be opened.

Doc. no.: Error: Reference source not found Sheet: 35 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

9. Event monitoring
Select File Open Event monitoring or <control>E;

The event history and the actual events are presented:

Update of the history takes a lot of processor power, so only the actual events can be published
continuously.

Doc. no.: Error: Reference source not found Sheet: 36 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

10. Variable monitoring


If the PC with the SCARP service is connected to a drive system, it is possible to monitor the actual
values of various signals. This can be done as numerical values or as a graphical presentation of the
signals over time.

File Open Boardnr Variable Monitoring or <control>M;

Doc. no.: Error: Reference source not found Sheet: 37 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

First a selection must be made of the signals which will be monitored. Selection is done by ticking the
signals in the left column of the field Value Selection. These signals then are continuously transferred
to the PC. A maximum set of 20 signals can be selected.
The name of the selected signals changes color. This will be equal to the trace color in the graphics
screen and column in the text screen.

Monitoring will start after Start Monitor button is clicked. It will take several second before the
monitoring actually starts and the values on the screens will be updated.

The following error will appear when you dont have local admin rights on your pc. Please contact your
ICT department to solve this problem.

Monitoring can be done in a single graph (Graphics based monitoring data), in text list (textbased
monitoring data) or actual values (Current Values).

The configuration can be saved with the Save Config button:

With the Read Config button this configuration can be imported again.

View the history as current values (the format of the values can be changed by right-click);

Doc. no.: Error: Reference source not found Sheet: 38 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

View the history in text (the format of the values can be changed by right-click);

Or view the history graphic (the range can be set with MinValue and MaxValue):

Doc. no.: Error: Reference source not found Sheet: 39 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

The history can be saved with the Save Bitmap button:

For special measuring purposes, up to 8 signals can be transferred via optical fibre connection to a
measuring system. This requires a fibre optic transmitter to be installed. The update frequency then
equals the sampling frequency of the control system. A special receiving box (DA-port) translates the
fibre optic signals into 8 separate voltage signals, which then can be displayed on a oscilloscope
and/or recorded by a measuring system. The last tab DA Port Settings selects the signals to be
transmitted and the scaling of those signals.

Doc. no.: Error: Reference source not found Sheet: 40 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

11. Monitoring/Editing Parameters

Selecting Project Drive Behaviour gives the following screen:

Download the parameters from the drive (Button Download from drive):

Doc. no.: Error: Reference source not found Sheet: 41 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Normally the parameters in the drive (right side) must be equal to the parameters from the Scarp
configuration (left side). Differences are colored grey.

Linked Scroll

The Linked Scroll will try to maintain the same parameters on the left and right pane at the same line.
It also works in horizontal direction, maintaining the same displayed columns in the left and right pane.
- buttons:
o Save: save parameters to board
o Load saved: load saved parameters into board
o Load default: load default parameters into board
- Define position of variable on monitor screen (current values)
o It is possible to drag and drop the labels of the variables in the current values pane
of the Monitor screen to change the order of display. This display order is also
retained when saving the configuration.

Doc. no.: Error: Reference source not found Sheet: 42 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Board and variable filtering in Drive Behaviour:

Doc. no.: Error: Reference source not found Sheet: 43 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

12. Settings
12.1 Setting the Discovery entrys for Ethernet manually;
When the Connection Wizard can not be used or is unable to discover the boards the IP address of
the board can be set manually.
A typical setup is shown in Figure 2.

Figure 2 Typical (wireless) setup for SCARP

The router will assign an IP-address to both cubicles. This address will typically start with 192.168.
Please refer to the routers manual for more info.

When the routers subnet is 192.168.0.x, then up to 256 P addresses might be assigned. Using the
subnet-mask it is possible to limit the number of IP addresses to be checked by SCARP for
connection.

When the router base address is 192.168.0.0 the cubicles according to Figure 2 might be assigned IP
addresses 192.168.0.1 (TRC) and 192.168.0.2 (AUX). When setting the subnet mask to
255.255.255.0 the entire address range of 192.168.0.0 192.168.0.255 will be scanned. In this
situation it is better to set the subnet mask to 255.255.255.252, so only range 192.168.0.0
192.168.0.3 will be scanned. In Figure 3 the entries of the configuration are shown;

Figure 3 Configuration items for IP range setup

When the button Settings is clicked a dialog box appears where the settings can be entered;

Doc. no.: Error: Reference source not found Sheet: 44 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

12.2 Connecting via cross cable


Preferably an ethernet cross cable can be used directly from the PC to a board without the use of a
router/switch. After approx. 30 seconds the fallback IP addresses become active and a direct
connection is achieved. In this case the Discovery StartIpAddress of 169.254.1.10 should be used.
The Discovery Netmask can be set to 255.255.255.255.

In case a router is used the settings of IP addresses are depending on the router settings.

Doc. no.: Error: Reference source not found Sheet: 45 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

13. Troubleshooting

13.1 Software size exceeded


If the following message popup at uploads:

This can be solved by increasing the maximum size of the files that is configured in the parameter
MaxDataBlocks in the Service Settings;

13.2 Variable Monitoring


When viewing variables, the values show up as zero or message Category doesnt exist is issued.

Cause:
The performance counters files have become corrupt. The performance counters are located at
%systemroot%\System32\ in two files named Perfc009.dat and Perfh009.dat.

Doc. no.: Error: Reference source not found Sheet: 46 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

Solution:
Retrieve the performance counter files from the Windows XP installation CD-ROM or Service pack
CD-ROM, then replace the original files. Update the registry as required.
Please note: these steps require administrator rights on the PC

1) Rename the original files


a. Rename %systemroot%\System32\Perfc009.dat to Perfc009.old
b. Rename %systemroot%\System32\Perfh009.dat to Perfh009.old
2) Locate the compressed file in the I386 directory
a. Perfc009.da_
b. Perfh009.da_
3) Use Expand.exe (located in the I386) directory to uncompress the files.
a. Expand -r Perfc009.da_ %sytemrot%\System32\Perfc009.dat
b. Expand -r Perfc009.da_ %sytemrot%\System32\Perfh009.dat
4) Use Regedit to modify the LastCounter and LastHelp Values
a. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Perflib
1. LastCounter = 1846 (decimal)
2. LastHelp = 1847 (decimal)
5) Use Regedit to search the following location
a. HKLM\System\CurrentControlSet\Services
b. Search for the Performance key
In every Performance Key found delete the following values if they exist
1. FirstCounter
2. FirstHelp
3. LastCounter
4. LastHelp

Doc. no.: Error: Reference source not found Sheet: 47 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

13.3 Windows 7 error message
When SCARP is run on Windows 7 for the first time the following message can pop-up;

Solution:
Start SCARP UI one time with administrator rights, the requested registry entry will be created, next
time SCARP UI can be started default.
To start SCARP UI as administrator;
- Navigate to; C:\Program Files (x86)\Strukton Systems\Scarp UI
- Right click on SCARPUI.exe
- Click Run as administrator;

13.4 Reading the board IP address from a router


When a router is used, the address of the board depends on the router. Normally a connection with the
router can be made (username, password = enter enter):

Doc. no.: Error: Reference source not found Sheet: 48 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

The DHCP Client List shows the connected addresses. In this example the discovery start IP-address
192.168.1.14 can be chosen. The DiscoveryNetMask must be set to 252 instead of 255 to create the
range from 192.168.1.14 to 192.168.1.17.

There are also freeware applications available (for example The Dude) that can scan for connected
IP-addresses.

Save the changed application settings by pressing the Save button.

Doc. no.: Error: Reference source not found Sheet: 49 of 50


Rev. no.: Error: Reference source not found
SCARP User manual

APPENDIX A MAIN MENU LIST

Doc. no.: Error: Reference source not found Sheet: 50 of 50


Rev. no.: Error: Reference source not found

You might also like