Professional Documents
Culture Documents
Van Coulsterweg 11
2952 CB Alblasserdam
The Netherlands
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
Strukton Rolling Stock Van Coulsterweg 11, NL-2952 CB Alblasserdam, The Netherlands
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
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
12. Settings 45
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
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
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.
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.
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;
On the second tab select UDP and type 57793 in Specific local ports (Specifieke locale poorten);
On the fourth tab uncheck Domain and Private (Domein en Priv), keep Public (Openbaar)
checked;
On the last tab enter a name like SCARP_UDP and click Finish;
1. Open Settings
2. Select Firewall->Settings
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:
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
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.
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.
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.
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,
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:
The date/time setting can be checked 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.
In the following screenshot vehicle number 123456 is uploaded (Uploading installation number
completed successfully appears in the bottom line):
Close Scarp.
7. Loading software
Loading software is necessary when a VIU or DCU board is changed or when there is a software
version available.
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.
Project specific actions to be performed are described in the Release Note for the SCARP Config.
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.
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.
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.
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
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!
Select Open Records from Disk and select the file you want to view:
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.
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;
9. Event monitoring
Select File Open Event monitoring or <control>E;
Update of the history takes a lot of processor power, so only the actual events can be published
continuously.
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).
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);
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):
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.
Download the parameters from the drive (Button Download from drive):
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.
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.
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;
When the button Settings is clicked a dialog box appears where the settings can be entered;
In case a router is used the settings of IP addresses are depending on the router settings.
13. Troubleshooting
This can be solved by increasing the maximum size of the files that is configured in the parameter
MaxDataBlocks in the Service Settings;
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.
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;
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.