29P-071167
29P-071167
29P-071167
Pi Workshop
USER GUIDE
Pi Workshop User Guide
July 2007
1
Disclaimer
Pi Research makes no representation or warranties of any kind whatsoever with respect to
the contents hereof and specifically disclaims any implied warranties of merchantability or
fitness for any particular purpose. Pi Research shall not be liable for any errors contained
herein or for incidental or consequential damages in connection with the furnishing, per-
formance or use of the software, associated hardware, or this written material.
Pi Research reserves the right to revise this publication from time to time, and to make
changes in the content hereof without obligation to notify any person of such revision or
changes.
A copy of the Pi Research Terms and Conditions of Sale is available on request, and in-
cludes a declaration of the warranty and limitation of liability which apply to all Pi Research
products and services.
WARNING: Pi Workshop contains software that allows the manipulation of data for
control, calibration, and analysis and uses mathematical modelling techniques to
simulate the action and response of a vehicle given data describing its character-
istics. Pi Workshop is designed for use by skilled professionals with experience in
working with engines and vehicles. Obtaining data for input and interpreting the
results produced by Pi Workshop are skilled functions; making modifications to
any vehicle, engine, or driver-related settings is a safety-critical activity and it is the
responsibility of the user of Pi Workshop to consider the safety and other implica-
tions of any such change.
Introduction........................................................................... 10
System Requirements........................................................... 11
Minimum PC system specification.................................................. 11
Networking...................................................................................... 12
Sixnet and Windows XP™.............................................................. 13
Getting started...................................................................... 17
The Pi Workshop package............................................................. 17
About operating systems................................................................ 18
Before you install the software....................................................... 19
Installing the software..................................................................... 20
Upgrading Pi Workshop.................................................................. 21
Units configuration.......................................................................... 22
Network Interface Card (NIC)......................................................... 24
Starting Pi Workshop............................................................. 31
Maximising the Workspace............................................................. 32
Workspace............................................................................. 35
Pi Workshop fundamentals............................................................. 36
The Archive Manager and Archive Assistant.................................. 38
Channels................................................................................ 43
Channel Properties......................................................................... 43
The Global Channel Database....................................................... 45
Viewing the Global Channel Database........................................... 47
Channel name filter........................................................................ 47
3
The Setup Organiser.............................................................. 51
Show the Setup Organiser............................................................. 51
Contents
Using the Setup Organiser............................................................. 53
Connecting to another user............................................................ 55
Selecting a Setup.................................................................. 59
To open a Setup Data Manager..................................................... 59
To select a Setup............................................................................ 60
Getting Started
Setting up Sigma Configuration ........................................... 61
Tell Pi Workshop what hardware you have.................................... 61
Setting the FSRs............................................................................ 65
Setup
Excitation modes............................................................................ 72
Configuring Selectronic I/O card..................................................... 73
Inputs – technical description......................................................... 76
Controls
User levels...................................................................................... 80
What are Connectors?.................................................................... 80
Creating a Connector..................................................................... 81
Port Propagation............................................................................. 87
Attaching a Sensor......................................................................... 88
Removing Sensors......................................................................... 89
Pi Server
Removing Sub-looms..................................................................... 89
Removing Connectors.................................................................... 89
Sensor Drag-and-drop.................................................................... 90
Loom Drag-and-drop...................................................................... 91
Looms............................................................................................. 91
The Loom....................................................................................... 92
Ports, Port Addresses and Quantities............................................ 93
Index
Connector Operations.................................................................... 94
Locking........................................................................................... 98
Loom Report................................................................................... 98
5
Setting up GearNumber . .................................................... 164
Tell the MCU which Channel measures Gear.............................. 164
Contents
Calibrating GearNumber from an ECU Channel.......................... 165
Calibrating GearNumber from a direct input via a Sensor............ 171
Getting Started
Setting up a Tachometer ................................................... 177
Tell the MCU that you want a Tacho input................................... 177
Setting up the Loom to receive the Tacho.................................... 180
Attaching a Sensor....................................................................... 185
Setup
Logging Triggers........................................................................... 192
Beacons....................................................................................... 194
Wheel Setup................................................................................. 196
Track and Fuel.............................................................................. 198
Fuel Capacity................................................................................ 199
Effective Boost.............................................................................. 200
Controls
Qualifying Mode............................................................................ 202
Pi Server
Logging Inventory......................................................................... 210
Events.................................................................................. 221
Index
Overview....................................................................................... 221
Event storage............................................................................... 223
7
Registers.............................................................................. 333
Overview....................................................................................... 333
Contents
Example - a simple filter............................................................... 334
Example - a counter resetting at the Beacon............................... 335
Example - last Beacon code seen channel.................................. 336
Example - a Beacon counter........................................................ 337
Potential problems with registers.................................................. 338
Getting Started
Math Channels Operators and Functions........................... 340
Operators...................................................................................... 340
Functions...................................................................................... 341
Setup
Real Time Data Manager states................................................... 353
Controls
Graphing Controls Toolbar........................................................... 361
General Controls: Tabular Lap Report Control............................. 362
General Controls: Events Control................................................. 365
General Controls: Hot Link Control............................................... 366
General Controls: Channel Display Control.................................. 369
General Controls: Text Control..................................................... 375
Pi Server
General Controls: Graphic Control............................................... 376
General Controls: Knob Control................................................... 377
General Controls: Button Control................................................. 392
General Controls: Slider and Thermometer Control..................... 396
General Controls: Bit Indicator..................................................... 397
Using the Bit Indicator: An example............................................. 402
Index
Graphing Controls: 20-Second Char Recorder............................ 404
Graphing Controls: Autoscaling X-Y Graph.................................. 417
Graphing Controls: 10-Bin Histogram........................................... 418
Index.................................................................................... 453
9
Introduction
Pi Workshop gives you what you need to set up a Pi Sigma System; from the logging rates
to the display, everything you need is included in the package.
A key feature is the ability to use data from many different sources. This is implemented
through integration with third-party applications, industry standard software tools, and exist-
ing Pi Research software, including:
n Pi Toolbox – data analysis for data from any source.
n Pi Setup – database for the storage and organization of tasks associated
with race car preparation.
n Pi Sim – powerful and versatile race car performance simulation.
n Pi AutoCal – on-line calibration editor for editing and optimizing control sys-
tem data maps.
n Pi AutoSim – bench-top system for simulating an engine or power train to
test control systems.
Pi Workshop is designed to run on a PC under the Windows 2000® or Windows XP® operat-
ing systems. The following list gives information on a minimum specification. As with any
computer system, the accepted rule of thumb is to get the best that you can afford providing
it meets at least the minimum PC system specification.
Minimum PC system
specification
NIC network
PC
NIC to Pi Sigma System (10/100 Base T)
network
11
n keyboard and mouse.
n Windows 2000® or Windows XP® operating system.
Networking
Sixnet and
Windows XP™
If you are using Windows XP™, contact Pi Research for information on how to obtain a
copy of this updated driver file. information with the server PC, it is important that the server
PC is fitted with two Network Interface Cards; one providing point-to-point connection to Pi
Sigma and the second providing general network connectivity.
13
14 Pi Workshop User Guide
Getting Started
Getting started
Getting started
This section explains how to get started with Pi Workshop. It applies to versions of Pi Work-
shop that have been supplied with a default template which was created by Pi Research to
meet your minimum requirements. This will be installed into the correct directory when you
Getting Started
install the software onto your PC. It contains all the information required to enable you to
send a setup to your car. You may need to make some minor changes to the setup such
as entering a driver name or zeroing your sensors.
The Pi Workshop
package
Getting started 17
About operating
systems
The preferred operating systems for Pi Workshop are Windows 2000™ and Windows XP™.
Although Pi Workshop will run under Windows 98 and Windows NT Pi Research no longer
supports these operating systems for running Pi Workshop.
Pi Workshop uses Microsoft core technology that is not provided with a normal Windows
installation. The installer automatically analyses your PC and installs the core files that are
required. Pi Workshop uses
n Data Access Objects (DAO)
n Common Controls
n Distributed Communications (DCOM)
Data Access Objects (DAO)
Data Access Objects (DAO) allows applications, and in this case Pi Workshop, to read and
write Microsoft Access database files (.MDB).
Common Controls
Pi Workshop uses Common Controls enhanced dialog support provided by Windows to
ensure consistent operation.
Windows 2000™
If you are running Windows 2000™, the installer installs everything you need to run
Pi Workshop.
Windows XP™
If you are running Windows XP™, the installer installs everything you need to run Pi Work-
shop except for the Sixnet driver. Sixnet is a transport protocol that Pi Workshop uses to
communicate with a Pi Sigma System. The standard Sixnet driver installed with Pi Work-
shop is not compatible with Windows XP. An updated Sixnet driver is available which is
compatible. If you are using Windows XP™, contact Pi Research for information on how
to obtain a copy of this updated driver file.
This section gives information about your Pi Workshop CD-ROM and describes how to
install Pi Workshop on your PC hard disk and start the application.
Before you install Pi workshop for the first time you should:
n ensure that your PC meets the minimum PC system specification.
Getting Started
n make backup copies of important files.
n for the PC you designate as the server PC, ensure that you have two Ether-
net Network Interface Cards correctly installed.
The Pi Workshop installation application can detect Network Interface Cards and makes
the setup of these cards easy.
Getting started 19
Installing the software
Before installing the software log in to the local PC either as an administrator or using your
personal login so long as you have administrator rights to your local PC. The installation
process requires administrator rights to install some files.
Before installing the software, log in to the local PC either as an administrator or using your
personal login so long as you have administrator rights to your local PC. The installation
process requires administrator rights to install some files.
Before installing an up-grade of Pi Workshop, you must uninstall the current version. The
installer software on the Pi Workshop CD-ROM scans the hard disk searching for existing
Getting Started
versions of Pi Workshop. If it finds a version of Pi Workshop, the Uninstall button appears
in the Pi Research Software Installation dialog box.
To install an upgrade:
1 Close any applications that are running including the MS Office Toolbar, screen
saver, and any antivirus software.
2 Insert the Pi Workshop CD-ROM into the CD-ROM drive.
The Pi Workshop CD-ROM has a self-starting installer.
3 Click Pi Workshop Uninstall to uninstall Pi Workshop.
4 Select the Automatic option. This performs the uninstall of Pi Workshop.
After the uninstall has completed the Pi Research Software Installation dialog box
re-appears.
5 Click Pi Workshop Install to install Pi Workshop.
6 Follow the on-screen instructions.
Getting started 21
Units configuration
If a new CUSTOM.CAB (new default settings for your team) has not been included in the
upgrade, the Setup libraries in Pi World are not changed. However, the Units Configuration
(units for Wheel setup etc.) will default to Imperial units. If required, you can reset the Units
to your own default requirements.
Getting Started
Edit Entry dialog box
Getting started 23
Network Interface Card
(NIC)
Note: You need only to follow this section if you are installing Pi Workshop on the PC
that will communicate with your Pi Sigma system (usually referred to as the Server PC).
To communicate with a Pi Sigma system you must have an Ethernet Network Interface
Card available that is not being used for any other network communication.
The installer scans the PC hardware configuration, and shows the Network Interface Cards
fitted in the PC, and suggests the Network Interface Card to which you can connect your
Pi Sigma system.
Getting Started
Setting DCOM
properties in
Windows XP
1 On the Taskbar click Start • Run • and type dcomcnfg. The DCOM configura-
tion application starts. The Component Services window appears.
Getting started 25
3 Double click the Computers folder. The My Computer icon appears.
Getting Started
2 Double click DCOM Config folder. A list of applications appears.
3 Right click on a Pi application. A properties dialog box for that application ap-
pears.
4 Set the Authentication Level on the General page of the dialog box to De-
fault.
5 Click OK. The dialog box closes.
6 Repeat steps 3, 4 and 5 for all of the Pi applications in the list.
7 Close the window.
Getting started 27
Setting DCOM
properties in
Windows 2000
1 On the Taskbar click Start • Run • and type dcomcnfg. The Distributed COM
Configuration Properties dialog appears.
Getting Started
Properties page for PiArchiveServer Class
4 In the Authentication Level text box choose Default from the list.
5 Click OK. The page closes and the Distributed COM Configuration Properties
dialog Applications page re-appears.
6 Repeat steps 2, 3, 4, and 5 for the remaining Pi Applications.
Getting started 29
Now set the Default Property for the Applications.
7 Click the default Properties tab.
Getting Started
Pi Workshop-Book default window
The window has no information as this is the first time you have run the software. You must
now select the default template which has the minimum requirements for your Pi Sigma
System.
2 Click Create a New Template or Workbook on the Getting Started - Pi Work-
shop window. The New dialog box appears.
The New window will display your default template which was created by Pi Research.
3 Click on the .pwt file. Your default template is loaded into the Pi Workshop
window, and Pi Server software is automatically started.
Getting started 31
Maximising the
Workspace
Status Bar
The status bar gives information about Pi Workshop commands. As you move the pointer
over command buttons and through menus, you’ll see a description of the command in the
status bar at the bottom of the screen.
You may find it useful to hide the status bar to increase the amount of available screen
Workspace.
Windows Taskbar
Windows has a taskbar usually at the bottom of the screen. The Taskbar is where you’ll
find the Start menu. The taskbar further consumes screen Workspace, and you may find
it useful to hide the taskbar.
Getting Started
Unlocked mode
In Unlocked mode, Pi Workshop lets you open and create cards and assemble controls
to perform specific function. In Unlocked mode, a collection of one or more cards is called
a template. A collection of one or more cards in unlocked mode is called a Workbook
Template.
Locked mode
Workbooks are collections of cards with various controls that let you view data from differ-
ent sources. The Controls on a card are associated with Data managers and Channels.
Only when a control has an associated Data Manager and channels is the control capable
of displaying or manipulating data.
A collection of one or more cards in Locked mode is called a Workbook. Workbooks are
created from unlocked templates.
By default, the storage path for Workbook Templates is in the Templates folder in the Data
Directory C:\Pi World\Data Directory\Templates. The default storage path
for Workbooks is C:\Pi World\Data Directory\Workbooks.
If you want to create a new folder for your Workbook Templates or Workbooks, you’ll need
to go to Explorer and create a folder before you can use the Tools • File Locations… to
change the storage path.
Getting started 33
Workspace
Menu Bar
Cards
Getting Started
that have ever been ‘seen’ N Managers
by the system. The N Layout
dock
Channel Database can be N Controls N Server
repositioned to make Toolbars can be
more efficient use of repositioned to make
available screen more efficient use of
workspace. Dragging the available screen
pane into the work space workspace. Dragging a
makes it float; dragging to toolbar into the work
the edges of the screen space makes it float.
fixes the pane in position.
Drag to
float. Channel
Database will only
Channel Parameters
dock at right-hand
and bottom edges This area shows
of the workspace important information
about each channel
selected in the Channel
Archive Manager
Getting started 35
To save a Workbook Template:
1 Make sure that you are in Unlocked mode.
2 Choose File • Save or File • Save As….
To save a Workbook:
1 Make sure that you are in Locked mode .
2 Choose File • Save or File • Save As….
File extensions
■ Pi Workshop Workbook files have a .pww file extension
■ Pi Workshop Template files have a .pwt file extension.
Pi Workshop
fundamentals
Cards
A card is a Workspace on which you assemble Controls to perform different functions.
Cards define how information is displayed on-screen. Collections of cards in unlocked
mode are workbook templates. Collections of cards in locked mode are workbooks.
Channels
Channels are simply the handles for data from a particular source. For example the data
describing the speed of an engine is the RPM channel.
Data Managers
Data Managers are software modules that present data from a particular source in a format
suitable for use with Pi Workshop. For each data source there must be an appropriate
Data Manager, for example, to use data from a telemetry system you need the Telemetry
Data Manager.
Getting Started
Getting started 37
The Archive Manager
and Archive Assistant
Archive Manager
Archive
001
Archive
002
Archive
003
Archives
An Archive is a database file that comprises
n the setup database
n Pi AutoCal database
n PC Private database
Archive
AutoCal Database
If you have installed Pi AutoCal then AutoCal data sets are stored in the AutoCal Data-
base.
Getting Started
PC Private Database
The PC Private Database is a compressed copy of the Setup and AutoCal database. PC
Private can be used by regulatory authorities to check for illegal control devices and code.
PC Private information is also included with datasets letting you analyse both logged data
and the setup information from which it was created.
Pi Sigma systems are very flexible systems. You can easily change many of the parameters
that determine how the system will operate. Each time you make a change to a particular
part of the archive, the Archive Assistant analyses the proposed settings and compares
the result with the information it has about the capabilities of your Pi Sigma system. This
method has several benefits:
n because the Archive Assistant operates interactively you can immediately
see the results of the changes you make.
n the configuration is calculated by the PC, so it is virtually impossible to send
an inappropriate setup to a Pi Sigma system.
Getting started 39
Distributing the Archive Manager
The Archive Manager is a separate application that can be installed on any network ‘client
PC’. The network can be LAN (Local Area Network) or even a transatlantic ISDN.
To edit an Archive you use Pi Workshop to interact with an Archive Manager on a network
PC and access a Setup database. The changes that you make on the local machine are
processed by the Archive Assistant and stored by the Archive Manager on the client PC in
preparation for sending to a Pi Sigma system by a Server PC.
Before you can send the default setup to the car you must ensure that the Pi Sigma Sys-
tem on the car is powered up and that the PC is connected to the download connector on
the car. Refer to the Pi Sigma System Hardware Reference supplied with your Pi Sigma
Getting Started
System for more information.
The Send button on the server toolbar window will be unavailable if your connection is not
correct and will be in colour if your connection is good. The Logger button traffic light will
go to green. Refer to the section Pi Server in this user guide for more information.
You have to select the default setup that Pi Research has created for you.
You can test the setup without driving the car. Make sure that the PC is connected to the
car.
Getting started 41
The Pi Sigma system now has a dataset which you can offload onto your PC and which
can be analysed using the Pi Analysis PC software.
In Pi Workshop, channels are either real or logical. A real channel is a channel that
originates from a real sensor. A logical channel originates from an application such as a
closed-loop control system or from the result of a mathematical operation.
Getting Started
Channel Properties
A channel is a piece of data with a label and a set of properties. Channel properties define
a channel and it’s behaviour when used with other applications and controls.
n User name – a text label that can be changed.
n Tag Name – a unique name that cannot be changed, and enables applica-
tions that require the channel to find it in the channel database.
n Quantity – what the channel measures.
n Units – the units for the measured quantity; for example V, A, K, Pascals.
n DPs – the number of decimal places to which the channel is displayed.
n Autoscale – a parameter that forces graph scales to automatically adjust to
the maximum and minimum channel values.
n Colour – the colour of the channel when used in a display control.
n Maximum – the maximum channel value that will display.
n Minimum – the minimum channel value that will display.
n Alarm Max – the maximum value that the channel is likely to reach under
alarm conditions.
n Alarm Min – the minimum value that the channel is likely to reach under
alarm conditions.
n Tel Max – this channel property is no longer used.
n Tel Min – this channel property is no longer used.
n Origin – the zero value for the channel value between Maximum and Mini-
mum.
n Target – a value that a channel is forced to during calibration and zeroing.
n Hidden – hides the channel from the channel database.
Getting started 43
Output Units
By default, Pi Workshop applies SI units to output quantities, e.g. downloaded data.
Quantity SI units
length metres
volume m3
velocity m/s
temperature Kelvin
time seconds
angle radians
angular velocity radians/second
pressure Pascals
acceleration m–2
voltage Volts
current Amps
mass Kg
force Newton
torque Newton metre
Getting Started
GCDB Channel list GCDB Channel groups
Getting started 45
How channels appear in the Global Channel Database
The Global Channel Database shows channels differently according to their ‘context’. The
context of a channel indicates where it exists, and how it can be used. The context of a
channel is shown by different type styles in the Channel List.
Getting Started
The Channel Database window appears docked to the right hand edge of the Work-
space.
You can re-position the Channel Database window by clicking on the name at the top of the
Channel Database window and dragging it to a new position in the Workspace.
Getting started 47
Looking after your Pi Workshop files
When you installed Pi Workshop on your PC, two main folders were created. One folder
contains all the application files and the other folder contains all your library files.
The library files are installed in C:\PiWorld and its sub folders. When you make any
changes to your setup, the files are stored in one of these sub folders.
Backup copies
It is important that you make backup copies of C:\PiWorld directory so that if you delete
files in error or your computer develops a fault, you can recover your files.
C:\PiWorld should only be backed up or copied when local Archive Manager is not run-
ning.
When the Archive Manager is running an icon is shown in the System Tray section of the
desktop Taskbar.
The Setup Organiser is closely related to the Setup Data Manager and enables you to
manipulate and store Setup databases and sensor calibrations.
Setup
Organiser
sig –ve
(0V) 3V
0V (Batt –ve)
The Setup Organiser above is showing the localhost libraries that were created from
the Custom.Cab when you installed Pi Workshop. These are read only folders contain-
Setup 51
ing a standard set of Pi Sensors (complete with part numbers and calibrations) as well as
each component of the default setup.
There are a number of components that can be dragged into the Setup Organiser Applica-
tions (APPs) such as Telemetry and then archived.
Maths channels can be dragged into the Setup Organiser as well as Sensors. These will
contain the calibration, but will not contain the input or output name.
Looms, or sub looms can also be dragged into the Setup Organiser. The loom will retain
the input and output name as well as the calibration.
The Setup Organiser has two working modes that determine the information it shows:
Library mode and Setup mode.
Library mode
In Library mode the Setup Organiser shows components of setups. These can be sensors,
math channels and setup applications. Components that are greyed are read only items
and serve as templates for your own design.
Setup mode
In Setup mode the Setup Organiser shows complete setup database files that can be used
with a Setup Data Manager.
If Setup Organiser is as shown above, you will only be able to take information from the
Setup Organiser as the folders seen are Read Only. To write to a folder you must create
a new folder.
Setup
The new folder pop-up menu options are relatively self-explanatory.
Import Sensor… will import a sensor from a *.ini file. This is the most useful way to
transfer calibrations on floppy discs etc. The *.ini file is limited to a size of 64K which
equates to 100 inputs and 100 outputs on one sensor.
A sensor can be dragged from a setup in Pi Workshop and saved in a read/write folder
for later use.
Setup 53
Note: If you want to copy a sensor into the library you must hold down the (Ctrl) key while
dragging, otherwise the sensor will be removed from the loom.
If a sensor is placed in this folder and right clicked, a list of options is displayed. If that sen-
sor is in a read only folder, it will grey out any re-writing options and display the following
window.
This is a read only sensor and it is not possible to delete, rename or cut the sensor. As
the folder is read only, it is not possible to paste into the folder. The standard library that
supports Pi Workshop has a read only folder named Sensors. This contains a list of all
sensors in the Pi Range. These are required by Pi Workshop to prompt the user with a
list of sensors when adding a connector to the loom. The Sensors folder also has a sub-
directory structure containing the same list of sensors arranged in categories defining the
type of sensor, such as temperature, displacement, pressure etc.
Double clicking on a sensor will display the sensor information. In the case of the read only
Pi sensors all the fields will be greyed out, however a custom made sensor can be edited
in the library. This is especially useful for changing and checking calibrations.
The Export sensor… option shown in the pop-up menu in the above window will export
the selected sensor into a *.ini format file.
The Setup Organiser is the main tool that is used for sharing information.
Setup
This Setup Organiser will display exactly the same setup as that below (localhost), but
it will be the information from another user.
Setup 55
Setup Organiser displaying ‘localhost’ library and ‘Another User’ library
The Another User library includes their read only library and their personal libraries.
WARNING: It is possible to delete their information, and for them to delete yours.
If Another User has a sensor or setup (e.g. logger setup) that you wish to use, the item
can be dragged straight onto your setup, or it can be dragged into your library.
Setup
To create a setup identical to another but with a different name:
1 Right click on the setup you want to duplicate.
2 Select Create Duplicate… from the pop-up menu.
3 Enter a name for the duplicate setup.
Setup 57
To create a new setup:
1 Right click on ‘localhost’ and select New Setup… from the pop-up menu. The
Create a New Setup dialog box appears.
2 Enter a name for the new Setup, and then select the Setup you wish to base
the new Setup on.
If none is selected, <Clean Setup> will be automatically chosen.
The other options in the pop-up menu allow you to remove this connection, or change the
archive manager that this connection is pointing to.
Further functionality of the Setup Organiser can be found by right and left clicking on com-
ponents and folders.
This section describes how to choose an existing setup or create a new setup.
1 Click the Sigma Setup Data Manager button on the Managers Toolbar or
choose Insert Sigma Setup Data Manager.
Setup
An empty Setup Data Manager is displayed in the Data Manager pane.
The Setup Data Manager will try to connect to either the localhost (i.e. your computer)
or a remote machine (which ever Pi Workshop was last connected to.)
Setup 59
To select a Setup
1 Select <No Setup> and right click (or press (Shift) + (F10)). A pop-up menu ap-
pears.
2 Choose Select Setup…. If this is greyed out select Archive Manager… and
then select localhost. The Setup Manager appears.
5 Enter a name for the new Setup, and then select the Setup you wish to base
the new Setup on.
If none is selected, <Clean Setup> will be automatically chosen.
This section gives information on how to set the Sigma Configuration so that it matches
the Pi Sigma hardware setup. As Pi Sigma is such a flexible system, operating around a
network, Pi Workshop needs to know what Pi Sigma hardware it is setting up.
1 Click on the Toggle Data Manager button on the Managers Toolbar or choose
View • Data Manger Pane. The Data Manager Pane will appear.
2 In the Setup Data Manager Apps branch double click on Sigma Configura-
tion. The Sigma Configuration window appears.
Setup
Sigma Configuration window
This is the basic setup that is the bare minimum required to send a setup to the MCU.
Setup 61
If you are setting up a Pi Sigma system with an SCU:
1 Right click on Setup and select ADD SCU from the pop-up menu. The Slave
Control Unit Properties dialog box appears.
2 Complete the dialog box.
During editing of the configuration, you must add the I/O cards that are in your Pi Sigma
MCU (or SCU).
Setup
The rest of the I/O cards fitted in your system must be added.
4 Right click on Logger and select Add IO Card.
An MCU3 normally has three Selectronic cards fitted, so the process should be repeated
the required number of times as detailed in the table below.
I/O card name I/O Card type MCU card slot number
Selectronic 1 Selectronic 1
Selectronic 2 Selectronic 2
Selectronic 3 Selectronic 3
Setup 63
This will make the tree look as displayed below.
If other I/O card types are added, such as LVDT cards, they should be named accord-
ingly.
Note: If you have an MCU5 system you will have to repeat the process for the required
number of times to fill each card slot.
Pi Sigma has a number of FSRs (Fixed Synchronous Requirements). These are channels
that are included in the Logger card and perform certain pre-defined functions. An example
of this is EngineSpeed. This is the channel that when associated with Start and Stop Log-
ging criteria, will allow the MCU to Log. Also, EngineSpeed is the channel that the MCU
uses to operate the shift lights.
The FSRs are stored in the Logger Boxcode. Therefore, the setup must know what Box-
code will be used so that it can produce the suitable FSRs for that setup.
Setup
figuration. The Sigma Configuration window appears.
2 Right click on Logger and select Set Code Build.
If your PC has been connected to an MCU, a list of boxcodes will appear in the Application
Buildstamp dialog box.
3 Select the boxcode that is in the MCU that the setup was been created for.
If your PC has never connected to an MCU it will not have uploaded the Buildstamp and
the associated list of FSRs.
Setup 65
You can import a Boxcode.
To import Boxcode:
1 In the Sigma Setup Data Manager Apps branch double click on Sigma Con-
figuration. The Sigma Configuration window appears.
2 Right click on Setup and select Codebuild Manager. The Codebuild Manager
dialog box appears.
To Export a Boxcode:
1 In the Sigma Setup Data Manager Apps branch double click on Sigma Con-
figuration. The Sigma Configuration window appears.
2 Right click on Setup and select Codebuild Manager. The Codebuild Manager
dialog box appears.
3 Select the boxcode from the BuildStamp list.
4 Click the Export button. The Save As window appears.
5 Use the Save As window to find a location to save the boxcode file.
The boxcode is stored as a *.fsr file and is relatively small so could be transported on
Floppy disks etc.
Once the FSRs are set up, and the Setup knows what MCUs and cards are included in the
hardware, you are ready to start creating a loom and adding sensors.
This section describes how to configure the Selectronics I/O card in Pi Workshop. The
Selectronics I/O card is one of several signal conditioning cards available for Pi Sigma
Systems.
Overview
Setup
n eight excitation feedback ports, four measuring the actual excitation voltage
and four measuring the excitation current
Two of the Groups have grounds for high power use and the other two Groups have
grounds for low power use.
In addition to measuring just voltage, some of the channels can be configured to directly
interface with RTDs and current output sensors. The following tables summarise the input
functions of each channel in the groups.
Setup 67
Selectronic I/O card input functions
Input Excite Excite options Type Mode Gain ADC ref Special
1A EXC1 0.5A unregulated BATT Differential Bipolar or 0–640 Bipolar Absolute None
OR Unipolar 0–8 Unipolar
5.0–10V regulated
1B EXC1 0.5A Unregulated BATT Single ended Unipolar 0–8 Unipolar None
OR
5.0–10V regulated
Group 2 - Inputs 2A an 2B
Input Excite Excite options Type Mode Gain ADC ref Special
2A EXC2 5.0–10V regulated Differential Bipolar or 0–640 Bipolar Absolute/ RTD
Unipolar 0–8 Unipolar Ratiometric
2B EXC2 5.0–10V regulated Single ended Unipolar 0–8 Unipolar RTD
only
Input Excite Excite options Type Mode Gain ADC ref Special
3A EXC3 5.0–10V regulated Differential Bipolar or 0–640 Bipolar Absolute/ None
Unipolar 0–8 Unipolar Ratiometric
3B EXC3 5.0–10V regulated Differential Bipolar or 0–640 Bipolar Current
Unipolar 0–8 Unipolar (0–20mA)
Input Excite Excite options Type Mode Gain ADC ref Special
4A EXC4 5.0–10V regulated Differential Bipolar or 0–640 Bipolar Absolute/ None
Unipolar 0–8 Unipolar Ratiometric
4B EXC4 5.0–10V regulated Differential Bipolar or 0–640 Bipolar Current
Unipolar 0–8 Unipolar (0–20mA)
Explanation of the headings in the Selectronic I/O card input functions tables are given
below.
Input1A.02.03.16
where:
n Input1A refers to the channel
n .02 refers to the Node (02 is an MCU, 05 is an SCU)
n .03 refers to the Card number (0-5 where 0 is always the digital I/O card)
n .16 is a unique number assigned by Pi Workshop PC Software
Excite
The Excite output associated with that Group. This is loom dependant but normally EXC1
is for Group 1, EXC2 is for Group 2 and so on.
Setup
Usually when the engine is running this will be okay (because the alternator voltage will be
around 14 V,) however care must be taken when the car is on the pad when calibrating.
The EXC outputs are rated for a 120 ohms load. i.e. 100mA at 12V or 40mA at 5V.
Type
Differential means that there is a signal –ve and a signal +ve. Single ended means that the
signal –ve is grounded on the card.
Generally, only low current sensors should be used with single ended inputs. These types
of input are suited to temperature or pressure sensor where absolute accuracy is not
imperative.
They are also useful for heavy current sensors. With heavy current sensors the signal
–ve is connected to the sensor GND at the sensor – this compensates for any ground
difference.
Setup 69
Mode
Unipolar means that the input can only measure positive signals.
Bipolar means that the input can measure both positive and negative signals.
Gain
Unipolar channels can be programmed by the user to have a gain from 0 to 8.
Bipolar channels can be programmed by the user to have a gain from 0 to 640.
ADC ref
There are two types of sensor available, absolute and ratiometric.
Absolute sensors are usually active sensors, such as accelerometers, which have an inter-
nal voltage reference or regulator and are unaffected by drift in the excitation voltage.
Ratiometric sensors, such as potentiometers or strain gauges, are affected by the excitation
voltage. If you double the excitation voltage, you double the signal voltage.
In ratiometric mode the Selectronics I/O card monitors the excitation voltage and compen-
sates for any drift. This is useful for strain gauges where the gains are high, and where the
excitation voltage can be increased (e.g. from 5V to 7V) to give more output.
In ratiometric mode the calibration is unchanged even when the excitation is increased. This
means that you can decrease the gain and improve the signal to noise ratio.
Special
Some inputs can accommodate special sensors e.g. RTDs and Current output type of
sensor. Selecting Current operation limits the possible configurations of a Group. If inputs
3B or 4B are set to current input, then inputs 3A or 4A must be bipolar. Ratiometric mode
is not available.
Although the Selectronic I/O card is highly configurable there are several limitations
imposed by setting up a particular channel in a certain way.
Constraint 1
Because each group (1, 2, 3, or 4) shares an excitation, sensors attached to input A and
input B of the same group must require the same excitation.
Constraint 2
You can mix and match gains with two exceptions:
n If one of the channels in a group has unity gain (i.e. 0 to 5 V, or +/- 2.5V)
Setup
then the other channel in the group must also be set with unity gain.
n For the single ended inputs, 1A and 2A they must both be either unipolar or
bipolar. Changing one automatically changes the other.
Constraint 3
Selecting Current operation limits the configurations possible in each group.
n If 3B or 4B are set to current input then 3A or 4A must be bipolar and Ratio-
metric mode is unavailable.
Setup 71
Excitation modes
The figure above also shows the different excitation modes (always on, battery good, and
so on.)
These are OR’ed together. This means that in the example above the excitation will be on
when the engine is running OR the car is moving OR the box is logging OR the PC com-
puter is plugged in OR any combination of these four.
Excitation Feedback
In addition to the input channels themselves there are 4 excite voltage and 4 excite current
ports. You do not have to configure them to work.
These ports can be used to indicate if a sensor is broken. They are named in Pi Workshop
in a similar way to the input channels themselves i.e. :
Voltage ADC 0 – 1.02.03.25
Current ADC 0 – 1.02.03.29
ADC 0 refers to EXC 1, .02 is the node, .03 is the card, and .29 is a unique identifying
number that Pi Workshop allocates.
You select the settings on the Selectronic Cards by opening the Sigma Configuration. Refer
to the Selectronic I/O card input functions tables for information on the options available.
Setup
Sigma Configuration dialog box
2 Right click on the card and select Properties…. The Selectronic IO Card
properties box appears.
Setup 73
Selectronics IO Card properties box with I/O card tab selected
The Name text box displays the name of the card as it appears in the Sigma Configuration.
The Card Slot Number displays the card slot number in the MCU that the card occupies.
3 Click the tab for the Group you wish to configure.
4 Select the power supply Type and Volts for the type of sensor you are us-
ing.
5 Set the Input range of the sensor.
Amplifier gain is set to achieve the input range specified. The ports are automatically nor-
malised, or scaled so that the raw data from the card will always be in Volts.
Selectronic Cards have special modes for particular sensors, e.g. RTD, Current Input.
Setup
Selectronic IO Card properties box with Group 2 tab selected
Ratiometric sensors (i.e. non active), e.g. a potentiometer, can be run in Ratiometric mode.
In this mode the excitation drift is corrected and very accurate readings can be taken.
Setup 75
Inputs – technical
description
All the inputs of the Selectronics I/O cards are all differential inputs internally. A differential
input measures the difference in voltage between two pins, sig +ve and sig –ve.
Differential inputs
If sig +ve is a higher voltage than sig –ve then the output is a positive measurement. For
example:
sig +ve
sig –ve
2V 5V
0V (Batt –ve)
Unipolar inputs
Unipolar means that the measurement range (say 5V) is only positive, so if sig +ve
was a lower voltage than sig –ve the output would be 0V. But in bipolar mode the
measurement range (say 5V) is split between positive and negative, giving a range of
–2.5V to +2.5V, so:
sig –ve
2V 1V
0V (Batt –ve)
Representation of a bipolar input
The output would read –1 volt, because the difference in voltage is 1 – 2 = –1.
Setup
sig +ve
sig –ve
(0V) 3V
0V (Batt –ve)
If you have any questions about these diagrams please contact Pi Research.
Note: Max range is confined by the power supply rails, which are +12V. So no signals
outside around +10 Volts (relative to the box supply –ve) can be measured.
Setup 77
78 Pi Workshop User Guide
Sensors and looms interface
Getting started
Setup
Pi Workshop window
In the above figure below the Apps folder lie two looms, one for math channels and one
for sensors and actuators.
Setup 79
n A Math Channel takes one or more channels as inputs, applies a formula
and outputs a channel.
n A Sensor takes one or more ports as inputs, applies a calibration and out-
puts a channel.
n An Actuator takes a channel as its input and outputs a port.
User levels
So that most of the complexity of looms is hidden from the average user, operations are
organised into three levels of difficulty. Day-to-day operations such as calibrating sensors
are classed Standard, so that any user may perform them. Operations which may break
the system, such as reorganising the loom and altering its configuration are classed Expert,
and are disabled from most users. An intermediate level, Advanced, caters for operations
of medium difficulty.
The user level, which is the highest level of operation available at a particular moment, is
set using the Pi User Level Selector tray application on the main Windows task Bar.
Pi Workshop Settings
Right-click on the icon to show a menu with the user levels. The current level is
checked (✓).
An example of creating connectors for the Front and Rear loom branches follows.
1 Right-click on the Pi Workshop Settings icon on the Windows task bar. The
Pi Workshop Settings pop-up menu appears.
2 Click the User Access Levels tab and select Expert.
Connector creation can break the loom, so it is forbidden for the Standard and Advanced
levels.
The Loom branch is labelled “Loom : <NC>” which means that no sub-looms or sensors
are connected to that point.
3 Right-click on Loom and select Attach Connector… from the pop-up menu.
The Attach Connector wizard appears.
Setup
Connector Wizard first page
Setup 81
4 Click Next>. The Summary dialog box appears.
This page is used to set the port configuration of the connector. For the time being, leave
the connector empty.
8 Click Finish and the new connector appears on the loom.
9 Repeat the process to add a Rear connector.
The connectors are shown with red crosses to indicate that they are broken. If you hover
the mouse over one of them some diagnostic text is shown:
The port list is blank for the time being, so ignore the message. The connectors are also
labelled <NC> as seen before at the loom top.
In this example a sensor to measure the front left wheel speed will be attached. This will
connect to a connector which branches off the Front loom, and is called FL Wheel 1.
10 Right-click on the Front loom. The Attach Connector Wizard appears.
11 Click Sensor… to create a connector for a particular sensor.
The Select A Template dialog box appears.
Setup 83
12 Select the FL Wheelspeed Sensor and click OK.
A connector is a means to connect a sensor to the loom. A sensor requires a number of
input ports of certain quantities, and ports meeting the sensor’s requirements must be
present on a connector for it to be compatible with that sensor. Select the relevant sensor
as a template. The connector wizard then examines the sensor and displays the list of port
types which it expects.
The name of the template sensor is shown on the Attach Connector Wizard. Make sure
that the correct one has been selected – once the Next> button has been clicked it will not
be possible to go back and select a different sensor.
13 Click Next>. Enter the connector name FL Wheel 1.
14 Click Next> again.
The wizard has determined that you need to select a port of quantity delta-time (∆t) and a
port of user type (u) to satisfy the sensor.
15 Double-click the first quantity in the list to select a port.
Setup 85
18 Click Finish to create the connector.
The connector is valid, so it is not shown with a cross. A dark green connector is shown
because the system is set up to show connectors with one time input and one user type
input in that colour.
A physical loom connects sensors to the Pi Sigma system’s ports using a branching net-
work of wires. If the loom is cut at any point and a connector spliced in, the port to sensor
wiring appears on both sides of the break.
In the software version of the loom, the wires are represented by a trail of ports from a
sensor to the top of the loom. For instance, the connector which you have just created
uses port Digital 2.02.00.24. When this port was added to the connector, references to it
were copied up the loom to its root. In this way, the loom can be broken at any point and
reconnected correctly.
Setup
This is the port configuration for the Front connector. Note that it is identical to the con-
figuration for FL Wheel 1. Also note that the port configuration is the correct one for a dark
green connector icon, hence Front has the same icon as FL Wheel 1.
Setup 87
Attaching a Sensor
Sensors compatible with the connector are listed. Note that two different icons are shown
in the list. Those with dark green splashes are sensors explicitly compatible with the con-
nector. Those with grey splashes are generic and will take any list of ports. If one of those
is selected its port requirement becomes fixed at whatever the connector supplies.
2 Select FL Wheelspeed Sensor. The sensor properties dialog box appears
3 Enter a sensor name and comments. Click OK.
The connector icon changes to show that a sensor is present, and the label is now of the
Removing Sensors
Dragging a sensor from the loom to the library will remove it from the loom unless the (Ctrl)
key is held down, in which case the sensor is removed from the loom and a copy of the
sensor is placed in the library.
Selecting the sensor and pressing (Delete) or right-clicking and selecting Remove Sensor
will destroy the sensor without saving a copy.
Removing Sub-looms
Setup
Dragging a sub-loom to the library removes it from the loom and saves it in the library. A
connector is left in the loom marked <NC>. Selecting a connector with a sub-loom con-
nected and pressing (Delete) destroys the sub-loom.
Removing Connectors
In Expert mode, selecting an empty connector and pressing (Delete) or right-clicking and
selecting Remove Connector destroys that connector. Note that the ports used by the
connector, which have been propagated up the loom, remain on the connector’s parent.
Setup 89
Sensor Drag-and-drop
Sensors can be moved around, onto and off the loom by dragging and dropping, or by cut
and paste. The possible operations are listed here.
n Dragging a sensor from the library to an empty, compatible connector at-
taches a duplicate to that connector. On dropping, the sensor’s property
sheet is displayed.
n Dragging a sensor from the loom to the library removes it from the loom.
Hold the (Ctrl) key to place a copy in the library.
n Dragging a sensor from a connector to another compatible connector moves
it. Hold the (Ctrl) key to attach a copy. Note that the copy must have different
output channel names for the setup to be valid.
n Dragging a sensor from the library to an occupied, compatible connector with
the left button is not allowed. If the right mouse button is used in the opera-
tion, a context menu appears on dropping with three options; the dropped
sensor can be used to re-calibrate the sensor in situ, it can completely
replace the original, or the operation can be cancelled.
Compatible sensors
A sensor is compatible with a connector if the connector’s and the sensor’s port lists are
compatible. The port lists are compatible if the quantities and ordering match. So, if a
sensor requires an input port of voltage quantity and an input port of user type, it will only
match a connector which has two input ports, one of voltage quantity and one of user type,
in that order.
If a sensor and a connector are compatible, their icons will be a matching pair.
Some sensors such as the Full Generic Sensor have no fixed port requirement until they
have been attached to a connector. The icons for such sensors cannot indicate a compat-
ible connector type. However, they will be available in the Attach Sensor dialog box.
Sub-looms can be moved off and onto the loom by dragging and dropping, or by cut and
paste.
Dragging a sub-loom off a connector and onto the library removes it. Hold the (Ctrl) key to
place a copy in the library.
A sub-loom can be dragged from the library onto an empty, compatible connector. It can
be right-dragged onto an occupied, compatible connector with the result that a context
menu is displayed. The options are to replace the current loom with the dropped one, or
to cancel the operation.
Compatible sub-looms
A sub-loom is compatible with a connector if its port list is a subset of the connector’s. Ef-
fectively, this means that the sub-loom has to start off on that connector. If in the meantime
Setup
any ports have been removed from that connector, it will be incompatible.
Looms
The Loom is an hierarchical collection of connectors. Its purpose is to facilitate the connec-
tion of sensors and actuators to the system. Typically, it will be organised to represent the
structure of the wiring loom on the car.
The Maths Channels loom is an hierarchical collection of math channels, organised into
folders.
Setup 91
The Loom
The I/O cards in a Pi Sigma system produce raw channels known as input ports and con-
sume channels known as output ports. To ease the connection of sensors, ports are or-
ganised into groups such that all the ports required by a sensor are members of the group.
These groups are known as connectors. When a sensor is dropped onto a connector, all its
inputs are specified. Ports can exist on one connector only, so there cannot be conflicts.
Connectors are arranged hierarchically into functional groups known as sub-looms. For
instance, all the gearbox connectors may be grouped into a sub-loom. This permits the
replacement of related groups of sensors, such as when gearboxes are switched complete
with wiring.
Connectors connect either more connectors (and math folders) or one sensor or actuator.
A particular connector may be used in either role provided that it is compatible with the
sub-loom or sensor in question. Compatibility is discussed in earlier sections.
The ports contained by a connector are also present on that connector’s parent connector,
and so on up to the top of the loom. In this way, when a sub-loom is removed and replaced
its compatibility can be checked.
A port is a channel produced by an I/O card. It is referenced using a port address, which
usually forms part of its name. For instance, Digital 3.05.00.28 refers to a port with ad-
dress 05.00.28. In this address, 05 is the Tebnet node ID, which refers to an SCU. The
port is produced by an I/O card with ID 00 residing on that node. This port has an index of
28 on that card.
In addition, ports are referred to as either input or output, with the direction relative to the
Pi Sigma system. Input ports are typically generated by (physical) sensors, and output ports
are used to drive (physical) actuators.
The value of a port is calibrated to a particular quantity. For instance, a port connected to
a thermocouple will measure the voltage output from the sensor, so its quantity is voltage.
The purpose of a sensor is to calibrate this port value to the required measurement, which
Setup
in this case means converting the voltage into a temperature.
Setup 93
Connector Operations
Once a connector has been attached to a loom it can be manipulated through its property
sheet. In Expert mode, right-click on a connector and select Connector Properties… from
the pop-up menu.
Setup
Connector Properties Edit page
Use Insert Input and Insert Output to add input and output ports respectively to the end
of the list. Remove ports by selecting them one at a time and pressing (Delete). Rearrange
ports either by selecting one and clicking Move Up or Move Down, or by dragging a port
in the list. The port order is important for determining compatibility with sensors. A sen-
sor with one voltage port and one time port, in that order, will connect to a connector with
type voltage, time but not one of type time, voltage.
When a loom is migrated from an earlier version of Pi Workshop, the ordering of the port
list on each connector is random. For it to be possible to move similar sensors around
the loom, the port list orders must be edited. For instance, if a wheelspeed sensor takes
a time, user type connector then all wheelspeed connectors must be set to port order
time, user type. After a migration, it is likely that some of the connectors will have the ports
reversed.
Setup 95
Moving ports
Ports can be moved from connector to connector using the edit page. To add a port to
a connector which is already in use elsewhere, click Insert Input or Insert Output and
check Show Ports Currently In Use. The ports which are currently in use have an icon
overlaid with a red slash. Select the desired port, click OK, then close the property sheet.
The port will be added to the connector and all its parents up the tree, then removed from
the branch that it used to occupy. If the port was used by a sensor in the other branch then
that sensor will be broken.
Looms page
This page is used to rearrange sub-looms and has purely aesthetic effect.
Setup
Connector Properties Diagnostic page
Key page
This page is a key to different connector images. Port lists are mapped to connector images
by the file CONNECTOR.INI and the mappings are shown here. Each quantity is prefixed
by an i for input or o for output. The entry for default is a special case, used where no
image is specified.
Setup 97
Locking
In Expert mode, connectors can be locked and unlocked. Locking a connector prevents
the connected sensor or sub loom from being removed. Also, the connector and sensor
properties will be read-only. Locking applies in all modes, but only Expert users can modify
the lock status.
To lock or unlock a connector, right-click and select Lock Connector. The Lock Branch
and Unlock Branch options lock or unlock all child connectors as well.
Loom Report
The loom report displays the connectors, sensors and (for Expert mode) ports in a selected
sub-loom. Right-click on a connector and select Loom Report.
If the Sensors Only box is checked only connectors with connected sensors or actuators
are shown. The report depth is the number of levels which the report should descend for
data.
Double-clicking an icon or connector name will display the connector properties sheet,
double-clicking a sensor name or channel name will display the sensor properties and
double-clicking a port will jump to the Electronic Configuration for that port.
Copy Selection will copy the selected report entries to the clipboard. Copy All copies the
whole report.
Loom Views
Once a loom structure has been created, it may be useful to view a list of connectors or
sensors, for ease of navigation.
Setup
Right-click on a connector and select View • Flat by Connector or View • Flat by Sensor.
The tree is flattened out to a single level, sorted either by connector name or sensor name
as selected. The selected connector remains selected after the switch, so once the right
connector has been found you can select it and switch back to tree view, with the same
sensor still selected.
Any sensors or looms which are present from pre-2.15.16 versions of Pi Workshop when
a newer version of Pi Workshop is installed, will be upgraded to the new system. Nothing
in the read-only library will be migrated, but that library should be over-written by a new
version on installation anyway.
However, some situations arise where the migration process requires some help.
Setup 99
Math channels in the loom
It was previously possible, although discouraged, to place math channels in the loom. It
was even possible to select ports as inputs for the math channels and they would act as
sensors. These cases cause problems in the new loom.
To tell if you have an old math channel in the loom, double-click on it. If the resulting prop-
erty sheet has a tab labelled Transfer Function then it is using the new math channel user
interface. If the channel had no ports as inputs previously its Variables page will list some
input channels and it may be valid. Drag the channel to the math loom or create a math
folder in the loom and drag it into there.
If the math channel was being used as a sensor, its input ports will have been removed and
the Variables page will be empty. It will then be necessary to migrate the math channel
manually. Drag the math channel to the library, where it will appear with a math channel
icon. Right-click and select Migrate Sensor….
This old math channel should be a sensor, as it has a port as an input. Check
Migrate UI and select Sensor. Check the box in the port list by the port. It may be neces-
sary to select a quantity if the original one was invalid, and if there is more than one port it
Setup
Duplicate ports
If, at the point of migration, an old loom had ports used in more than one place, the new
loom will be broken. Basically, the port will have been removed from all the places it was
used before, apart from the lowest one down the loom, leaving a number of broken sensors.
It is no longer possible to use a port in more than one place on the loom.
Sensors with
Calibrations
Wheel Speed sensors are simple things with no calibration, but most sensors require a lit-
tle more setting up. In the following example you can create a strain gauge connector and
sensor on the Rear loom to demonstrate.
1 Go to Rear and attach a connector called RL Strain with a single voltage input
port.
2 Attach a sensor of type Single Input / Output Sensor.
3 On the Information page name your new sensor, then move to Channel
Info.
This page specifies the details of the output channel.
Setup 101
The output channel will be called RL Load, with quantity force and units Newtons.
Leave the data type field alone for the moment; It is for advanced users only and should
normally be set to F32.
4 Move on to the Calibration page.
The Calibration page is divided into three sections. At the top is a watch bar that shows
the current value of the raw input to the calibration. The option buttons to the left allow the
type of calibration to be selected and there is a drop-down list that selects which units the
The default calibration type for a sensor is a look-up table, as shown above. This consists
of a list of points and a method of ‘joining the dots’. This can be either a standard LUT type
(e.g. extrapolate) or a curve fit (linear or quadratic). If the car is present and the watch bar
is live then clicking on the Insert Point… button will sample the current value and allow
the matching calibrated value to be entered.
Setup
Switching to an equation calibration changes the dialog box as shown here. The equation
shown was automatically generated from the previous table and will produce the same
output (this even works with curve-fitting.) Clicking on either Variables … or Operators…
will open a context menu containing items that can be inserted into the equation. Hovering
over an item in the menu will show a description of that item and clicking on it will insert it
at the caret. To check the validity of the equation, press the Check button.
Setup 103
The final type of calibration is a gain/offset calibration. This allows the gain and offset (as
might be found on a data sheet) to be entered directly. The equivalent equation is shown
at the bottom (and will be used if you then switch to an equation calibration.) There are two
modifiers that alter how the gain is applied and when the offset is applied.
Once you have entered a calibration, go to the Watch page. Assuming that the car is con-
nected you should see two watch bars. The top one shows the current value of the raw
input and the bottom bar shows the value that is obtained by applying the calibration you
entered to the raw value.
Note: The calibrated value is calculated within the sensor dialog box and represents
what WILL be sent to the box the next time the setup is sent and not the current calibra-
tion that is on the box.
A number of applications that run on the MCU require a raw (un-calibrated) channel with
a fixed name. One example of this is the BeaconRaw channel that is used by the DRV
application. (However, do not use the following method for connecting a beacon, as it has
its own sensor.)
The majority of sensor dialog boxes will allow you to create one of these ‘internal channels’
from their raw inputs. Open the Strain sensor that we created in the last section. If you go to
the Application Link page you will find a list containing one row for each of the raw inputs
to your sensor (in this case there should only be one). The right-hand column contains a
description of the raw input that you can edit yourself. The left-hand column allows you to
enter the name of the channel that you want to generate. You can either type the name in
or select it from a list of suitable channels that are required by the applications on the box
but which are not yet being generated.
Setup
The Generic Application Link Sensor contains an Information page and an Application
Link page and should be used where you need to create a link to an application but do not
need a calibrated channel as well.
There are also two specific sensors for linking sensors to the DRV application. These are
the beacon sensor and the wheelspeed sensor (actually four – one for each wheel.) Each
of these has a watch page specific to their requirements.
Using a Channel in a
Calibration
There are a number of cases where it is necessary to use a channel in a calibration as well
as the raw input. One such case is a thermocouple that takes a cold-junction compensa-
tion channel. This section shows how to create a sensor that will deal with this scenario.
The method shown uses the Full Generic Sensor but there will eventually be a specific
thermocouple interface.
1 Attach a connector to the Front loom called FL Disc, with a single voltage input
port.
2 Attach a Full Generic Sensor to it.
This sensor is the most complicated there is as it can take both raw inputs and channels as
Setup 105
inputs to a calibration and can contain more than one calibrated output channel.
3 Name your sensor as FL Brake Temp. Go to the Variables page.
This shows all of the raw inputs and channels that can be used in the calibrations.
A variable is a label that is used to identify a particular input in a calibration but does not
change when the channel associated with it changes.
The Variables page is split into two sections. The top half of the page shows the variables
that are assigned to raw inputs. These assignments are fixed but you can change the units
(as used in calibrations) and give a description of the raw input which is also shown in the
Application Link page. The Properties… button opens a dialog box that gives a more
verbose description of the different properties of the raw input.
The bottom half of the page contains a list of the variables that have channels assigned to
them. Variables can be added and removed from the list (removing a variable will break
any calibration that uses it). You can also set the channel that is assigned to the variable
using a list of the channels that are present in the current setup. The units may be set as
with the raw inputs.
Setup
The figure above shows the list of calibrated channels that the sensor generates
and the calibration for the currently selected channel. The channel list shows some
of the channels’ properties; click the Properties… button for more settings as well
as a description of their purposes. The properties are the same as those set in the
Channel Info page of the single I/O sensor.
At the bottom of the page is a section that resembles the Calibration page of the single I/O
sensor. It is in fact the same component with only one difference – the key variable. This
is in the place of the input units selector, which is handled for this sensor by the Variables
page. The key variable is the variable from which the calibrated channel will inherit the rate
at which it is calculated. For table and gain calibrations, which have one input each, this
specifies which raw input is used for the calibration.
Setup 107
The equation shown above uses both of the variables defined on the Variables page and
although the calibration is not actually a thermocouple calibration is demonstrates the
principle.
Note: When you hover over a variable in the Variables menu it will show a tooltip con-
taining the description of the variable (if present.)
Sensors
Earlier sections gave a brief overview of how to create and edit different types of sensor.
This covered the main sensors that will cover every eventuality but the creation of new
user interfaces for specific sensors is an ongoing project.
To deal with complicated sensors such as these there is a user interface that only allows
the user to change the name of the calibrated channels and to create internal channels
from the raw inputs of the sensor.
It is often useful to be able to see where a channel is being used in the system. The looms
provide this information by having a context menu option on each channel in the loom that
opens a dialog box listing where each channel is used and a possible rate. This functionality
is also exposed through the sensor (and math channel) user interfaces. Switching to the
Channel Usage page will show where each calibrated channel that the sensor generates
is used.
Setup
Setup 109
Setting up a Sensor
The following section outlines the method required to setup a Sensor with a Pi Sigma
System.
Overview
This section assumes that the software Loom has already been configured. The Loom is a
logical representation of the real connectors and wiring on your car. Editing the loom itself
should be left to Pi Research.
The Pi Workshop system is designed to work with pre-defined sensors. The idea is that
when you plug an actual sensor into the car, you also plug a sensor into the software loom.
Pi Research provides software versions of all the standard Pi Research sensors in the read
only section of your library (see section Setup Organiser).
You can make your own sensors and store these in your library. As you proceed, the work
with the Pi Sigma system in setting up a sensor will get less and less because you will have
already stored your calibration for any 3rd party sensors you own.
drag
Setup
Attaching a pre-defined
sensor
There are individual documents explaining each specific sensor (for example wheelspeed,
beacon, K-type, 100 ohm RTD, Pi 300mm Potentiometer.) Sensors which you define your-
self (either based on a Pi Sensor, or made from a blank sensor – see below) are attached
in the same way.
You must remove a sensor from a connector which is already there before you can attach
a new one.
Setup 111
To remove a sensor from a connector:
1 Right click on the sensor you want to remove. A pop-up menu appears.
2 Click Remove Sensor.
Setup
Loom branch expanded
Setup 113
If the connector is free (i.e. there isn’t a sensor on the connector already) left drag the
sensor from the library to the connector. (Left drag means select the sensor by pressing
and holding the left mouse button.)
If the connector is occupied then right drag the sensor onto the connector. This will reveal
a dialog box with the following options:
Re-Calibrate only works if the sensor is exactly the same type. It must have the same
number of outputs and they must have the same units.
You can only attach a sensor which fits on that connector. For example a Beacon Sensor
will not work correctly on an analogue input. To help spot which sensors are compatible
with which connectors there is a colour coding scheme. It is possible to modify the colour
coding scheme but this should be left to Pi Research. There are three factors governing
the type of connector – how many inputs the connector has, what order this inputs are in,
and what quantity the inputs are.
Setup
Connector Properties dialog box with Key tab selected
Setup 115
Typically, you will only see the following colours:
The light blue connector will be present if you have a dedicated three axis accelerometer
connector.
1 Select the connector you want to add your new sensor to.
2 Right click and select Attach Sensor… from the pop-up menu. The Attach
Sensor dialog box appears.
3 Select Full Generic sensor. The Full Generic Sensor dialog box appears.
Information tab
1 Fill in the Information page.
If calibrations vary between different sensors of the same type, put the serial number of the
sensor as well as the name, for example :
Setup
Full Generic Sensor Properties box with Information tab selected
This will mean you can store the exact calibration for this sensor in the Library for re-use.
Setup 117
Application link
Adding a channel in this page will create a channel with the same units as the input with
a 1:1 calibration. It is usually used for satisfying sinks (a sink is a requirement that an ap-
plication has on the box.) It is not often used.
Variables tab
The variables page contains two sections. The top part is the raw connections and you can
only change the units. The quantity is fixed, the units you select are the actual units you
use in your calibration. So if you select milli-volts instead of volts the number you will use
in your calibration is 1000 times bigger.
The bottom section allows you to use other channels as part of your calibration. For exam-
ple, if you had a temperature sensor mounted next to a pressure sensor you might use the
temperature channel to compensate for any changes in the pressure calibration.
Setup
Full Generic Sensor Properties box with Calibration tab selected
Enter your output channel name in the Channel text box in the Calibrated Channels section
of the properties box. You can have more than one output channel per math channel. The
calibration for each output channel is entered in the lower half of this tab.
The value of the Raw Input is displayed in the Raw Input section of the properties box. It
takes its scalings from the Global Channels Database (GCDB).
If you have more than one output channel, the equation section changes according to which
channel you have highlighted.
Please see the Writing a Math channel section for a description of entering an equation
and making a 1D look up table.
Setup 119
Zeroing sensors
This section gives information on zeroing sensors. In certain conditions you may find it is
useful to force a sensor calibration to zero when the sensor reaches a particular measure-
ment; for example, to set the static ride height of a damper.
Applying Offsets
Zeroing a sensor applies an offset to a channel. The Pi Sigma system on the car must be
powered up and connected to Pi Server.
To zero a sensor:
1 Right click on your setup in the Setup Data Manager and choose
Zero Sensors from the pop-up menu. The Zero Sensor dialog box appears.
To select a sequential block of channels, select your first channel, hold down (Shift) and
select your last channel. To cancel the selection, release (Shift) and select any channel.
To select a discontinuous block of channels, hold down (Ctrl) and select each channel. To
cancel the selection, select the channel once again.
To help find channels in the list type the first letter of the channel name. Only channels
starting with that letter will then be listed. To reduce the list even further, type the second
letter in the channel name and so on until only the channel you want is listed. To return to
the complete list of channels use the backspace key to cancel each letter typed.
3 Click Offset to Target. All channels in the text box will be zeroed.
Trget refers to the Target value that is entered for a channel in the Global Channels Da-
Setup
tabase.
4 Click Close.
Setup 121
You can change the target value in the zero sensor dialog box.
If Offset to Target is clicked, the Offset will change to –12 (25 – 37 = –12).
If Remove Offset is clicked the Value would be 37 (which is the actual physical value) and
the Offset would be 0.
Setup
To remove an offset:
1 Right click on your setup in the Setup Data Manager and choose
Zero Sensors from the pop-up menu. The Zero Sensor dialog box appears.
2 Use the List or Groups tab and select a channel in List or Group and drag it
into the text box of the Zero Sensor dialog box.
Note: Channels may already be shown in the text box. Delete channels from the text box
that you do not want to remove the offsets from.
3 Click Remove Offset. All the channels in the text box will have the offsets
removed.
4 Click Close.
Setup 123
You can view a log the sensors that you have applied offsets to i this session.
The following section outlines the method required to setup a Wheelspeed Sensor with a
Pi Sigma System.
When a sensor is plugged into a loom, the MCU needs to know where the sensor will be
powered from and where it can expect the signal to come from. This means that you need
to configure the Pi Sigma System.
Setup
To configure a Wheelspeed:
1 Double click on Sigma Configuration in the Setup Data Manager Apps
branch. The Sigma Configuration window appears
Setup 125
Embedded IO Card properties dialog box with Group 2 tab selected
Once you are in the properties of the digital card, you should go to the group and chan-
nel of the wheelspeed sensor (easily identified from the loom drawing) and set the digital
channel to be a Speed channel.
4 Set the Excitation volts, Threshold and Hysteresis options.
The values shown are those that have been successfully used for active wheelspeed sen-
sors. See below for values for passive wheelspeed sensors.
Note: The Excitation On has been set to Always as wheelspeed sensors are relatively
low current sensors and it is important that they are activated when the car is not logging
so that they will detect movement.
Setup
The input settings displayed on the Calculator dialog box above are taken from the previous
figure (but can be edited in this screen).
Having accepted and saved these properties, the system is setup to receive a wheelspeed
input on the MCU, Digital IO Card, Group 2, Input A. This should agree with the loom
that you have purchased.
Setup 127
Setting up the Loom to
receive the Sensor
Before a sensor can be dragged onto the loom, a connector must be attached incorporating
the inputs created from the configuration.
3 Click Sensor… and select the appropriate wheelspeed sensor template from
the list.
4 Click OK.
5 Click Next. The Summary dialog box appears.
Setup
Summary dialog box
6 Enter a connector name associated with the sensor to be connected. The com-
ment is optional, but is useful for reference purposes.
7 Select Next. The Edit dialog box appears.
8 Select the inputs to be used for the wheelspeed channels.
The digital I/O card on the Logger has 9 inputs, however only 4 are suitable for wheel
speeds (Groups 1A, 1B, 2A and 2B). The inputs shown are those that are both suitable
for the required type of input and available (i.e. set up in the Sigma Configuration and not
used elsewhere on the loom). The list shown is from a system that has an MCU, Logger
card and a digital card.
Setup 129
The digital inputs are labelled Digital 0.02.00.16 through to Digital 8.02.00.40. The name
describes the type of input (e.g. Digital). The first number defines the input number, the
table below shows how the Input Name references the channel name in Pi Workshop.
The second number is the node that the card is on (02 is MCU, 05 is SCU), the third number
is the slot (0 is the embedded digital) and the final number is specific to that port.
Note that input Digital 8.02.00.40 (Digital 4C) cannot be configured in Pi Workshop. It can
only be used as a low speed digital input, such as a switch.
Having made Digital 2B a speed input, the system has provided the additional port Digital 3
Count.02.00.30. This is a counter that will count each pulse and is used for measuring
distance. The standard Digital input will measure the time between pulses.
To calculate distance and speed the Wheel speed sensor has two inputs. One counts the
number of pulses received denoted by a u and the other calculates the time between pulses
shown with a ∆t. With this information, together with the number of triggers on the wheel
and the diameter of each wheel, the Logger can calculate speed and distance. In the Edit
dialog box simply double click where prompted and select from the list of inputs available
(See Example below for a step by step guide).
Example
Providing Digital 2B has been configured to be a speed input the channel names Digital
3.02.00.28 and Digital 3 Count.02.00.30 should be in the Global Channel Database.
Setup
Once both the ports have been selected the Edit dialog box appears as shown in the figure
below.
Setup 131
Attaching a Sensor to
the Port
The final stage is to attach a sensor to the connector. This will provide a sensor that the
system can use to provide speeds and distances. Pi Workshop uses the drag and drop
principle to attach sensors.
1 Click the Toggle Setup Organiser icon as shown below.
The Sensor Name should be changed to match the type of sensor that you want this to be,
e.g. Wheelspeed sensor. You can then add a longer comment to describe specifics of the
Setup
sensor, such as sensor excitation, part numbers etc.
In total there are six wheelspeed sink channels, meaning that the logger can use them for
calculations. Not all the channels are required, however at least one of the front wheel-
speed channels must be configured so that the logger can calculate distance and determine
whether the car is moving. The sinks are named SpeedRaw with the prefix FL, FR, RL or
RR and DistRaw with the prefix FL or FR.
The DistRaw channels are used to measure distance from the front wheels. Distance is
not measured for the rear wheels, so there is no RL or RR prefix for DistRaw. However,
a useful way to check wheelspeed functionality without running the car is to create two
channels called RLDistRaw and RRDistRaw to count the pulses on the rear wheels. As
the box does not need these channels, they will work like a normal sensor in that they must
be used (e.g. logged) before they can be watched with a Watch manager.
When the wheelspeed sensors are added the associated sink channels are attached to the
loom. For instance, if a FL Wheelspeed Sensor is added, the channel FLSpeedRaw and
FLDistRaw will be added to the loom.
3 Finally click OK. The sensor and channels are added to the setup.
This process will need to be repeated for each wheelspeed sensor on the car.
Setup 133
The loom should now include the front left wheelspeed channels as shown below.
The Logger uses the channel FLSpeedRaw and the diameter of the Front Left wheel (see
Wheel Setup in the Miscellaneous Application section) to calculate the channel FLSpeed,
which is the actual speed of the Front Left wheel.
The following section outlines the method required to set up a Beacon with a Pi Sigma
System. If your loom has already been setup please turn to Attaching a Beacon sensor to
the port.
When a component is plugged into a loom, the MCU needs to know where the component
will be powered from and where it can expect the signal to come from. This means that you
need to configure your Pi Sigma System.
Setup
To configure the Pi Sigma System for a beacon input:
1 In the Setup Data Manager Apps branch double click on Sigma Configura-
tion. The Sigma Configuration window appears.
Setup 135
4 Click the tab for the Group and channel of the Beacon (it is normal to use
Group 3A).
5 Select Split Beacon in the relevant Channel Function: box
6 Set the Excitation to 12.0 Volts.
7 Select the Excitation On option to Always.
The next figure shows the setup. This shows digital port 3A (Digital number 4) prepared to
receive a Beacon pulse.
Before a sensor can be dragged onto the loom, the ports created from the configuration
must be attached to the electronic loom.
Setup
If Core System Channels connector does not exist in the loom:
1 Right click on the section of the loom where you wish to position the beacon.
2 Select the Attach Connector… The Attach Connector wizard appears.
3 Name the loom Core System Channels.
A useful hint is to try to create an electronic version of the physical loom to aid software-
hardware compatibility.
Setup 137
To attach the connector to the loom:
1 Right click on Core System Channels and select Attach Connector… The
Attach Connector wizard appears.
5 Enter a name for the new connector, such as Beacon and any comment you
wish to be associated with the connector.
6 Click Next>. The Edit dialog box appears.
Setup
The ports shown in the Edit dialog box are those required by the template sensor. The Edit
dialog box below shows that a beacon sensor needs only a single user type input, denoted
by the u suffix.
7 Double click on the entry and the list of available ports will be displayed.
Note: Because the connector is based on a beacon sensor, the list of ports only contains
compatible inputs, i.e. Digital inputs. If ports have already been attached elsewhere in
the loom they will not show on this list.
8 Click OK.
The selected port will be used as the beacon input once the sensor is attached.
Setup 139
Attaching a Beacon
Sensor to the Port
The final stage is to attach a Beacon Sensor to the port. This will provide a sensor that the
system can use to provide Beacon information. This is done by dragging a beacon sensor
from the default _Sensors library onto the new beacon connector in the loom.
1 Click the Setup Organiser icon on the Managers Toolbar.
After dragging the sensor onto the connector the Beacon information window appears.
3 Change the name of the sensor if you wish, although the default name, Bea-
con is probably suitable. You can also add a longer comment to describe
specifics of the sensor, such as sensor excitation, part numbers etc.
4 Click OK.
The sensor will be installed into the loom giving the loom the following structure.
The following section outlines the method required to setup the Fuel channels with a
Pi Sigma System. Fuel channels often come from an ECU, however, if you use a fuel flow
meter refer to the section Setting up a Fuel Flow Meter.
When Pi Sigma has a channel that increments as fuel is used, it can provide the user with
a number of channels which are coded into the logger code. These are channels such as
Setup
LapFuelEconomy, RaceFuelEconomy, Fuel Used, TankFuel and RaceFuel.
To enable all of these channels to operate, the system must satisfy the sink FuelCount.
When it has a value of FuelCount, it will automatically provide all of the other channels. As
such, FuelCount is a Core System Channel.
Because the FuelCount channel is a Core System Channel and generated using a maths
channel, Pi recommend that it is incorporated in a Maths Channel Folder named Pi Internal
on the Core System Channels branch of the Loom in the Setup Data Manager.
3 Right click on the Pi Internal folder and select the Attach Math Channel…
option. The Attach Maths Channel dialog box appears.
Setup 141
Attach Maths Channel dialog box
4 Double click on Single Math Channel (Equation). The Single Math Channel
(Equation) dialog box appears.
Single Math Channel (Equation) dialog box with Channel Info tab selected
Setup
Single Math Channel (Equation) dialog box with Variables tab selected
Setup 143
Variable Properties dialog box
9 Name the variable. In the above example the variable has been named fuel.
This is how it will appear in the calibration section of the math’s channel.
10 Select the channel which increments as fuel is used e.g. Fuel Used from the
list in the Input Channel text box. This is the input variable.
This channel may be from an ECU or could easily be from a digital fuel flow meter. Refer to
the section Setting up a Fuel Flow Meter for information on setting up a fuel flow meter.
11 In the Description section of the dialog box enter your own description for the
channel.
Once the input has been specified, the calibration needs to be applied.
12 Click the Transfer Function tab and enter the calibration in the space
available.
FuelCount = fuel
10
Where fuel is an alias name for the input fuel channel. This may be generated by the ECU
and in this case represents each 0.1 litre used by the engine. i.e., if fuel = 10, the engine
has used 1 litre. FuelCount is the output channel name with litres as the units.
The Variables… and Operators… buttons may be used to select from a list of inputs and
maths operators respectively.
13 Click Check to test whether the equation is valid.
Setup
Single Math Channel (Equation) dialog box with Variables tab selected
Because the Fuel information is needed on the dash, the output FuelCount needs to be
generated on the MCU.
14 Click the Fixed option in the Rate section of the dialog box and select a rate
at which the channel is calculated in the MCU.
For example, if 5Hz is selected the channel will be calculated 5 times per second.
Setup 145
If the channel is configured as a Fixed Rate channel, then it is generated on the MCU at
the rate specified.
If the Key Variable option is selected, the channel is generated by the PC either on of-
fload, or over telemetry. The channel is then generated at the rate of the Variable you have
chosen.
15 Click OK. All of the Pi Workshop fuel channels will function.
These include:
The following section outlines the method required to set up a Fuel Flow input with a
Pi Sigma System using the output from a fuel flow meter instead of an ECU.
When a sensor is plugged into a loom, the MCU needs to know where the sensor will be
powered from and where it can expect the signal to come from. This means that you need
to configure the Pi Sigma System.
Setup
To configure the MCU:
1 In the Sigma Setup Data Manager Apps branch double click on Sigma Con-
figuration. The Sigma Configuration dialog box appears.
2 Navigate to the Digital card on the MCU that you are plugging the fuel flow
meter into.
Setup 147
3 Expand the tree to reveal the Digital card.
4 Right click on the Digital card. Select Properties… The Embedded IO Card
properties dialog box appears.
5 Click the tab for the group and channel of the fuel flow sensor you are going to
setup (easily identified from the loom drawing). Set the digital to be a Speed.
6 Set the excitation voltage, threshold and hysteresis values. Click OK.
The values shown in the following figure have been successfully used during testing.
Having accepted and saved these properties, the system has been setup to receive a
Fuel Flow input on the MCU, Digital IO Card, Group 1, Input A. This should agree with the
loom that you have.
Before a sensor can be dragged onto the loom, a connector must be attached incorporating
the inputs created from the configuration.
Setup
Create a new sub loom if required.
Setup 149
Having created this sub loom you must attach a connector to it.
To attach a Connector:
1 Right click on the sub loom and elect Attach Connector… The Attach Con-
nector Wizard appears.
2 Click Sensor… and select a FL Wheelspeed sensor template from the list. This
sensor template can be used a it operates with a similar principle to a fuel flow
meter.
Setup
Attach Connector Summary dialog box
Setup 151
To complete the setup follow the Example below.
The digital inputs are labelled Digital 0.02.00.16 through to Digital 8.02.00.40. The
Input Name describes the type of input (e.g. Digital). The first number defines the input
number, the table below shows how the Input Name references the channel name in
Pi Workshop.
The second number is the node that the card is on (02 is MCU, 05 is SCU), the third number
is the slot (00 is the embedded digital) and the final number is specific to that port.
Note that input Digital 8.02.00.40 cannot be configured in Pi Workshop, it can only be used
as a low speed digital input, such as a switch.
Having made Digital 1A a fuel flow input, the system has provided the additional port Digital
0 Count.02.00.16. This is a counter that will count each pulse and is used for measuring
fuel count. The standard Digital input will measure the time between pulses.
Example
Providing Digital 1A has been configured to be a fuel flow input the channel names Dig-
ital 0.02.00.16 and Digital 0 Count.02.00.18 should be in the Global Channel Database.
Setup
If the channel is hidden in the Channel Database it will be necessary to select the Show
Hidden Ports option.
Attach Connector Edit dialog box before digital channels have been selected
Setup 153
When both the ports have been selected the Edit dialog box will appear as shown below.
Attach Connector Edit dialog box after digital channels have been selected
3 Click Finish. The connector labelled Fuel Meter will be added to the Loom.
This connector will be associated with a Fuel Flow sensor and will therefore only allow a
Fuel Flow sensor to be attached to it. The next step is to add a Fuel Flow sensor from the
Setup Organiser.
The final stage is to attach a sensor to the connector. Pi Workshop uses the drag and drop
principle to attach sensors.
Setup
Attach Sensor dialog box
2 Drag a Full Generic Sensor on to the Flow Meter connector on the loom.
The mouse pointer will change to an arrow with a small + sign if the sensor is compatible
with the connector. If the sensor is not compatible the pointer will be a .
Once the sensor has been successfully dropped onto the connector the properties dialog
box appears.
Setup 155
Full Generic Sensor properties Information page
3 Name the sensor. The name should match the type of sensor that you want
this to be, e.g. Fuel Flow Meter.
You can then add a longer comment to describe specifics of the sensor, such as sensor
excitation, part numbers etc.
4 Click the Variables tab. The Variables page appears.
Two variables will appear on the Variables page of the sensor setup. Variable x is based
on the time between pulses, while variable x1 is based on the pulse count.
Setup 157
The Properties Calibrations page below shows the calibration for a typical fuel flow meter
used with Race Gasoline.
(X1/7640.14)/6.324
Where :
X1 is the number of pulses from the flow meter
7640.14 is the Average K Factor taken from the Flow Meter Calibration
Sheet (Pulses/Lb)
6.324 is the density of the gasoline used in the meter calibration (Gal/Lb)
Fuel Used is the output (Gals) (or litres if the calibration is in litres).
10 Finally click OK. The fuel flow meter sensor and channels will be added to the
setup.
This process will need to be repeated for each fuel flow sensor on the car.
If the Flow Rate (Lbs/hr; Gal/Min) is desired, create a math channel that takes the deriva-
Setup
tive of the flow.
Refer to the previous section Setting up a Fuel Input for information how to sink the channel
Fuel Used to the Core Systems Channel FuelCount.
Setup 159
Setting up a Serial Stream
The following section outlines the method required to setup a serial stream with a Pi Sigma
System.
1 In the Apps branch of the Setup Data Manager double click on the ECU Setup
icon. The ECU Setup dialog box appears.
This ECU Setup dialog box will list up to three serial steams.
Open window
3 Navigate around your network and select the required *.str file. The stream
Setup
appears in the ECU Setup dialog box.
Alternately, the stream can be dragged onto the ECU Setup dialog box from a library in
the Setup Organiser.
4 Click Save. The stream is now in the setup.
The system does not know where to expect this stream to come from. Therefore you must
go into Sigma Configuration to specify into which serial port the stream is arriving.
Setup 161
Setting up the Serial
Stream input
You must go into Sigma Configuration to specify into which serial port the stream is ar-
riving.
1 In the Apps branch of the Setup Data Manager double click on Sigma Con-
figuration. The Sigma Configuration dialog box appears.
2 Right click on Logger.
Setup
4 Click the tab for the port that the stream is connected to (stated in the loom
diagram) and select the stream. The figure in brackets is the Baud Rate.
Once this is selected, the serial port must be setup to receive the stream.
5 Configure the port using the Baud Rate, Stop Bits Data Length and Parity
text boxes.
Stop Bits, Data Length and Parity should be set to those stated in the serial stream speci-
fication (the default values of 1, 8 and None are normally correct). The Baud Rate must be
set to the correct value.
6 Click OK. The Serial Setup dialog box closes.
7 Click Save. The Sigma Configuration dialog box closes. The configuration and
the serial stream are entered in the setup.
Setup 163
Setting up GearNumber
The following section outlines the method required to setup the GearNumber channel with
a Pi Sigma System
Pi Sigma needs to know what channel measures Gear so that it can use this channel to
display GearNumber on the dash and also to facilitate the use of the shift lights which are
gear dependant.
This is a typical case of using a sink channel. Some engine manufacturers may call the
channel Gear, others Gang or Gear Position. Therefore you need to input whatever chan-
nel measures the Gear position, and output a channel GearNumber which Pi Sigma is
expecting.
However if the Gear channel from the ECU is already the correct gear number, then it is
more suited to a Single Math Channel with a unity equation calibration.
If the gear position is measured using a potentiometer and the voltage is connected directly
to the Pi Sigma system then the calibration is done when the sensor is set up on the loom
in Pi Workshop and a Math Channel is not required.
Because the GearNumber channel is a Core Systems Channel and generated using a
maths channel, Pi recommend that it is incorporated in a Maths Channel Folder named Pi
Internal on the Core System Channels branch of the Loom.
2 Click the + icon on Core System Channels icon. The folder expands.
Setup
3 Right click on the Pi Internal folder ad select Attach Math Channel… The
Attach Maths Channel dialog box appears.
4 Select Singe Math Channel (Equation). The Gear Number Maths Channel
dialog box appears.
Setup 165
Maths Channel dialog box with Channel Info tab selected
5 Click the Channel Info tab, and name the channel GearNumber. This is the
output channel.
The name should be recognised by Pi Workshop, whereupon it will be automatically un-
derlined and the Quantity, Units and Data Type should change to reflect the settings of the
channel. If this doesn’t happen, it’s probably because the PC hasn’t been connected to the
Car so it doesn’t have any FSR information. This will not cause any problems, just ensure
that the quantity is User Type and the data type is an S32. The unit box will be greyed out
because the channel has a User Type quantity.
6 Click the Information tab and change the name of the maths channel to some-
thing which reflects its functionality.
You can also add a longer comment to describe specifics of the sensor, such as the chan-
nels that it will provide the user etc.
Setup
Maths Channel dialog box with Variables tab selected
This is where the inputs to the maths channels are added and displayed. Because you are
using a Single Maths Channel you only need to add ne input variable.
8 Click Add… The Variable Properties dialog box appears.
Setup 167
Variable Properties box
10 Select a channel from the list in the Input Channel section of the dialog box.
In the above figure the ECU channel GBoxPos has been selected as the input variable. The
quantity has automatically been set to user type because the channel name GboxPos was
recognized by Pi Workshop. The unit box is empty because the quantity is user type.
Setup
Maths Channel dialog box with Transfer Function tab selected
If the channel from the ECU is already the correct gear number then the calibration should
be unity.
3 Use the Variables… and Operators… buttons to select from a list of inputs
and maths operators respectively.
4 Click Check… to check that the equation is valid.
If the channel is configured as a Fixed Rate channel, it is generated in the MCU at the
rate specified. If the Key Variable option is selected, the channel is generated by the PC
either on offload, or over telemetry. The channel is then generated at the rate of the Vari-
able you have chosen.
Setup 169
Because the Gear Number information is needed on the dash, the output, GearNumber
needs to be generated on the MCU.
5 Click the Fixed option and select 100Hz. The channel will be calculated 100
times per second.
If the gear channel is a position such as barrel position given by the ECU then the easiest
way to calibrate the GearNumber channel is to use a Single Math Channel with a sample
and hold table calibration.
To do this follow that same steps as above for the Equation calibration except the Transfer
Function and variable section of the setup are on the Transfer Function tab as shown
below:
1 Select an Input Channel from the list in the Input Channel text box.
The example above uses the channel GboxPos which is measured in degrees. The table
should display both the names of the Input and Output channels.
2 Enter the gear position value that corresponds to each gear number.
Remember that the gear number will be held until the next threshold is reached. For ex-
ample, in the above table a GboxPos of 0.0 -11.99 degrees will be equal to GearNumber
0 (i.e. neutral) and a GboxPos of 12.0 - 23.99 will be GearNumber 1 (i.e. 1st).
If the gear position is measured using a potentiometer and is connected directly to the Pi
Sigma system then the calibration is done in the sensor setup on the loom in Pi Workshop
and a Math Channel is not required.
Create a sensor on the loom which accepts a suitable input from the gear position sensor
and create an output channel named GearPosition.
Setup
Setup 171
Setting up EngineSpeed
The following section outlines the method required to set up the EngineSpeed channel
with a Pi Sigma System.
When Pi Sigma has a channel that it recognises as RPM it will use this channel to start
and stop logging and to operate display shift lights. To enable these channels to operate,
the system must satisfy the sink EngineSpeed.
Because the EngineSpeed channel is a Core System Channel and generated using a maths
channel, Pi recommend that it is incorporated in a Maths Channel Folder named Pi Internal
on the Core System Channels branch of the Loom in the Setup Data Manager.
3 Right click on the Pi Internal folder and select the Attach Math Channel…
from the pop-up menu. The Attach Maths Channel dialog box appears.
4 Double click on Single Math Channel (Equation). The Single Math Channel
(Equation) dialog box appears.
Setup
Single Math Channel (Equation) dialog box with Channel Info page selected
Setup 173
Single Math Channel (Equation) dialog box with Information page selected
Single Math Channel (Equation) dialog box with Variables page selected
8 Click the Add button. The Variable Properties dialog box appears.
Setup 175
13 Use the Variables… and Operators… buttons to select from a list of inputs
and maths operators respectively.
14 Click Check to test whether the equation is valid.
Single Math Channel (Equation) dialog box with Variables page selected
Because the RPM information is needed on the dash, the output EngineSpeed needs to
be generated on the MCU.
15 Click the Fixed option in the Rate section of the dialog box and select a rate
at which the channel is calculated in the MCU.
For example, if 5Hz is selected the channel will be calculated 5 times per second.
If the channel is configured as a Fixed Rate channel, then it is generated on the MCU at
the rate specified.
If the Key Variable option is selected, the channel is generated by the PC either on of-
fload, or over telemetry. The channel is then generated at the rate of the Variable you have
chosen.
16 Click OK. The Pi Workshop engine speed channels will function.
This section outlines the method required to setup a Tacho with a Pi Sigma System. Note
that if an ECU is used it is likely that RPM will come from the ECU stream.
When a component is plugged into a loom, the MCU needs to know where the component
will be powered from and where it can expect the signal to come from. This means that you
need to configure your Pi Sigma System.
Setup
To configure the Pi Sigma System:
1 In the Setup Data Manager App branch double click on Sigma Configuration.
The Sigma Configuration window appears.
2 Navigate to the Digital card on the MCU that you are plugging RPM input
into.
3 Right click on Digital and select Properties… from the pop-up menu.
Setup 177
4 Click the tab for the Group and Channel for the Tacho input.
For this example Group 3B will be used.
Setup
9 Adjust the values to ensure that the resolution and the minimum measurable
value are acceptable.
For an 8 Cylinder Engine, 4 Pulses to Average should be used.
10 Click OK.
The MCU is ready to receive a tacho input.
Setup 179
Setting up the Loom to
receive the Tacho
Before a sensor can be dragged onto the loom, the ports created from the configuration
must be attached to the electronic loom. The first step is to unlock the loom.
2 Click Sensor… and select the RPM sensor template from the list.
3 Click OK.
Setup
4 Select Next> to proceed to the next stage.
Setup 181
The Digital IO card on the Logger has nine inputs, however only five are suitable for RPM
inputs (Groups 1A, 1B, 2A, 2B, and 3B). The inputs shown are those that are both suitable
for the required type of input and available (i.e. setup in the Sigma Configuration and not
used elsewhere on the loom). The list shown is from a system that has an MCU, Logger
card and a digital card.
The digital inputs are labelled Digital 0.02.00.16 through to Digital 8.02.00.40. The name
describes the type of input (e.g. Digital). The first number defines the input number. The ta-
ble below shows how the Input Name references the Channel Name in Pi Workshop.
The second number is the node that the card is on (02 is MCU, 05 is SCU), the third number
is the slot (0 is the embedded digital) and the final number is specific to that port.
Note that input Digital 8.02.00.40 cannot be configured in Pi Workshop. It can only be used
as a low speed digital input, such as a switch.
Having made Digital 3B a RPM input, the system has provided the additional port Dig-
ital 5 Count.02.00.16. This is a counter that will count each pulse. The standard Digital
input will measure the time between pulses.
Each digital input has two inputs. One counts the number of pulses received denoted by a u
and the other calculates the time between pulses shown with a ∆t. With this information, the
Logger can calculate the RPM. In the Edit dialog box simply double click where prompted
and select from the list of inputs available (See Example below for a step by step guide).
Setup
Edit dialog box
Setup 183
Once both the ports have been selected the Edit dialog box will appear as shown in the
next figure.
3 Click Finish.
The connector labelled RPM will be added to the loom.
This connector will be associated with an RPM sensor and will therefore only allow an
RPM sensor to be attached to it. So the next step is to add an RPM sensor from the Setup
Organiser.
The final stage is to attach a sensor to the connector. This will provide a sensor that the
system can use to provide speeds and distances and start and stop logging.
Setup
The mouse pointer will change to an arrow with a small + sign if the sensor is compatible
with the connector. If the sensor is not compatible the pointer will be a .
Dragging RPM sensor from the Setup Organiser to the Setup Data Manager
Setup 185
Once the sensor has ben successfully dropped onto the connector the sensor Properties
dialog box appears.
3 Enter a name for the sensor. Change the name to match the type of sensor
that you want this to be. e.g. RPM.
4 In the Comments text box you can add a longer comment to describe specifics
of the sensor, such as sensor excitation, part numbers etc.
Variables
5 Click the Variables tab
Two variables will appear on the Variables page of the sensor properties dialog box.
variable x is based on the time between pulses, while x1 is based on the pulse count.
Setup
Sensor Properties dialog box Variables page
Setup 187
Calibrations
6 Click the Calibrations tab.
7 Select the Equation option for the Calibration. Enter the calibration equation
in the text box.
You can use the Variables and Operators buttons and select from the lists to enter them
into the equation or just type the equation directly into the text box.
8 Click Check to test the status of the equation.
The figure below describes the calibration for a typical RPM sensor on a 8 cylinder en-
gine.
9 Click OK. The sensor and channels will added to the setup.
This section contains the information about Outing Information, Cornering, Logging
Triggers, Beacons, Wheel Setup, Track and Fuel, Fuel Capacity, Effective Boost, and
Qualifying Mode.
Outing Information
Setup
Miscellaneous dialog box with Outing Information tab selected
Setup 189
Send Outing/Lap to Car dialog box
Note: The car must be connected and the Pi Server application must be running. This
sends ONLY the Outing number and the Lap number to the car. It DOES NOT send the
full setup to the car.
7 Enter any comments in the Short Comment and Long Comment text box-
es.
8 Check as required Get outing Information from PC Private. This refers to
the offload path and outing information, which is stored in the MCU.
PC Private refers to the information stored in the MCU, not on your computer. If this is
checked then Pi Workshop will use the offload path and attach the comments that were sent
to the MCU. If a directory is being used that doesn’t exist, Pi Workshop will create it.
If you wish to use the information shown on your computer, for example if you have
changed the comments during the session then uncheck this and your specified path and
comments will be used.
9 Set the drive and directory you want then offload data to be stored in the Log-
ger Offload text area. Use the Browse… button to find the location.
10 Click Save.
This is the threshold that Pi Workshop will use for determining corners in map making and
displaying corner exit speeds.
Setup
Miscellaneous dialog box with Cornering page selected
Setup 191
Logging Triggers
Logging Triggers are conditions which have to be met before logging starts and when it
stops. Use this page of the Miscellaneous dialog box to set the conditions which will start
and stop logging on the MCU.
The Logging criteria are: Engine Speed Start is set to 1500 rpm, Engine Speed Stop is
set to 50 rpm Guard Start time is 1 second and Guard Stop time is 4 seconds.
For the system to stop logging both conditions (Moving and Logging) must to be met
i.e. the vehicle speed must be below 32 kph for 10 seconds and Engine Speed below
50 rpm for 4 seconds.
Setup
Setup 193
Beacons
Beacons are infrared devices placed at the track side which are used for lap counting, lap
timing, telemetry transmission and end-of-lap indication. Beacon information is also used
to divide logged data into laps.
To set Beacons:
1 In the Setup Data Manager Apps branch double click on Miscellaneous. The
Miscellaneous dialog box appears.
2 Click the Beacons tab.
Setup
Setup 195
Wheel Setup
Pi Sigma uses pulses from triggers fitted to the wheel to measure vehicle speed, calculate
distance for graphical analysis and map making.
Note: When opened for the first time the Wheelspeed page is too small to display all the
‘Car Speed is’ fields. You must re-size the page to display all the fields. The new page
size is saved when the Template or Workbook is saved.
3 Enter the tyre diameters and total number of triggers on each wheel.
Setup
Rear Left Use only Rear Left wheelspeed.
Right Use only Rear Right wheelspeed.
Both Use both, with further options of Maximum,
Average or Minimum.
Maximum Use maximum value of Rear Left or Rear Right
wheelspeeds.
Average Use average value of Rear Left or Rear Right
wheelspeeds.
Minimum Use minimum value of Rear Left or Rear Right
wheelspeeds.
Front and Rear Maximum Use the maximum value of the Front and Rear.
Average Use the average value of Front and Rear.
Minimum Use the minimum value of Front and Rear.
Front Primary Use the Front settings unless the Front wheelspeeds
are zero, then use the Rear settings.
Rear Primary Use the Rear settings unless the Rear wheelspeeds
are zero, then use the Front settings.
Advanced Advanced These settings control when the change over
between front and rear wheelspeeds will occur.
5 Click Save.
Setup 197
Track and Fuel
Track and fuel information is used to calculate average speed and fuel consumption.
Fuel Capacity information is used to calculate fuel consumption and fuel prediction.
Setup
Miscellaneous dialog box with Fuel Capacity tab selected
Setup 199
Effective Boost
The boost pressure on a turbocharged engine changes rapidly according to throttle position
and downshifting. It is important to know how much of the available boost you are using,
and if you are losing boost pressure.
Setup
Setup 201
Qualifying Mode
Qualifying mode lets you instantly assess performance by comparing performance on the
current lap against a datum lap stored by Pi Sigma. Qualifying data can be entered manu-
ally or imported from an Qualifying Mode file.
Setup
2 Locate a suitable Qualifying Mode file.
A suitable file would be from the same track as the one you are currently at.
Setup 203
Modifying the Logging Table
This section explains how to change an existing logging rate, add a channel to the logger
and add a new logger.
Changing an existing
Logging Rate
Shown above are the two basic loggers – Continuous (every lap) and Fastest.
3 Right click on the channel and select a rate (from 1 to 1000 Hz) from the list.
To change more than one channel at a time select them with left click and (Ctrl) and then
right click.
4 Click Save and close the window.
The following refers to adding a channel for which the sensor has already been set up. If
you need to set up a new sensor and channel please refer to section Setting up a Sen-
sor.
The two loggers (Continuous and Fastest) shown are totally independent and need to
be set up individually. Channels added to the Continuous logger will not automatically be
added to the Fastest logger. Every channel you want to log in Fastest needs to be added
separately but the process is the same.
The channels can be dragged and dropped directly from the Global Channel Database.
If this is not displayed click the (Toggle Channel Database) button on the Managers
toolbar.
1 Select the logger in which you want to add the channel (Continuous or Fast-
Setup
est).
2 To add a channel, left click on it in the Global Channel Database channel list
and drag it into the logger.
If you have left the Drop rate set to default the channel will have a rate matching the set-
tings defined when the sensor was originally configured.
3 Click Save and close the window.
Drop Rate is the rate that will be attached to a new channel being added to the Logger. The
default rate will be different for each channel, which will have been defined in the settings
for the relevant sensor.
You can select a rate from the pull down menu and that will apply to each channel being
dragged from the Global Channel Database channel list into the logger. For example, if
you had set the Drop Rate to 100Hz and then dragged a channel into the logger the rate
would be set to 100Hz.
Setup 205
Drop Rate can also be used to change the logging rate of several channels.
3 Press (Space-bar). All of the selected channels will be changed. The rates
change and you return to the top of the logging table.
In Pi Workshop it is possible to create several burst loggers. The triggers for the burst start
and stop are defined by events.
To take an example – On some circuits a quick lap may rest very heavily on having a good
car setup through one particular corner, so you may wish to look at some parameters for
that section at faster rates. In this case the trigger to start burst logging could be lap dis-
tance or a split beacon. i.e. start logging at 480ft and end at 600ft.
You have the option of setting separate start and stop triggers or you could use the Event
clear function. Event (Corner 2) being Lap Distance = 480ft and Event clear conditions
(Corner 2 Exit) = 600ft.
Setup
dialog box appears.
2 Right click anywhere on this window. Select Loggers from the pop-up menu.
3 Select New Logger. The Logger Properties dialog box appears.
Setup 207
Logger Properties dialog box
Example
Setup
Logger Properties dialog box
In the above figure the Logging Mode is set to Single Trigger. The Event Corner 2 will
trigger the logger with a burst duration of 2 seconds. Ten bursts will be logged during the
outing, retaining the newest laps.
Setup 209
Logging Inventory
The Logging Inventory provides you with a summary of the Logger settings in the form of
a table. You can use the Logging Inventory dialog box to make changes to the channels
logged and logging rates. You can also copy the contents of the table and then paste the
information into a Microsoft Excel™ spreadsheet.
Hidden Channels
To display Hidden Channels click Show Hidden Channels.
Channels used
To display only Used channels click Show used channels only.
To show all the channels again, delete the letter from the Filter text box.
Setup
Section of Logger Inventory dialog box showing list
Setup 211
If you make an error, click Undo. The Logging Rate returns to the previous value.
4 Click Save.
The additional channel will affect the total logging time available. The Continuous logging
time area of the Logger Inventory dialog box will change to show the new logging time.
Copy Table
You can copy the table to the Clipboard. The contents of the Clipboard can then be pasted
into a Microsoft Excel™ spreadsheet.
1 Click Copy Table. The contents of the table are copied into the Clipboard.
Offload Directories
You can use the Logger Inventory dialog box to change the Offload Directories.
1 In the Setup Data Manager Apps branch double click on Logger Inventory.
The Logger Inventory dialog box appears.
2 Click the Miscellaneous tab. The Miscellaneous page appears.
5 Use the Browse for Folder dialog box to find and then select a different Offload
Setup
Directory.
6 Click OK.
Driver name
You can use the Logger Inventory dialog box to change the name of the driver that has
been set in the Setup Manager Miscellaneous Application.
1 Enter a name in the Driver text box.
2 Click Save. The new Driver name replaces the previous Driver name.
Session number
You can use the Logger Inventory dialog box to change Session number that has been set
in the Setup Manager Miscellaneous Application.
1 Enter a new Session Number in the text box.
2 Click Save. The new Session Number is replaced.
Setup 213
Logger warning messages
You can use the Logger Inventory dialog box to read any warning messages that might
have been generated by the Logger.
1 In the Setup Data Manager Apps branch double click on Logger Inventory.
The Logger Inventory dialog box appears.
2 Click the Logger tab. The Logger page appears.
Any warning messages that have been generated are displayed in the Logger model
warnings pane.
The following section gives the information required to set up Telltales with a Pi Sigma
System.
Telltales are channels that are created from the maximum and minimum values from other
channels. Telltales channels provide useful comparisons between channels and an easy
indication of the trend of a channel without actually having to constantly monitor each value
coming across in telemetry or downloaded in a dataset.
Setup
To set Telltale information:
1 In the Setup Data Manager Apps branch double click on Telltales. The Tell-
tales window appears.
Telltales window
The setup in the above window has no telltales but includes the four columns that summa-
rise the telltale functionality. The Output Channel is the name of the channel created that
will provide the max. or min. of the Input Channel. The Reset Event is the event (standard
Setup 215
or user configured) that will reset the telltale. Min./Max specifies whether the minimum or
maximum of the Input Channel will be displayed.
2 Right click inside the window.
3 Select New Telltale from the pop-up menu. The Telltale Properties dialog box
appears.
The Output Channel Name is the name that will appear in the setup channel list. It is useful
to always begin these channel names with Max or Min. as this will allow easy filtering to
select all of the telltales.
4 Name the output channel in the Output Channel Name text box.
The Output Channel Value is either a Maximum or a Minimum.
5 Select Maximum or Minimum in the Value text box.
The Input Channel is a channel from the setup that will be latched
6 Select an Input Channel from the list in Input Channel Name box.
The rate is the frequency at which that channel will be polled.
7 Select a rate from the list in the Rate box.
The Telltale Reset Event is the event at which the latched value will be discarded and the
latch will begin again. If the telltale is a maximum, the telltale will effectively reset to nega-
tive infinity whereas if the telltale is a minimum, the telltale will reset to infinity.
8 Select a Telltale Reset Event from the list.
The RPM Qualifying level will discard all values that occur whilst the rpm is below the
defined level.
Setup
Telltales Properties window showing a telltale channel summary
A second telltale could be added by right clicking and selecting New Telltale. This telltale
could be setup as shown in the example below.
Setup 217
Telltales Properties dialog box for telltale channel Min Fuel Pressure
This is a channel Min Fuel Pressure which is a minimum of fuel pressure referencing Fuel
Pressure every 2 milliseconds. As this telltale resets on Logging disabled it will latch to a
minimum that it will hold until the unit stops logging. The RPM Qualifying Level forces the
telltale to ignore any values of Fuel Pressure that occur when RPM is lower than 12000.
Note: The rate of 500Hz means that a large amount of bandwidth will be used to proc-
ess this telltale. Unless specifically required, the rates should be kept as low as possible,
normally comparable to the rate at which the input channel will be logged.
The setting up of the above telltale will present the telltale window as shown.
Setup
Once the window is saved the Output Channels will appear in the Global Channel Database
list allowing them to be logged, used on the dash, sent in telemetry etc.
Setup 219
To edit a Telltale
1 In the Setup Data Manager App branch double click on Telltales. The Telltales
window appears.
2 Select the telltale to edit, or double click on the telltale.
3 Select Edit Telltale from the pop-up menu.
To delete a Telltale
1 In the Setup Data Manager App branch double click on Telltales. The Telltales
window appears.
2 Select the telltale to edit, or double click on the telltale.
3 Select Delete Telltale from the pop-up menu.
Overview
Events are defined points in time that occur given a set of conditions. Events can be used
to indicate the end-of-lap (the end-of-lap beacon is an event), trigger alarms on the dash
or in telemetry transmission, and to start and stop logging. Events can be either Critical
events or non-critical events. Throughout the time that the vehicle is running any event that
occurs will be stored in the Event log
Critical events
Critical events are defined in the logging application and must occur for the system to oper-
Setup
ate correctly. Critical Events are
n Car halt
n Drive out
n End-of-lap
n End-of-lap beacon
n Logging disabled
n Logging enabled
n Split beacon
n System restart
Setup 221
Non-critical Events
Non-critical events are defined using the Events Application and are based upon channels
and a set of conditions.
These events, which can be viewed in Pi Analysis software, are marked by small blue
crosses in the data.
As default a maximum of 250 critical Events and 750 non-critical Events can be stored in
the Event Logger. You can increase the number of Events that are logged.
Setup
Logger dialog box showing Loggers pop-up menu
3 Select Event Logger Setup. The Event Logging dialog box appears.
Setup 223
4 Enter a size for the amount of memory in which to store the additional
Events.
When the Event Logger is full of non-critical events, only critical Events are logged.
An Event can be used to trigger an alarm on the Dash or in telemetry and to start or stop a
burst logger. For more information see section Modifying the logging table.
Each Event is identified by a code which can be found in event.ini , stored in the
Pi World\Data Directory\Event Definitions.
Setup
Setup 225
Display Alarms
An Event can be used to display an Alarm on the dash. You must choose which Event will
cause an Alarm to trigger.
To set up an Event:
1 In the Setup Data Manager Apps branch double click Events. The Events
window appears.
Events window
2 Right click in the text area of the Events window and select New Event… from
the pop-up menu. The Event Setup Properties dialog box appears.
Setup 227
You use the Advanced Settings dialog box to adjust RPM Qualify level, Guard Time and
Retrigger Delay.
Parameter Description
RPM Qualifying Level An RPM qualified Event ensures that the Event is created
only when RPM is above the Qualifying Level.
Guard Time How long a channel must meet the Event conditions before
triggering an Event. In the above dialog box it is set to zero
so it will trigger immediately.
Retrigger Delay Prevents multiple Events being recorded in the Event log.
If set to 0 it produces one Event each time the threshold is
crossed. If a value other than 0 is used, this is the frequency
at which the system looks to see if the Event is occurring.
Disable While Stationary The Event will not be generated whilst the car is stationary
as determined by the Moving Conditions.
Drive Out Reset Enable Resets the threshold for the Event generator.
Setup
Event Setup Properties dialog box for Event named Overrev
Setup 229
It is likely that the driver would want this Event and related alarm to auto cancel, therefore
not requiring any manual acknowledgement. See Auto clearing Events ad Alarms.
The Overrev Event will now be stored in the Event Log should it occur.
Setup
Dash dialog box with Alarms page selected
Setup 231
You can select an Event that will trigger the alarm.
4 Click Trigger.
5 Select an Event from the list that will trigger the alarm.
6 Check (✓) Alarm Enabled to enable the alarm.
7 Enter the Message that the driver will see when the alarm is triggered.
You can also enter a Long Message which will be displayed on a Pi Steering Wheel Dash
Message Centre (this long message is limited to 24 characters in length). You may want to
set up alarms that can be shown on a Pi Steering Wheel Dash for the driver and can also
be shown on a Pi Compact Dash that has been set up for the car mechanics.
8 Check (✓) Flash Message to flash the message on the dash.
9 Click on a dash alarm light (or combination of lights) which will light when the
alarm is triggered.
You must now select the channel that the alarm applies.
10 Click Channel. The Trigger options are replaced by Channel options.
11 Select the Channel to which the alarm applies.
For example an End of lap beacon Event could trigger an Alarm that displays Fuel used or
a Split beacon event could trigger the display of the channel Segment Difference.
12 Check (✓) Flash Units to flash the units of the channel when under alarm
conditions.
13 Select an Appended Text to display either °C or °F for temperature chan-
nels.
14 In the Decimal Places box set the precision with which the channel is dis-
played in the display field.
Setup
Dash dialog box Alarms page with Cancel options selected
Setup 233
Editing existing Alarms
The following steps outline the basic principles of Alarm setups and relate to changing the
details for an Event and Alarm that already exists (i.e. one already set up by your Support
Engineer). If you need to create a new Event and Alarm please refer to section To set up
a new Event and Alarm.
2 Double click on the Event you wish to change. The Event Setup Properties
dialog box appears.
3 Make the changes required.
4 Click Save.
Setup
Event Setup Properties dialog box
Oil Pressure has to be below 30 psi for 0.5 second (Guard Time) to be recognised as an
Event, and it won’t Retrigger in the EventLog for 10 seconds. These options are set in the
Advanced dialog box.
Setup 235
To change Advanced options:
1 Click Advanced on the Event Setup Properties dialog box. The Advanced
Settings dialog box appears.
2 Change the required thresholds. Click OK. You will return to the Events
window.
For information on the Advance setting parameters refer to the table Advance Settings
parameters in section To setup a new Event and Alarm.
3 Click Save and close the Event Setup Properties dialog box.
If you want an Event to clear automatically refer to section Auto clearing Events and
Alarms.
Setup
Dash dialog box Alarms page showing the list of alarms set
5 Click on an Alarm in the List. The Trigger and Channel options for that alarm
will be available when Trigger or Channel are clicked.
The List forms the basis of Alarm priorities. If two Alarms occur at the same time, the one
highest on the list will be displayed. When the higher priority alarm has been cleared, the
next highest will be displayed, provided that the Alarm conditions still exist.
Setup 237
6 Edit the alarm as required.
7 Click Save to save the changes, or click Undo to return to the previous set-
tings.
The Message is what you want to appear on the Dash. In the above dialog box, the mes-
sage is Oil T. The Lights section refers to the LED on the dash that you want to light when
the Alarm occurs. The Channel and Units have already been defined as you are modifying
an existing Event Alarm and you probably won’t need to change anything here.
In some cases the driver may prefer not to have to acknowledge Dash Alarms manually
but still need to know that an event has occurred.
Event Clear
The Event Clear facility combined with a Retrigger Delay prevents multiple events being
recorded in the Event log.
Setup
Coolant Temperature above 100 °C at a rate of 20 Hz (twenty times a second) with no
retrigger delay and it remained above that threshold for 5 seconds, it would appear 100
times in the Event Log (20 times 5 seconds). This would use many Events.
If the retrigger delay was set to 5 seconds this wouldn’t happen. The Event would not be
looked at by the system for another 5 seconds. If it has dropped below 100 °C the Coolant
OK Event would occur once only.
Setup 239
To set up Auto Clear:
1 In the Setup Data Manager Apps branch double click on Events. The Events
window appears.
2 Double click on the relevant event. The Event Setup Properties dialog box
appears.
Note: The event must have been created before you can use the name.
5 Select a Condition that the Channel must meet to clear the event.
6 Select a Threshold value of the Channel to which the Condition is applied to
clear the Event.
In the above dialog box the Event Coolant T High will clear when Coolant Temp drops
below 100 °C.
Setup
2 Enter a Retrigger Delay time in the text box.
3 Click OK.
Setup 241
Setting up a Dash
Pi Sigma systems can display channels and alarms on a range of Pi Dashes. The range
comprises the Pi Compact Dash, the Pi Steering Wheel Dash, Pi Omega Dash and
Pi Satellite modules. The Satellite modules are a Gear/Shift light module, an Alarm
module, and up to two Numeric display modules.
It is possible to use the complete range of Pi Dashes in one setup. For example, you could
create a setup for a Pi Steering Wheel Dash, selecting the channels and alarms that the
driver would need.
You could also create a setup for a Pi Compact Dash with Pi Satellites which would show
the channels and alarms that a mechanic would need.
Dashes can be set up to show different text according to the status of the system. This
section explains how to set up each area of a Dash and the satellite modules.
You will already have a default Dash display layout, which has been set up by
Pi Research.
You use the Dash Application to configure the display Items, Alarms and shift lights.
The Pi Compact Dash has five fields which can be used to display channel information.
Three of the fields are 7-segment characters and two are alphanumeric characters (also
known as star-burst characters).
Associated with each field are a set of annunciators, which indicate the units used in the
field.
Setup
field 4 field 5
Oil Water
ALARM Lap Time
Setup 243
Pi Compact Dash and
Pi Satellite Modules
A Pi Compact Dash can have Satellite modules attached as cost options. The Satellite
modules are one Gear/Shift light module, one Alarm module, and two Numeric display
modules.
Alarm module
The Alarm module has four extra bright coloured LEDs; red, yellow, green and blue. The
Alarm module will display alarm light information. For more information refer to section
Setting up a new Alarm.
Setup
Dash dialog box Numerics page with Pi Compact Dash selected
Setup 245
Pi Compact Dash display fields
On a Pi Compact Dash there are five available display fields. All five fields are available
on three separate pages (Race, Start and Practice) and are used for displaying fixed text,
channel information or lap time.
3 Select a Page (Race, Start or Practice) from the list in the Page box.
Setting annunciators:
Annunciators are used to display fixed text labels on the dash e.g. FUEL, BOOST, MPH
4 Select an annunciator by clicking on the annunciator text. The text will appear
on the dash if it is in CAPITALS.
To display channel information:
5 Click on the relevant field button.
6 Click Display.
Setup
Display field actions
In addition to displaying information each display field can also perform certain actions
based on a set of conditions. You select these options in the Actio on… section of the
Dash dialog box.
Setup 247
Page options
Each dash field can be configured to behave in different ways when the page is
changed.
Page options
Alarm options
This option displays any of the information when an Alarm is triggered. Each field can be
set up to behave differently. – i.e. One field could show the Alarm message (descriptor
text), another the channel value, and the third showing the units text. All of the other fields
could be set to go blank when Alarm details are displayed.
Alarm options
Offload options
Setup
If you are in a situation where a race will end before the official number of laps have been
completed, or will exceed the official number of laps, you can use the display to adjust the
lap counter and change the overall race distance. The system can then recalculate fuel
consumption based on the new race distance.
Setup 249
Tank fill options
You could set this option so that Tank Fill displays FILL.
If you are using a Pi Compact Dash you can set patterns of LEDs on a Gear/Shift light
satellite to light at selected RPM values. A Gear/Shift light satellite has five LEDs that can
be illuminated in any combination. You can set a maximum of eight different patterns for
each of the three display pages. The output of the system channel named GearNumber
will light the 7-segment gear number LED. Refer to section Setting up Gear Number.
Setup
Dash dialog box Gear Change page for a Pi Compact dash
Setup 251
4 Select a Page (Race, Start, or Practice) from the list in the Mode box.
5 Set the number of Gears that you have.
Setting the number of gears automatically changes the number of rows in the pattern table.
You can set a minimum of one and a maximum of eight gears.
6 Select a Shift Points option (Relative or Absolute).
If you select Relative, you must enter RPM values that are relative to the Redline value.
See the example below. If you select Absolute you must enter the actual RPM values at
which the shift lights change.
7 Starting with the highest RPM value at Pattern 8 to the lowest RPM value at
Pattern 1, for each gear double click a cell in the table and enter the RPM value
for the pattern you want to show.
8 Click on the LEDs that will light according to the RPM values.
9 If you want to apply the settings from the current page to all three pages (Race,
Start, and Practice) click Apply To All Pages.
If you want the settings for each page to be different, don’t click Apply To All Pages. You
will then have to set up each Page in turn.
Pattern 2 will display when the RPM is 500 below the redline value, Pattern 3 will display
when RPM is 200 below redline value, Pattern 4 will display when RPM is 100 below redline
value and Pattern 5 will display when RPM is redline value.
Setup
Section of Gear Change page showing Shift Points option set to Relative
Section of Gear Change page showing Shift Points option set to Absolute
Setup 253
Pi Steering Wheel Dash
set up
There are two 5-digit 7-segment LED numerical display fields on the Pi Steering Wheel
dash. In addition to the two display fields, information can also be displayed in the
24-character Message Centre. It is also possible to use two 5-digit 7-segment LED numeri-
cal display Pi Satellite modules.
The Pi Steering Wheel dash also has alarm lights, shift lights, and a 7-segment LED gear
number display.
Dash dialog box showing the Numerics page with Pi Steering Wheel Dash selected
3 Select a page (Race, Start or Practice) from the list in the Page box.
On a Steering Wheel Dash the display fields are available on three separate pages (Race,
Start and Practice) and are used for displaying fixed text, channel information or lap time.
Setup
Section of Dash dialog box with Display button selected
Setup 255
To display fixed text:
1 Click on the relevant display field button.
2 Select Fixed Text from the list in the Format box. The Dash dialog box chang-
es.
3 Enter the Text to be displayed.
4 Check (✓) Flashing to flash the text in the display field.
5 Click Save.
To display timing information:
1 Click on the relevant display field button.
2 Select Timing from the list in the Format box. The Dash dialog box changes.
3 Select a Channel from the list in the Channel box, or drag a channel from the
Channel Database.
Ideally this should be a timing channel e.g. Lap Time.
4 Select a Format option. (SSS.HH, SS.HH or M.SS.HH).
5 Click Save.
Page options
Setup
Alarm options
This option displays any of the information when an alarm is triggered. Each field can be set
up to behave differently. – i.e. One field could show the alarm message (descriptor text),
another the channel value, and the third showing the units text. All of the other field could
be set to go blank when alarm details are displayed.
Alarm options
Setup 257
Offload options
For when the system is offloading select what you wish to be displayed. Set one field up
to display OFFLD and the others to be blank.
Offload options
Setup
Fuel Reset options
Setup 259
Pi Steering Wheel Dash
Gear Shift Lights
You can set patterns of LEDs on the dash to illuminate at certain RPM values. Each pat-
tern comprises two sets of five LEDs that can be illuminated in any combination. You can
set a maximum of eight different patterns for each of the three display pages. The output
of system channel named GearNumber will light the 7-segment gear number LED. Refer
to Setting up Gear Number.
Setting the number of gears automatically changes the number of rows in the pattern table.
You can set a minimum of one and a maximum of eight gears.
5 Select a Shift Points option (Relative or Absolute).
If you select Relative, you must enter RPM values that are relative to the Redline value.
See the example below. If you select Absolute you must enter the actual RPM values at
which the shift lights change.
6 Starting with the highest RPM value at Pattern 8 to the lowest RPM value at
Pattern 1, for each gear double click a cell in the table and enter the RPM value
for the pattern you want to show.
7 Click on the LEDs that will light according to the RPM values.
8 If you want to apply the settings from the current page to all three pages (Race,
Setup
Start, and Practice) click Apply To All Pages.
If you want the settings for each page to be different, don’t click Apply To All Pages. You
will then have to set up each Page in turn.
Setup 261
Example of relative shift points
In the example below, for each gear Pattern 1 will display when the RPM is 1000 below
the redline value i.e. 4000 RPM for 1st Gear, 5000 RPM for 2nd Gear, 7000 RPM for 3rd
Gear etc.
Pattern 2 will display when the RPM is 500 below the redline value, Pattern 3 will display
when RPM is 200 below redline value, Pattern 4 will display when RPM is 100 below redline
value and Pattern 5 will display when RPM is redline value.
Section of Gear Change page showing Shift Points option set to Relative
Section of Gear Change page showing Shift Points option set to Absolute
The Message Centre can display six separate items (including text and channels) using a
total of 24 characters.
Setup
Dash dialog box with Message Centre tab selected
Setup 263
You normally use a mixture of fixed text and channel values to display on the Message
Centre.
2 Select a channel in the Channel list or drag a channel from the Channel
Setup
Database on to a section of the Message Centre.
3 Define the number of decimal places and the field width required.
In the above dialog box channel WJ would return a value such as 68.56 (five characters,
a field width of 5.)
WJ)#####)F)#####)BSP) ###
Channel Channel Channel
value value value
Setup 265
You can move Fixed Text entries and Channels to a different position on the Message
Centre.
To move text entries or channels on the Message Centre:
1 Click on the text entry or channel on the Message Centre you want to move.
2 Click to move the item to the left, or to move the item to the right.
A button will only be available if you can move the entry in the direction indicated.
Setup
Dash dialog box Message Centre page showing a completed setup
Setup 267
Message Centre Display field actions
In addition to displaying information each display field can also perform certain actions
based on a set of conditions. You select these options in the Action on… section of the
Dash dialog box.
Page options
Alarm options
Setup
Message Centre Offload options
For when the system is offloading select what you wish to be displayed. Set one field up
to display Offloading and the others to be blank.
Offload options
Setup 269
Message Centre Lap adjust options
If you are in a situation where a race will end before the official number of laps have been
completed, or will exceed the official number of laps, you can use the display to adjust the
lap counter and change the overall race distance The system can then recalculate fuel
consumption based on the new race distance.
Setup
Setup 271
Pi Omega Dash set up
The Omega dash has four 7-segment LED numerical display fields, (one central single
character for Gear Number, and three 5-character), one 14-segment LED alpha-numerical
Message Centre display field and one bar graph display field (for RPM/gearshift). The dash
also includes a backlight colour alarm feature and four integrated buttons.
Display Options
In addition to the above display fields you can connect a Pi Omega Dash Shift/alarm mod-
ule, two 5-digit 7-segment LED numerical display Pi Satellite modules and a Pi Satellite
Alarm light module.
Setup
Numerics page with Pi Omega Dash selected
Setup 273
Pi Omega Dash display fields
On a Pi Omega Dash there are five available display fields. All of the display fields are
available on three separate pages (Race, Start and Practice) and are used for displaying
fixed text, channel information or lap time.
3 Select a Page (Race, Start or Practice) from the list in the Page box.
Setting the RPM Bargraph display field
4 Click on the bargraph. The Numerics page changes to show the RPM Bargraph
area.
5 Choose a value from the list in the Max RPM Scaling for the maximum RPM
level for the bargraph.
The Scale below the bargraph changes to reflect the RPM value chosen.
6 Click Save to save the changes, or click Undo to return to the previous set-
tings..
Setting annunciators:
Annunciators are used to display fixed text labels on the dash e.g. FUEL, BOOST, MPH
7 Select an annunciator by clicking on the annunciator text. The text will appear
on the dash if it is in CAPITALS.
Setup
11 Select a Channel from the list in the Channel box, or drag a channel from the
Channel Database.
If the channel selected is a temperature channel the Append list becomes available. Select
the required abbreviation from the list in the Append box.
12 Enter the number of decimal places in the DP box.
13 Select the required units from the Units list.
14 Click Save to save the setup, or click Undo to return to the previous settings.
To display Fixed Text:
1 Click on the relevant display field button.
2 Select Fixed Text from the list in the Format box. The Dash dialog box chang-
es.
3 Enter the Text to be displayed.
4 Check (✓) Flashing to flash the text in the display field.
5 Click Save to save the setup, or click Undo to return to the previous settings.
Setup 275
To display Timing information:
1 Click on the relevant display field button.
2 Select Timing from the list in the Format box. The Dash dialog box changes.
3 Select a Channel from the list in the Channel box.
Ideally this should be a timing channel e.g. Lap Time.
4 Select a Format option. (SSS.HH, SS.HH or M.SS.HH).
5 Click Save to save the setup, or click Undo to return to the previous settings.
To set up Pi Satellite modules
1 Click on the required satellite and choose the channel and options as detailed
above
2 Click Save to save the setup, or click Undo to return to the previous settings..
Page options
Alarm options
Setup
This option displays any of the information when an Alarm is triggered. Each field can be
set up to behave differently. – e.g. one field could show the Alarm message (descriptor
text), another the channel value, and the third showing the units text. All of the other fields
could be set to go blank when Alarm details are displayed.
Alarm options
Setup 277
Offload options
For when the system is offloading you can select what you wish to be displayed. Set one
field up to display OFFLD and the others to be blank.
Offload options
Setup
Fuel Reset options
Setup 279
Pi Omega Dash shift/
alarm module
If you are using a Pi Omega Dash Shift/alarm module, you can set patterns for the LEDs
to light at selected RPM values. The shift light module has seven LEDs (4 green, 2 yellow
and one red), for the shift light function and a single red LED as the alarm light. You can
set a maximum of eight different patterns for each of the three display pages.
3 Select a Page (Race, Start, or Practice) from the list in the Mode box.
4 Set the number of Gears that you have.
Setting the number of gears automatically changes the number of rows in the pattern table.
You can set a minimum of one and a maximum of nine gears.
5 Select a Shift Points option (Relative or Absolute).
Setup
In the example below, for each gear, Pattern 1 will display when the RPM is 1000 below
the redline value i.e. 4000 RPM for 1st Gear, 5000 RPM for 2nd Gear, 7000 RPM for 3rd
Gear etc.
Pattern 2 will display when the RPM is 500 below the redline value, Pattern 3 will display
when RPM is 200 below redline value, Pattern 4 will display when RPM is 100 below redline
value and Pattern 5 will display when RPM is redline value.
Section of Gear Change page showing Shift Points option set to Relative
Setup 281
Example of absolute shift points
The actual RPM values for each shift point have been entered in the table.
Section of Gear Change page showing Shift Points option set to Absolute
The Message Centre can display six separate items (including text and channels) using a
total of 14 characters.
Setup
Dash dialog box with Message Centre tab selected
Setup 283
You normally use a mixture of Fixed Text and Channel values to display on the Message
Centre.
To set Message Centre Fixed Text:
1 Click New.
2 Click Display.
3 Select Fixed Text from the list in Format.
2 Select a channel in the Channel list or drag a channel from the Channel
Setup
Database on to a section of the Message Centre.
3 Define the number of decimal places and the field width required.
In the above dialog box channel WJ would return a value such as 68.56 (five characters,
a field width of 5.)
Setup 285
You can move Fixed Text entries and Channels to a different position on the Message
Centre.
To move Message Centre text entries or channels on the Message Centre:
1 Click on the text entry or channel on the Message Centre you want to move.
2 Click to move the item to the left, or to move the item to the right.
A button will only be available if you can move the entry in the direction indicated.
Setup
Message Centre page showing a List
Setup 287
Message Centre Display field actions
In addition to displaying information each display field can also perform certain actions
based on a set of conditions. You select these options in the Action on… section of the
Dash dialog box.
Page options
Alarm options
Setup
Message Centre Offload options
For when the system is offloading select what you wish to be displayed. Set one field up
to display Offloading and the others to be blank.
Offload options
Setup 289
Message Centre Lap adjust options
If you are in a situation where a race will end before the official number of laps have been
completed, or will exceed the official number of laps, you can use the display to adjust the
lap counter and change the overall race distance The system can then recalculate fuel
consumption based on the new race distance.
Setup
You can configure up to four different pages of information to display on the dash. Each
page can be one of three types: Pit, Race or Lap. The pages are scrolled using the buttons
on the sides of the dash, which can be configured using the settings on the Miscellaneous
page of the Setup.
5 Click a Page tab.
The display fields change colour as the mouse cursor passes over them and the channel
drop down list associated with a display field is highlighted.
6 Select the channel drop down list which is corresponds to the display field you
want to configure.
7 Choose the channel that you wish to display in the field from the drop down
list.
You can use the button and choose from the list which appears or type the first letter of
the channel name. If you have several channel names with the same first letter keep typing
the letter until the channel you want is selected in the channel box.
8 Repeat steps 6 and 7 for each of the display fields on a Page.
9 Set a page display option (Pit, Race or Lap) by checking the appropriate
checkbox.
If you set a page to be both a Pit and a Race page, then the page will display all the
time.
Setup 291
If you choose just the Race page display option, the page will only be displayed when the
Dash Race Page Threshold speed (on the Miscellaneous page) has been exceeded.
If you choose the Lap page display option, the page is only displayed when a valid End-
of-Lap beacon code is detected. The selected channels in the page are displayed for 10
seconds and then the display returns to the previous page display.
10 Configure the other available Pages as required.
After you have completed setting up alarms you must click Save to save the changes, or
click Undo to return to the previous settings.
Setup
Pi Omega dash Alarms page
2 Click New.
Setup 293
3 Click Trigger and choose an Event from the list in the Events box which will
trigger the Alarm.
If you set up a relevant Alarms option in the Action On area of the Message Centre page
you can choose which channel to display when the alarm is triggered.
4 Click Channels. Choose a channel to display in the Message Centre when the
alarm is triggered.
Setup
To allow the alarm to be cancelled using the Red button on the Pi Omega dash check (✓)
Allow driver to cancel the alarm.
Alarm backlight
The Pi Omega dash has an option to change the backlight colour to red when an Alarm is
triggered. To select this option click the light gray coloured ALARM BACKLIGHT annuncia-
tor. The annunciator is active when it is black. To de-activate the annuciator click ALARM
BACKLIGHT and the colour reverts to light gray.
When the Alarm is cancelled (either manually or automatically) the backlight reverts to the
default colour.
Alarm annunciator
In addition to changing the background colour when an alarm is triggered you can also choose
to display the word ALARM on the dash. Click the light gray word annunciator ALARM to
activate. The annunciator is active when it is black.
To de-activate the annuciator click ALARM and the colour reverts to light gray.
Setup 295
Pi Omega dash Shift/alarm light LED module
You can attach an optional shift/alarm LED module to the Pi Omega dash and choose to
set the alarm light when an alarm has been triggered.
This section outlines the Switch Application and Switch to CAN boxes.
Overview
The Switch Application is analogous to a patch board. It maps real life switch inputs to bits
in a channel. The idea is that you create an output channel, e.g. DisplaySwitch and you
select which physical switch inputs affect which bits of your output channel.
Switch inputs in Pi Sigma are not directly wired to the MCU or SCU. Instead they are con-
verted to a CAN serial stream and read by a CAN serial port on the MCU. This removes
any limitation on the number of switches possible.
The figure above shows a Switch to CAN box (on the left) accepting 4 switch inputs. These
switch inputs are sent via CAN and are decoded by the Switch Application which creates
the appropriate mapping for an output channel. The channel in the figure above is named
DisplaySwitch.
You use a Switch to CAN box to transform the switch inputs to a CAN message. In this way
you can daisy chain CAN boxes together to attach as many switch inputs as you like (up
to 14 CAN units on one can input). Each CAN box has a unique identity. You need to tell
the Pi Sigma System which CAN boxes are on the vehicle. The standard Switch to CAN
box has a CAN ID of 1.
If you add another Switch to CAN box it must have a different ID. Pi Research can change
the CAN ID of CAN boxes (note you will probably need an adapter loom, available from
Pi Research.)
The Pi Steering Wheel Dash has a CAN interface built in. The CAN ID of this interface can
be changed by Pi Research.
The Slave Control Unit Properties dialog box (shown below) is the properties box of the
SCU (or MCU if MCU is selected), both of which can accept a CAN input.
Setup
To tell Pi Workshop the CAN box IDs:
1 In the Setup Data Manager Apps branch double click on Sigma Configura-
tion. The Sigma Configuration window appears.
2 Select SCU (or MCU).
3 Right click in the window and select Properties… from the pop-up menu. The
Properties dialog box appears.
Setup 298
4 Click the CAN Setup tab. Select the IDs of the CAN boxes fitted to the vehi-
cle.
The Switch to CAN box only has access to four switches. The CAN interface built into the
Steering Wheel Dash can accept up to 12 switch inputs.
Switches float high and are grounded by the switch, therefore the usual state of a switch
input (i.e. not pressed) is TRUE (or 1) whilst the pressed state is FALSE (or 0.) You can
invert this in the Switch Application if required. Using the Switch Application
You can have several output channels made up from the state of any Switch (from any
CAN box).
The Rate specifies the rate at which the output channel selected (in this case there is only
one) is generated, and therefore is the maximum rate at which it can be consumed.
This means that the state of bit 0 of the channel DisplaySwitch will be the inverted state
of the sixth bit of the CAN message from the Switch to CAN box ID 1, situated on Node
0x05 (i.e. an SCU). This is shown in the figure at the start of this section.
Setup
Adding an Output
Channel
Setup 300
Editing the Mapping
This lets you select which bit from which CAN message should be used to control the
required bit of the output channel. In the Switch Properties dialog box shown above, the
Output bit, bit 0 of a channel named DisplaySwitch is mapped to the inverted bit 6 of the
CAN message ID 1 from Node 0x05.
Source
The Source List allows you to select from either fixed values (0 or 1) or the bits from one
of the Switch to CAN boxes attached to the system.
The output of the Switch Application is a U32. The first 16 bits can be set up by the Switch
Application. The last 16 bits refer to the validity of the channel.
Bit 16 is TRUE if Bit 0 is VALID, it is FALSE if the bit is invalid, and so on.
This is useful for critical applications, which can check the validity of the switch to see if
the CAN stream is OK. If the CAN stream is disconnected for more than 200 ms then all
bits from that Switch to CAN box are marked invalid (you can easily check this in code by
ANDing the upper and lower 16 bits.)
Setup
Setup 302
Telemetry Application
The following section outlines the method required to set up the Telemetry Application
with a Pi Sigma System. The telemetry setup of a Pi Sigma system is very critical. If set
incorrectly, End-of-lap telemetry will overfill Continuous telemetry and the user will be left
with no telemetry.
���������
��������� ����������� �����������������
���������
��������� � ���������� � ����������
���������
����� � ���������� � ������������
�����
Setup
����������� � ����������
�����
���������������
����� �� ����������� � �����������
� ������������ �����������������
The Telemetry Application generates up to four different Data Streams that comprise data
from any combination of the sixteen Telemetry Data Sources and four Event Sources.
Setup 303
Channels and Telemetry Data Sources
A Telemetry Data Source is a collection of channels that can be combined into a Serial
Stream for transmission by a telemetry system. A maximum of 16 Telemetry Data Sources
are supported.
Types of telemetry
This section shows how to set up a telemetry stream with Pi Sigma system.
To set up telemetry:
1 In the Setup Data Manager Apps branch double double-click on Telemetry.
The Telemetry dialog box appears.
Setup
Telemetry When dialog box with Continuous Telemetry Source selected
Setup 305
Data Engine Advanced Properties dialog box
5 Select the Automatic Message Size option and click OK. The Data Engine
Advanced Properties dialog box closes.
This uses the list of channels in the Telemetry table, plus the rates at which they are sent,
and calculates the amount of data sent in each packet.
Each channel in the Data Source Setup has a Rate (Hz) at which it is added to the Te-
lemetry Data stream. The higher the Rate the more channel data is sent at the expense
of overall bandwidth. Bandwidth is determined by the transmission capability or baud rate
of the telemetry system.
Message Size
The Message Size affects how data is received. A long message has a greater chance of
corruption by interference and noise.
A shorter Message Size increases the chances of the telemetry system receiving a com-
plete telemetry message in areas of poor reception. However, a smaller Message Size
increases message repeats and reduces overall bandwidth.
Setup
Manual Message Size. Reduce the manual message size incrementally until
the stream usage equals the maximum for the radio.
The reason that the continuous stream usage should be maximised is because the trans-
mitting radio will cease to remain in its transmitting mode after a certain time period has
expired. If the continuous stream percentage is not maximised, pauses will exist between
packets sent by a Pi Sigma MCU.
Baud rates and bandwidth
The rule is send lots of channels at low rates or less channels at higher rates.
Setup 307
Setting the End of Lap Telemetry Options on the When page:
1 Click on End of Lap. The When page changes to show the End of Lap op-
tions.
Setup
Telemetry Event Source When page
Setup 309
To set the What page options:
1 Click the What tab. The What page appears.
With this setup the MCU will transmit 68 bytes/second. To validate this, a 9600 baud radio
will transmit 960 bytes/second.
Setup
Telemetry What dialog box with End-of-Lap Telemetry Source selected
In this page the rate is effectively ignored because the system will just send a snapshot
value.
Setup 311
To set Event Engine Telemetry Options on the What page:
1 Click Event Engine in the Telemetry Sources dialog box.
This is the page in which Events are selected to include them in the Event Telemetry
stream.
Setup
2 Select the Events you want to add. Click OK.
Setup 313
To set the Where to page options:
1 Click the Where to tab. The Where to page appears.
2 The Baud Rate should be set to match the hardware radio that is being
used.
3 If telemetry logging is to be used, check (✓) the Logging Enable option.
4 Set the Storage path where the telemetry data will be stored.
Note: End of Lap source is top priority. If any of the other settings need to be changed, it
is wise to check the setup first to ensure that telemetry is not detrimentally affected.
1 Select the source you want to change and click the Up button or the Dn button
to move the chosen source up or down the list.
Setup
1 Click Continuous in the Telemetry Sources (priority order) window.
When Continuous is highlighted, the settings should be set to those shown in the previous
figure.
Note: The text at the bottom of the window indicates how much of the stream is being
used. It is wise to keep this below 80%.
Setup 315
To check the End Of Lap Options:
1 Click End of Lap in the Telemetry Sources (priority order) window.
The Telemetry Source Settings shown below should be used for the EOL stream.
Telemetry dialog box Where to page with End of Lap Telemetry Source selected
Setup
Telemetry dialog box Where to page with Event Engine Source selected
Setup 317
Tell the MCU which
Serial Port to use
The next step is to set up the configuration to send the telemetry information through the
correct Serial Port on the MCU.
Setup
4 Click the tab for the Serial Port you are using for your telemetry.
The Telemetry Stream is usually sent through Port 2B.
5 Select RS232/TTL in/out from the list in the Config box.
6 Select Realtime Telemetry (9600) from the list in the Output box.
7 Select None from the list in the Input window.
8 Set the Baud Rate to 9600, the Stop Bits to 1 and the Data Length to 8.
9 Click OK.
Setup 319
320 Pi Workshop User Guide
Writing a Math Channel
Overview
One of the powerful features of the Pi Sigma system is its Math Channel capability. You
can write Math Channels with any number of inputs and outputs.
Math Channels that use only one input are called Simple. Math channels that use more
than one input are called Complex (a mathematical term meaning composed of more than
one.)
Setup
Math Channels are usually an equation, relating the output channel to one or more vari-
ables. You assign channels available on the box to variables used in your equation. For
example:
Setup 321
Adding a Math Channel
Setup 323
Define the inputs to be used as variables in your equation:
1 Click the Variables tab on the Math Channel properties dialog box. This page
holds all of the input information.
2 Click Add… to add a new variable. The Variable Properties dialog box
appears.
You must now decide which channel you wish to assign to this variable.
Adding a variable:
1 Name the Variable. (You might decide to have something more meaningful
than the default name x).
2 Select an Input Channel from the drop down box.
3 Select the Units which you want to use in this channel.
Pi Sigma understands the difference between different units and will automatically scale
the channel. So if you want your equation in inHg you would just select it here.
4 Enter a Description. This is mainly used to remind you what this input does
in the equation.
5 Continue adding all the inputs you need for your Math Channel.
Setup 325
They will be listed like this :
You must now define the equation (or transfer function – which is a control engineering term
meaning the ‘ratio of the output versus the input in terms of the Laplace operator S’).
1 Click the Transfer Function tab.
Setup
Math Channel Properties dialog box with Transfer Functions tab selected
2 Type the output channel name in the Channel block in the Channel area of
the Generated Channels section.
3 Select a Rate option.
Setup 327
If the Fixed Rate option is selected the channel is generated on the MCU at the rate speci-
fied. If the Key Variable option is selected, the channel is generated by the PC either on
offload, or over telemetry. The channel is then generated at the rate of the Variable you
have chosen.
You can have more than one output if you want. Each output channel has its own calibra-
tion.
4 Set the Quantity in the Quantity block in the Channel area of the Generated
Channels section.
5 Set the units in which you are calibrating your output in the Unit block in the
Channel area of the Generated Channels section.
Pi Sigma will then understand what units you have calibrated the output(s) in and can scale
the channel correctly if you want to view the channel in different units.
6 Enter the Equation in the Equation text box.
7 Click Check to validate the equation.
Example equation
The equation text box above is for the output channel Brake Balance. If you added more
than one output channel then the equation box above will change to reflect the output chan-
nel equation you are editing – this depends on which channel is highlighted.
More detailed operator behaviour (including precedence and precision) is available in the
Math channels operators and functions section.
Channel usage
This page gives a description of where in the system this Math Channel is being used.
1 Click the Channel Usage tab.
Setup
Math Channel Properties dialog box with Channel Usage tab selected
Setup 329
Look Up Table
3 Select Single Math Channel (Table). The Single Math Channel (Table) dialog
box appears.
Everything is similar to before, except you can only do one-dimensional look up table at
the moment, so the UI dialog box is simplified and only includes one input and one output
channel.
Types of fit
There are several different fits available to your tabulated values. These are Sample and
Hold, Interpolate, and Extrapolate. You select these from the Type pull down box at the
bottom right of the dialog box.
Setup
Sample and hold Interpolate Extrapolate
Types of fit
Setup 331
Organising math channels
Math channels may be arranged into folders of related items. Use Hierarchical Folders to
Organise Your Math Channels
The New Folder option allows you to arrange your Math channels so that they easier to
maintain, and it looks better than one long list. You can make your folders first and add
Math channels to each folder, or you can drag the Math channels into different folders
afterwards. Just like files in Windows™ Explorer.
Overview
Pi Workshop and Pi Sigma allow manipulation of channel outputs directly by using ‘regis-
ters’ stored in memory.
Registers may be used via the equation entry area of a channel (Math Channels or Sen-
sors). Each channel has a maximum of seven registers associated with it, numbered a0
through to a6. All registers are set to zero whenever the logger is ‘reset’. For example
this could be when a setup is sent to the MCU or when the MCU is power cycled; i.e. the
contents of the registers are not ‘reset’ every time the channel is calculated.
Setup
Maths Channels are calculated on the box using the base rate of the channel. e.g. if the
channel is transmitted on telemetry at 100Hz then the channel is calculated every 10mS.
Setup 333
Example - a simple filter
If, for example, a channel has a particularly noisy or fast changing value and a control
system is trying to use this channel then it is possible to apply an averaging filter to the
output of a channel. For the purposes of this example a rolling filter is used but more
complex filters could be fashioned. The following expression is used in the equation area
of the channel;
The operating system in Pi Sigma will perform each of the actions sequentially as it reads
the equation from left to right.
The ‘@’ symbol loosely translates to a ‘get the contents out of’, type operation.
The first function ‘a4 (@a3)’ translates to ‘load register a4 with the contents of register
a3’.
Although contained in the middle of this expression, the most important action is ‘a0 (x)’,
which translates to ‘load register a0 with an instantaneous sample of channel x’. i.e. the
main channel ‘x’ is loaded into register a0. This sample then subsequently passes through
each register until ‘over written’ in register a4.
Finally the contents of the registers are summed and then divided by the number of reg-
isters to obtain an average value. The average value is the result of the channel that the
system uses.
It can be seen that a change in the value of ‘x’ will propagate from a0 through to a4 on
each pass through by the rate task. So, if the channel is calculated at 100Hz then the filter
response will be similar to a 20Hz roll off but with a time (phase) delay of about 4mS, which
incidentally, may affect dynamic data analysis.
In the next example a counter is used which ramps up in value until a beacon is seen
whereupon it resets and starts to count over again.
The first operation not only performs the count but also ‘tests’ to see if the lap number has
changed.
To perform this test the variable ‘c’ is compared to the contents of register a2. Depend-
ing upon the answer to this test the count is ‘reset’ (actually multiplied by 0 which has the
same effect).
Setup
Similarly another math comparison not equal ‘!=’ may be used which may be easier to
visualise.
The second expression loads the value of lap counter to register a2 ready for the next
time.
The final expression says to get the contents of register a1 and use this as the output.
(Incidentally it is not necessary to put the @a1 at the end of the statement as this can be
recognised anywhere in the expression.)
This channel will have the effect of counting up until a change in lap time is observed
whereupon the counter is reset to zero. This channel may have use in the calculation of
coverage for telemetry or for a rolling lap time for example.
Setup 335
Example - last Beacon
code seen channel
This channel will capture the last valid code that the beacon input has seen. The following
expression is used in an equation;
a3(c); a2( (@a2 * (@a3 >65000)) + (@a3 * (@a3 < 65000)) ); @a2
The variable ‘c’ is defined as BeaconRaw for use in the equation.
How it Works
Step 1
a3(c); translates to ‘load a3 with the value of ‘c’.
This is because c is referred to twice in the equation and it is important that the value does
not change during the evaluation.
Step 2
a2( (@a2 * (@a3 >65000)) + (@a3 * (@a3 < 65000)) ); translates to ‘if a3
is over 65000, then load a2 with a2’ (i.e. keep the same value) plus ‘if a3 is under 65000,
then load a2 with a3’ (i.e. the value of the variable c, BeaconRaw).
Step 3
@a2; translates to ‘set the maths channel output value to a2’.
This is a monotonic count of all beacons seen since the last logger reset. It could be easily
modified to give just the number of EOL’s or the number of Splits. The following expression
is used in an equation:
How it Works
One way of thinking about this is as a ‘state engine’ with 101 states.
Setup
state operation
0 do nothing, if BeaconRaw = a valid code (in this case < 65000) increment
a4
1 increment a4, if a4 is greater than 100 force a4 to 0
2 increment a1, increment a4, if a4 is greater than 100 force a4 to 0
..
100 increment a4, if a4 is greater than 100 force a4 to 0
101 increment a4, if a4 is greater than 100 force a4 to 0 (which in this state is
true so we return to state 0 i.e. a4 is only incremented when a4 is non zero,
or when a4 is zero AND BeaconRaw is a valid code)
Step 1
a4( ( @a4+(@a4!=0) ) * (@a4<100) ); translates to ‘if a4 is greater than 100
then load a4 with 0’.
Step 2
a1( @a1 + (@a4 == 2) ); translates to ‘if a4 is equal to 2, increment a1 (Beacon-
Count)’
Setup 337
Step 3
a4( @a4 + ( (@a4 == 0) * (c<65000) ) ); translates to ‘If a4 is 0 and Bea-
conRaw is a valid beacon code increment a4’. This is the “trigger”.
Step 4
@a1; Set maths channel value equal to a1 (BeaconCount).
Overflowing registers
Similar caution should be exercised if the contents of the registers are likely to overflow.
The size of registers are doubled and so overflow will be unlikely.
Setup
Setup 339
Math Channels Operators and Functions
This section describes the types of Math operations you can do in a Math Channel.
Note: Pi Sigma will return a value of zero for any valid math function that cannot be
evaluated.
Operators
The following table defines the operators that are supported in precedence order.
Equality
== x == y returns 1 if x equal y else 0
!= x != y returns 1 if x not equal y else 0
Bitwise associate left to right
& x&y Casts x and y to a 32 bit integer, and then bitwise AND’s
the two results.
| x|y Casts x and y to a 32 bit integer, and then bitwise OR’s
the two values.
Logical associate left to right
&& x && y returns 1 if both x and y are non zero else zero
^^ x ^^ y returns 0 if x and y are both non zero or zero, else 1
|| x || y returns 1 if either x or y are non zero else 0
Setup
Functions
Setup 341
Operator Usage Description
Conversions
Setup
representing the largest integer that is less than or
equal to x.
fabs fabs(x) returns the absolute value of x.
fmod fmod(x/y) fmod returns the floating-point remainder of x / y. If
the value of y is 0.0, fmod returns 0.
min min(x,y) returns the lesser of x and y
max max(x,y) returns the greater of x and y
shr shr(x,n) converts x to a 32 bit unsigned integer, and shifts
the bits right n bits, shifting in zeroes in the high
order bits
choose choose(c,x,y) if (c is 1) returns x otherwise returns y
s8 s8(x) returns x casts to a signed byte
u8 u8(x) returns x cast to an unsigned byte
s16 s16(x) returns x cast to a signed word
u16 u16(x) returns x cast to an unsigned word
s32 s32(x) returns x cast to a signed word
u32 u32(x) returns x cast to an unsigned dword
Setup 343
Types
All operations are performed on 8 byte (64 bit) IEEE floating point values. When a cast
operator is used, the value is cast to the type specified, and then stored back into an 8 byte
IEEE float.
Constants
Constants are entered in standard notation. The exception is that if you want to enter a
number such as 1.3e-4, you must enclose it in single quotes, as ‘1.3e-4’.
Channels
Channels are entered into the equation by typing their name. If a channel includes spaces,
you must enclose it in single quotes. You can also drag and drop channels into the equation
editor, and quotes will be added as appropriate.
Introduction
The Real Time Data Manager provides a source of both Watch channel data from the
current System connected to the Pi Server application running on the Watch Server PC,
and Real Time Telemetry data from configured telemetry server PCs. The Real Time Data
Manager communicates over the network using Multicast IP protocols. This is illustrated
in the overview figure below. Pi Server will only broadcast the data when it receives data
from the telemetry system or from the Watch channels system.
Setup
PC running Pi Server PC running Pi Workshop
Real Time Data Manager
Watch channels
PC running Pi Workshop
Real Time Data Manager
Watch Requests
Global
Information Stream Channels Controls
Database
Data Stream
Before the Real Time Data Manager can be used the network must be configured for use
with Multicast IP by your Network administrator.
Setup 345
Real Time Data
Manager operation
The Real Time Data Manager uses a number of streams passed over the network be-
tween the Pi Server PC and a number of PCs, each running a Real Time Data Manager
in Pi Workshop.
Information Stream
The Information Stream from Pi Server contains only information on channels it can broad-
cast. It does not contain any data. The Information Stream is decoded by Pi Workshop and
the channels are shown in the Global Channels Database (GCDB).
Watch Requests
A Watch Request from Pi Workshop informs Pi Server that a particular channel will used
by a Control. The Watch Request is generated when a channel is dragged from the GCDB
onto the Control.
Data Stream
The Data Stream contains only data for those channels which have a Watch Request.
Setup
1 Right click on the Real Time Data Manager. Choose Connect from the pop-up
menu.
This will establish a connection to all configured server machines. Any errors during this
process will be displayed in the status tab and the status Circle will go red.
Setup 347
General page
Use the Name field to set the name of the Data Manager.
The Description field is a read only field that provides a brief description of the type of data
provided by the Real Time Data Manager.
The Watch Server Machine field is a combo box used to select the one and only Watch
server machine. A list of the most recently used machines shown.
The Telemetry Server Machine field is a read only edit box. It displays the name of the
telemetry server if only one is configured. If more than one telemetry server is configured
then this field will display <Multiple>.
Click the Config button to open the Additional Telemetry Servers dialog box.
Setup
The Disk Cache Location field is read/write edit box that is used to set the directory for
the real time data manager disk cache. The ‘Browse’ button activates a browse dialog to
allow the user to browse to the desired disk cache location.
Setup 349
Status page
The Status page is used to determine the current state of the Real Time Data Manager.
The Data Manager field is a read only field that shows the current state of the Real Time
Data Manager.
The Last Reported Error field is a read only field that describes the last error that was
encountered.
Setup
Real Time Data Manager Hardware Configuration page
The IP Address and Port fields are read/write edit boxes. They are used to configure the
information stream and port that the desired server machine is to broadcast on. These
values can be obtained from the Real Time Broadcast group in the Telemetry tab of the
server application running on the desired server machine.
The Network Adapter field is a combo box that displays the IP Addresses of all network
cards in the system that have bindings to TCP/IP. It is used to select the network card to
communicate with server. This option is only configurable if multiple network cards exist on
the real time data manager machine and have TCP/IP bindings. If no network card exists
on the machine <None> will be displayed. If one network card exists on the machine it will
be selected by default and the combo box will be greyed out.
The Network Hops field is used to configure the time to live for packets sent from the real
time data manager to the desired server machine. It basically tells the packets how many
sub nets to try before giving up and being destroyed.
Setup 351
Track Map page
This page is used to set the real time data managers’ associated track map. The config-
ured map is employed when using the Map Display Control in Pi Workshop. The Attach
to selected control option will connect the real time data manager to all currently selected
controls in workshop.
The Remove option will close and delete the Real Time Data Manager.
The Hot Link ID displays the current Hot Link ID for the Real Time Data Manager
The Real Time Data Manager has five possible states, each represented by a different
colour circle.
Setup
be populated.
Receiving Data Green The Real Time Data Manager has received event or
channel data from the server. A timeout of five
seconds operates in this state, so that if no data is
received within this period the state is set back to
Connected.
Broken Red The Real Time Data Manager has encountered a
problem. In this state the Status page will display
text which provides a brief description of the most
recent error.
Setup 353
Setup
Setup 354
Controls
Controls
Introduction to Controls
You use Controls in Pi Workshop to display and manipulate data. These controls (for ex-
ample a histogram bar graph) are dropped onto cards, and stored in a book called a Work-
book. A control can display data from a variety of sources. These data sources are called
Data Managers, for example the Telemetry Data Manager, or the Watch Data Manager.
The idea is that you arrange controls on different cards corresponding to different areas of
interest – for example Chassis Watch or Engine Telemetry.
Controls
The figure above shows a typical card with several different types of controls. Some of the
controls show <No Data> or No Data Manager; this is because the controls have not been
Controls 357
linked to a Data Manager – the card shown above is one of the default templates supplied
by Pi Research when you first install Pi Workshop. You must select the Data Manager you
wish to link the control to, and then drag a channel from the list of channels in the Global
Channels Database on to the control. If the Global Channels Database list is empty then
you can click the magnifying glass to see all of the channels.
Pi Workshop has a number of toolbars available which can be displayed or hidden. The
Controls toolbar is one of these toolbars.
Controls
Controls Available
Controls are available from the Controls toolbar. The controls are organised into two
groups: General, and Graphing. If you have AutoCal installed you will have a third group
called Instrumentation – these are special controls for doing active control. To use a control
click an icon on a toolbar and drag it onto a card.
Controls 359
General Controls
Toolbar
Controls
Autoscaling Distance Graph
10-bin Histogram
Telemetry Map
Controls 361
General Controls:
Tabular Lap Report
Control
The Tabular Lap Report Control (TLR) gives a summary of selected channel values every
lap. You must send the channel LapNumber in the End-of-lap (EOL) telemetry for the lap
number field to be updated.
2 Drag the required channels from the Global Channels Database into the con-
trol. The Select the statistic to calculate dialog box appears.
Option Meaning
Controls
Tabular Lap Report Control Properties dialog box
Controls 363
You can change the properties of the font used in the Tabular Lap Report.
The Events Control is a tool for monitoring events occurring on the MCU via telemetry.
The control references the .evt files in the events directory in C:\PiWorld\DataDirectory to
look up a description. If the event is not listed (for example a user event like an oil pressure
alarm) then the Events Control will just display the event number.
Controls
Events control window
You must specify the events to be sent over telemetry using the Telemetry Application –
see the Telemetry Application section.
Controls 365
General Controls: Hot
Link Control
The Hot Link Control is a special control which allows scripts to be run within Pi Work-
shop. You have to write scripts in a special language, and each hot link control executes
a pre-written script. Every card and control has it’s own hot link identifier which is used
to access a control from within any script you write. Contact Pi Research for details of the
scripting language.
After creating the Hot Link control you can change its properties.
Controls
4 Select an Image Type (bitmap or icon).
5 Enter the image path and file name in the Image box or use the Browse button
to locate the image file.
6 Enter a description of the Hot Link in the Comment box.
Controls 367
You can edit the script that the Hot Link will run when it’s button is pressed. You have to
write scripts in a special language, and each hot link control executes a pre-written script.
Contact Pi Research for details of the scripting language.
Channel Display Control after Speed channel has been dragged in from the GCDB
Controls
To remove and show the Channel Display Control header:
1 Right click in the control and select the Show Header option from the pop-up
menu.
This is a toggle option. Selecting the option changes it to the other state.
Note: The colour of the channel text is set in the Global Channel Database.
Controls 369
You can change the properties of a Channel Display Control.
Controls
2 Click the General tab and check (✓) the Enable option in the Alarm window
area of the page.
3 In the Name area enter a name for the Alarms window when it appears.
Alarm window
Controls 371
An Alarm Window displays Alarms in the order that they were triggered. i.e. the latest Alarm
is at the top of the list in the Alarms window.
If an Alarm window appears you have the options listed in the next table.
Option Result
Acknowledge The selected Alarm is removed from the Alarm window. If the
Alarm exceeds the Alarm thresholds set it will be triggered again.
Select All Selects all the alarms in the Alarm window.
Ignore The Alarm is ignored. If the threshold values are reached
again the alarm will not be triggered.
You can change the font used in the Channel Display Control.
Note: The colour of the channel text is set in the Global Channel Database. However you
can change the colour of text if the channel alarms.
Note: The local channel Threshold Alarm override properties are saved with the Work-
book, not the GCDB. If you don’t want the local override properties saved, don’t save the
Workbook when you close it.
Controls
Threshold Alarm dialog box for a channel
Controls 373
Option Result
The options chosen only affect the channel in that control. The Alarm Max and Alarm Min
values in the Global Channels Database are not changed. If the channel is used in other
controls, the Threshold values will not be changed in those control.
Controls
Text Control Properties dialog box
Controls 375
General Controls:
Graphic Control
Note: The control only stores a path to the bitmap – so if you move the location of the
bitmap then the control will not find it and will be blank.
5 Click OK.
The Dial and Knob Control is one of the three National Instrument™ controls included with
Pi Workshop. They all follow a similar format, and are very configurable.
Controls
Controls 377
Knob Control Style tab
1 Click the Style tab to select the type of knob for the control.
CWKnob Control (National Instruments) Properties dialog box showing some Styles
CWKnob Control (National Instruments) Properties dialog box – Numeric tab selected
Controls
The invert option changes the numbering from anticlockwise (normal) to clockwise (in-
verted.)
Controls 379
Knob Control Arc angles (degrees)
Imagine a circle with 0 and 360 at the very top where the numbers increment clockwise.
0
270 90
180
Arc angle specifies the arc you want, cut from the circle you have just imagined, starting at
the Start angle and weeping anticlockwise to the End angle.
For example:
CWKnob Control (National Instruments) Properties dialog box – Pointer tab selected
Controls
Mode option Function
Controls 381
Fill Style
This allows you to add a band of colour either in front or following the pointer.
Note: The second pointer appears behind the first pointer. This is the rule for new point-
ers added. The first is on top, and subsequent additions are placed underneath. This
order can be changed in the Advanced tab.
Style
There are three different pointer styles :
■ None – in this case there is no pointer (although a fill option -described
above - will still be visible.)
■ 3D – the figures above show the 3D style.
■ Thin – this is just a line.
Value
This is the start value of a control pointer.
The control above has two pointers, the first is Pointer-1and is an indicator (see the set-
tings in the next dialog box.)
Controls
CWKnob Control (National Instruments) Properties dialog box – Pointer tab selected
Controls 383
The second, Pointer-2 defines the danger region. As you can see in the following dialog
box the Style is set to None and the Fill is ill to Maximum. It’s Mode is Control and it’s
Value is 6.05143.
CWKnob Control (National Instruments) Properties dialog box – Pointer tab selected
CWKnob Control (National Instruments) Properties dialog box – Ticks tab selected
Labels
Labels are the numbers themselves e.g. 0, 2, 4, 6, 8, 10 as shown in the next figure.
Controls
Example of labels on a control.
Controls 385
Tick Spacing
The ticks are the little lines or graduations on the scale. You can leave the number of ticks
automatic or you can specify the number of ticks manually. The dialog box is a little mislead-
ing, because the Major means the number of major “spaces” over the whole range whilst
the Minor means the number of spaces per major division.
As you can see in the next figure, specifying 3 in the Minor box of the Tick spacing options
gives 3 spaces per Major division (or 2 minor ticks.)
ticks outside
ticks inside
Format tab
Controls
This page specifies the format for the numeric display within the controls.
CWKnob Control (National Instruments) Properties dialog box – Format tab selected
Controls 387
Format string
Include text by appending the Format string with text wrapped in quotes. See the example
below.
Images tab
The images page allows you to change the way some of the images within the control are
displayed. It allows you to set bitmaps (.bmp files) for some of the Images that make up
a control.
CWKnob Control (National Instruments) Properties dialog box – Images tab selected
Animation
The Animation section allows you to further influence the appearance of these images.
Blink: makes the image flash on and off.
Animate: This splits the image into a matrix, each section of the matrix is
shown one after the other.
The Rows and Columns allow you to specify how the image is divided up into sections. If
you set the number of columns to 2 and the number of rows to 2 you will split the bitmap into
4 sections. Animating these will show top row from left to right and then the next row from
left to right. When all rows have been shown the animation starts from the beginning.
For example using the following image file, split into 4 sections (2 rows and 2 column.)
Controls
Example bit map
Controls 389
Selecting the following options will animate the bit map.
CWKnob Control (National Instruments) Properties dialog box – Images tab selected
In the above dialog box the bimap has been loaded as the background. The effect is shown
in the next figure.
CWKnob Control (National Instruments) Properties dialog box – Advanced tab selected
Parts
The Parts section shows the Z-order of the control; it refers to a 3 dimensional plot,
Z-Y and Z. In the above figure you can see that the Background is at the very bottom of
Controls
the list; this means that it will be drawn first and all the other parts will be layered on top
of it. Parts can be moved up and down the list using the Up and Down arrow buttons on
the dialog box.
Controls 391
General Controls:
Button Control
The Button Control is used to indicate an On or Off state. The threshold is halfway between
the maximum and minimum values set (lower is OFF, higher is ON.)
CWButton Control (National Instruments) Properties dialog box - Style tab selected
The following sections give information on the options available for a button control.
Style tab
The Style page contains a set of buttons to choose from, including a picture button at the
bottom left hand corner. The picture button allows you to put a bitmap for the ON and the
OFF state.
CWButton Control (National Instruments) Properties dialog box - Button tab selected
Controls
Button showing the On text Button showing the Off text
Controls 393
Images tab
The Images page is where you can specify a background image.
CWButton Control (National Instruments) Properties dialog box - Images tab selected
If you have chosen the picture button, this is where you specify a bitmap for the ON and
OFF stat.
CWButton Control (National Instruments) Properties dialog box - Advanced tab selected
Controls
Controls 395
General Controls: Slider
and Thermometer
Control
The Slider and Thermometer Control is similar to the Knob and Dial control except the
styles.
Refer to the General Controls: Knob Control for a description of the other pages e.g. For-
mat, Images etc.
The Bit Indicator provides a binary representation of a channel. It is useful when a chan-
nel is used to represent different modes (from an ECU perhaps) and each bit represents
a mode.
Controls
You can further affect the layout by changing options in the Layout tab.
Controls 397
Layout tab
Label location
This puts the label (e.g. bit0) in a different location. Note that the ON/OFF text (specified in
the Bits tab) is not displayed when the Label location is inside. Here are some examples
Across Down
Border Style
The Border Style affects how the whole control merges with the background card.
Style Effect
None
Raised
Controls
Sunken
Etched
Bumped
Controls 399
Item Border
The Item Border option controls the lines between bits (below shows this option un-
checked.)
Bits tab
From the Bits tab you can change the ON and OFF text, the ON and OFF colour, the label
(under the heading name) and whether the bit is enabled or not (in the case when you
aren’t using 32 bits.)
Controls
Several bits selected
Controls 401
Using the Bit Indicator:
An example
A popular way to use the bit indicator control is to display the gear number.
Lets say you have a channel called Gear – this could be sent from an ECU or perhaps it’s
a zero-order hold calibration (stepped) of a drum pot. Gear is a number from 0 to 6 repre-
senting 6 forward gears 1 through 6, and neutral, 0.
The first thing to do is convert the Gear channel into a channel suitable for the Bit Indicator
Control. You need to think in binary for this:
Bit 0 is 1 in decimal (20)
Bit 1 is 2 in decimal (21)
Bit 2 is 4 in decimal (22)
Bit 3 is 8 in decimal (23)
Bit 4 is 16 in decimal (24)
Bit 5 is 32 in decimal (25)
Bit 6 is 64 in decimal (26)
So make a table maths channel, input = Gear and output = Gear Indicator where 0=0,
1=2, 2=4, 3=8, 4=16 ad so on.
Math Channel (Table) dialog box with Transfer Function tab selected
Controls
Controls 403
Graphing Controls:
20-Second Char
Recorder
The 20-Second Chart Recorder is a general purpose chart, with time on the x-axis, and one
or more channels of your choice on the y-axis. The default scale for the time is 20 seconds,
but this can be changed if you wish.
You can resize the title and the chart area using the mouse.
Title tab
The Title page lets you change the title text, title Font and font Colour.
Controls
2D Graph Properties dialog box - Title tab selected
Controls 405
Graph tab
This page relates to the chart itself (i.e. the grey area where the line are drawn.)
Mode
Tile: means that the graph is split into sections, and each section shows a
channel (similar to the tile option in Pi Analysis).
Overlay: means the channels are laid over the top of one another.
Data Retention
This sets the amount of information the control will store. You should set this to Manual and
specify the same length of time as the x-axis (in this case 20 seconds.) Setting the Data
Retention to Infinite will allow you to expand the graph at a later time during the session
and see earlier data – but you must use care because the PC will run out of resources if
left too long.
Indent Frame changes how the chart area blends into the control itself. The figure above
and to the left is not indented, whilst the figure above and to the right is indented.
Controls
Controls 407
Trace tab
In this page you can change the Type and Colour of the line.
Controls
Draw
Draw specifies if the x-axis is drawn on the top, bottom or both sides of the chart.
Controls 409
Range
Setting Effect
Scrolling Using this mode you can either link to retention (advised)
or set a smaller x-axis then the retention you have
specified (this is only really for specialist applications.)
Manual In manual mode you can set fixed limits – this is not
advised when the x-axis is time.
Tick Range
This sets the number of graduations on the x-axis.
Range
Controls
When set to Expanding the Y-axis autoscales, or you can select the Manual option to
set a scale.
Tick Spacing
The Tick Spacing option is described in the X-Axis section.
Draw
The Draw Option is described in the X-Axis section.
Controls 411
Grid tab
This page sets the grid options for the chart.
An example of the automatic grid settings selected in the above dialog box is shown in the
next figure.
An example of the manual grid settings selected in the above dialog box is shown in the
next figure.
Controls
Example graph grid with manual settings selected
Controls 413
Cursor tab
This page allows you to update the values in the bottom left-hand side of the chart.
You can change the font size (the figure below shows the font at 14 pt rather than the
default of 6 pt.)
Controls
2D Graph with coloured background and Frame Indent checked
Controls 415
You can also adjust how the control blends with the card using the Indent Frame option.
The Autoscaling X-Y Graph is the same as the 20 second chart recorder, except that the
X-axis does not have to be time. It can be any channel you want.
Controls
A good idea is to put RPM as the x-axis for this control. Then you can put parameters that
vary with engine RPM versus RPM to see if they are reacting properly.
Note : Delete channels you don’t want on the Y-axis (including the first channel you add-
ed) using the same process as for deleting channels in the 20 Second Chart Recorder.
Controls 417
Graphing Controls:
10-Bin Histogram
The 10-bin Histogram can have as many bins as you like. All the tabs work as for the
20-second chart recorder with the exception of the Bin tab.
The 10-Bin histogram shows the relative amount of time a channel has spent between
a certain range. You can set the number of bins yourself, and you can set the range for
each bin.
This is especially useful for keeping track of how long an engine has run in a particular RPM
band during a long race. You can then decide whether you can run at a lower or higher
gear to preserve engine life.
Controls
Controls 419
Graphing Controls:
Telemetry Map
You can display a track map created in Pi Analysis software. To create a track map refer
to the Mapping Section of the Pi Analysis User Guide.
Controls
Open Map dialog box
4 Locate a track map file in the Look in text area. A preview of the map will ap-
pear.
5 Select the map you want. The map is loaded into the Map control.
Controls 421
To set the Telemetry Map properties:
1 Right click on the Telemetry Map control. The Telemetry Map Properties
dialog box appears.
Refer to the section Telemetry Application for information on how to setup telemetry.
To display data in a control you have created you must tell Pi Workshop where to get the
data.
To activate a control:
1 Click on the relevant Data Manager task bar (Watch Data Manager or Telem-
etry Data Manager) and drag the mouse across the control.
The shape of the mouse cursor indicates if the control and Data Manager have been cor-
rectly linked.
Correctly linked
Controls
Unable to link to the control
Deleting controls
To delete a control:
1 Select the control to delete. To select several controls at once hold the (Shift)
and select the controls you want to delete.
2 Choose Edit • Delete Control(s) or press (Ctrl) + (Del).
Controls 423
Sizing a control
Positioning a control
Server
Pi Server Application
Pi Server is the PC application that communicates with the Pi Sigma MCU on the car.
Using this application you can send a setup to the car, download logged data and receive
telemetry data. The following section explains each area of Pi Server and shows how to
set up the Server Application.
The Server application has five pages that each show different communication-related
information.
Debug page
The Debug page shows communication messages as communication takes place between
Pi Sigma MCU and Pi Workshop.
System page
The System page gives information about the setup files that are available, and the ability
to connect to Archive Managers on other network PCs.
Details page
The Details page shows information that the Pi Sigma system sends to your PC. This
includes versions of code that are included in the cards in the MCU. Used by Pi Research
Support engineers.
Telemetry page
The Telemetry page is where you select the communication port of your PC to which you
Server
have a telemetry receiver connected. The telemetry page lets you set baud rates, and the
download path for telemetry data.
Logger page
The Logger page lets you manually start and stop the logging, manually force a download
or set download automatically whenever you connect to the Pi Sigma system using the
download connector.
Pi Server 427
Starting Pi Server
If the Workbook or Template that you are opening requires Pi Server, then Pi Server will
be started automatically when you start Pi Workshop, but you can run Pi Server without
starting Pi Workshop.
To start Pi Server:
1 Choose Start • Pi Research • Pi Server. The Pi Server window appears.
If Pi Server is already running behind the current application, click the Pi Server button on
the Windows taskbar to bring Pi Server to the front. The Debug page is the default page.
A red traffic light indicates that there is currently no Pi Sigma MCU connected to the
PC via the download cable. This state could be due to a number of factors:
n the download cable is not plugged in
n the Pi Sigma system is not switched on
n there is no software loaded onto the logger card
n the software on the logger is not running, i.e. the logger could be in boot
mode
n the download cable is damaged.
n the Network card cable adapter is damaged (if applicable).
n the Pit detect circuit is not functioning correctly, maybe due to an incorrect
pinout.
n the Network card in the PC is not working or configured incorrectly.
A green traffic light indicates that there is a communication link between the Pi Sigma
MCU and the PC via the download cable.
Server
Note: This only indicates that there is a comms link and doesn’t check that the logger
code is compatible with the version of Pi Workshop being used. It also doesn’t check any
custom application code that maybe loaded on the Control card. This should be taken
into consideration if problems are encountered sending setups or downloading data from
the MCU.
Accompanying the green traffic light should be a number of additional messages on the
Debug page, indicating that the computer is communicating with the Pi Sigma MCU.
Pi Server 429
Selecting and sending a
Setup to the car
Once a connection has been established with the car, Pi Server needs to know what Setup
to send to the car.
1 5
2 6
Server
cannot be sent until the user manually updates the build stamps in the Setup to match what
is on the car. It is recommended that the option be selected, as it will save the user time
changing build stamps manually.
Pi Server 431
Enable Remote Send
The Enable Remote Send option (annotated 5 in the Pi Server System page figure) allows
the Send button in the PI Workshop Server toolbar to send a Setup to the car when
Pi Server is connected to the car. In Pi Workshop choose View • Toolbars… • Server to
show the Server toolbar.
Send button
This button sends the active setup to the car. The Send button is grey when the car
is disconnected and in colour when connected.
To receive telemetry with the Pi Sigma system you will need to set up some options in
Pi Server.
6
4
Server
Pi Server Telemetry page
Pi Server 433
Serial Port
The Telemetry receiver sends the data to the computer via a PC serial port. The speed at
which you can send data is determined by the radio system being used. The serial port
section (annotated 1 in the above figure) in Pi Server is associated with the Real Time
radio telemetry.
The Real Time Broadcast section (annotated 2 in the Pi Server Telemetry page) works in
conjunction with Real Time Data Managers in Pi Workshop, and the Realtime functionality
in Pi Toolbox. This section shows the Multicast IP addresses for the multicast streams.
Pi Server uses the Information Stream to advertise that it is alive and broadcasting data, the
Data Stream to broadcast the telemetry and watch data, and the Watch Stream to respond
to watch channel requests by the Clients.
In addition, the Client (Pi Workshop or Pi Toolbox) accesses a file in the Data Directory of
the Server machine to understand how to decode the Data Stream. This file will usually
be found in C:\PiWorld\Data Directory\PiRtSetup. Pi Server will automati-
cally share this directory and give it the shared name $RTSETUP. The $ sign signifies to
Windows that this is a hidden share.
Server
Real Time Broadcast Configuration dialog
Pi Server 435
Ports
It is recommended that you choose a port number over 4000 for the streams, for example
4567. It is recommended that you choose the same port number for all three streams and
that this is the same for any Server on the network.
Choosing an IP Address.
You should have a different IP Address for each stream. As discussed below, the Informa-
tion Stream should be the same for all servers on the network, but the Data Stream and
Watch Stream should be unique (different to each other and the Information Stream and
to the IP Addresses set on a different Server computer.)
There is a specially allocated set of IP Addresses for Multicast use. The allocated band
is 224.0.0.0 to 239.255.255.255. However many of these IP Addresses are used by the
Network itself, for example Router to Router communication, Microsoft Network Services
and so on, or reserved for the Internet.
Pi Server should default to 239.1.1.1, 239.1.1.2 and 239.1.1.3 for the Information Stream,
Data Stream and Watch Stream respectively.
Note: Using addresses outside these recommended ranges can cause problems on your
network. This range is reserved for use on a private LAN.
Server_A
Information Stream 239.1.1.1 Port 4567
Data Stream 239.1.1.2 Port 4567
Watch Stream 239.1.1.3 Port 4567
Server_B
Information Stream 239.1.1.1 Port 4567
Data Stream 239.1.1.4 Port 4567
Watch Stream 239.1.1.5 Port 4567
Information Stream
It is recommended that this IP address be the same for all Pi Server applications running
on the network.
Data Stream
Pi Server broadcasts all its data on the Data Stream. It is recommended that this IP address
be different for all Pi Server applications on the network.
Network Adapter
This is the IP address of the network card that you use to connect to the network over which
you wish to broadcast the Watch and Telemetry data. You will be given a choice of only
those network cards with a TCP/IP binding.
Decode Directory
This is where the Pi Server places the decode files used by the Clients to decode the Data
Stream. To change this directory click Browse and choose a new directory.
Server
Network Hops
This sets the number of sub-nets that packets broadcast from the Pi Server can pass
through. The sub-nets include items such as network servers and Firewalls etc. This should
be set the same on the Server and Client.
Note: The Network Hops is also decremented if the packet waits in a Server for over one
second.
Pi Server 437
Disable High Data Rate
Applies to Pi dB Telemetry. When this option is chosen it prevents Pi dB telemetry data
from swamping the Real Time Broadcast system.
Each Setup has a telemetry key. This key allows the telemetry system to only decode
telemetry from a Setup with that key. If you send a new Setup to the car, a new telemetry
key is generated.
The Telemetry Key Cache (annotated 3 in the Pi Server Telemetry page figure) setting
determines how many telemetry keys are remembered.
If the number of keys generated exceeds the value set in the cache, the oldest key is de-
leted from the cache to allow the new key to be remembered.
Telemetry diagnostics
The Diagnostics section (annotated 4 in Pi Server Telemetry page figure) can be used to
test that the Telemetry link is working. The PC needs to be connected to the car, via the
download cable.
Pi Digital Broadcast Telemetry is a telemetry system that transmits the data as a digital
signal instead of an analogue signal. This improves coverage and error correction and also
improves the data rates available. The base station is connected to the Host PC via TCP
IP using an Ethernet cable and network card. The base station decodes the digital data
stream and generates an output in a DCOM format that Pi Server can access. The base
station is capable of receiving data from two cars (Car 1 & Car 2) simultaneously and there
are 4 streams of data per car: Real Time A, Real Time B, Dump A and Dump B.
The Real Time streams are usually transmitted continuously and generally have a lower
bandwidth than the Dump streams. The A and B suffixes are intended to distinguish be-
tween the Engine channels and Chassis channels. This method enables the Engine Manu-
facturer to receive a separate telemetry stream from the Race Team/Chassis Engineers.
The Dump streams are high bandwidth streams transmitted over a microwave link at the
end of each lap. Channels broadcast in this way can be sampled at a much higher rate.
To set up Pi dB telemetry:
1 Select a Host Name to which the Pi dB telemetry base station is connected.
Server
Pi Server Telemetry page - Pi dB Telemetry Setup dialog
The settings in the above figure show how to configure the Pi dB Telemetry if the base
station is connected to the local PC. This is reflected by the Host Name being localhost.
Pi Server 439
If the Pi dB telemetry base station is connected to a different PC on the network then the
name of this PC should be entered in the Host Name section.
2 Check (✓) the Streams options which are to be received by Pi Server.
The Streams section in the above figure section shows that streams Real Time A and Dump
A are to be received by the Server.
3 Select which data stream (Car 1 or Car 2) to use in the System box.
4 Check (✓) the Enabled box and then click the Apply button.
It is possible to log the Telemetry data received from any of the telemetry sources outlined
above. If the telemetry streams are configured by Pi Workshop to enable logging, then
when Master logging enable for all streams in the Telemetry Logging box (annotated
6 in Pi Server Telemetry page figure) is checked, the telemetry data will be written to a
Version 6 dataset file in the PC directory specified in Pi Workshop. This data can then be
displayed in Pi Analysis, in the same way off-loaded data is analysed.
The Version 6 dataset file is divided into laps. The Pi Sigma system must detect a valid
end-of-lap beacon to enable the dataset to be divided at the correct point. If the end-of-lap
beacon is not detected then laps in the dataset will be too long.
The Flush Dataset every mins option allows you effectively enter end-of-lap beacons into
the dataset at the time specified in the mins box.
Server
Pi Server 441
Pi Server Logger page
The Logger page lets you manually start and stop logging, manually force a download
or set download automatically whenever you connect to the Pi Sigma system using the
download connector.
To send a Setup:
1 Click on the System tab in the Pi Server window. The System page appears.
2 Select the setup you want to send from the list in the Available Systems box.
3 Click Apply. The Active System name changes to show the name of the Setup
you have selected.
4 Click on the Logger tab (or click the Traffic Light Logger button) on the
Pi Server toolbar. The Logger page appears.
3
2
1 4
5
You can test the setup without driving the car. Make sure that the PC is connected to the
car.
Server
Automatic offload
When Automatic offload (annotated 3 in the above figure) is selected, download automati-
cally occurs whenever the Pi Sigma System connected contains new data and is not cur-
rently logging.
Pi Server 443
Pi Server Details page
The Details page shows information that the Pi Sigma system sends to your P. This in-
cludes versions of code that are included in the cards in the MCU.
Details page
Summary pane
When Pi Server is connected to the Pi Sigma System, the Summary pane (annotated 1 in
the figure above) displays information on the Applications running on the System.
If you select an entry in the Summary pane, the Selected Detail pane (annotated 2 in the
figure above) displays detailed information about the selected entry.
Events pane
The Events pane (annotated 3 in the figure above) lists Events that occur whilst Pi Server
is connected to the Pi Sigma System.
Server
TC TELEMETRY CONVERTER Converts telemetry data to V6 format
TLOG TELEMETRY LOGGER Saves telemetry data to disk
SN SIXNET Handles network communications between
the PC and the Logger
Pi Server 445
Messages generated by
Pi Server
Server
FSR offload context the boxcode to be reloaded.
CP: FSR <node id> A new FSR has been Diagnostic – Each time Pi Server connects to the car,
<FSR id> offloaded No Error it checks the buildstamps of the box code
(FSR). This message means that the box
code has changed since Pi Server last saw
the car.
CP: ERROR FSR Failed to write an FSR to Setup Error Check that the PC running the archive
update failed the archive manager is operating correctly. If the PC is
on a network, check that the network is OK.
Pi Server 447
Server Message Meaning Message type Solution
CP: Connected The setup on the box is Diagnostic – Pi Server does not have a Setup named
to unknown setup not in the archive No Error <setup name> in its Archive Manager.
<setup name> Tick ‘Create setup from car if not found
in archive manager’ option in the System
page of Pi Server and reconnect to car,
OR select a setup (make it active) and then
send that setup to the car.
CP: Connected car There is no setup in he Diagnostic – The box that Pi Server is connected to has
has no setup box so Pi Server could No Error no setup or the setup is invalid. For the
not read the file PC box to function just send a valid setup to
Private from box. This the box. If this occurs after trying to send
file stores all the setup a setup, there was an error during the send
information. process. Try and send the setup again.
BU: ERROR - failed Could not send message Comms Error Check that Pi Server is still connected to
to send status req the car. Ensure that there is a car port and
<msg id> a message port. If not try a power cycle.
BUC: ERROR - Usually means the Comms Error Repeat the action that caused the error. If
failed to create message port has dis- this happens again, restart Pi Server.
connection appeared
OU: ERROR - failed Offload unit failed to Comms Error Repeat the action that caused the error. If
to send message send a message this happens again, restart Pi Server.
Server Message Meaning Message Solution
type
WU: ERROR - bad The box did not accept a Setup/ Bad setup on one of the Tebnet nodes.
ACK node <node watch setup Comms Error This could be due to an SCU not resetting.
id> setup
WU: ERROR - Could not send a watch Setup/ Could not send the setup for a node on
failed to send setup setup Comms Error Tebnet. Probably due to the node not
for node <node id> existing. Check the power to SCUs. Check
that the box code in SCUs and Application
cards is still running.
WU: ERROR - Could not send a watch Could not send a watch request to a node
failed to send request on Tebnet. Probably due to the node not
request for node existing. Check the power to SCUs. Check
<node id> that the box code in SCUs and Application
cards is still running.
Server
via Autocal.
RU: ERROR - failed Failed send message to
to send disable disable sync tebnet
node <node id>
SCU: ERROR - Failed to send status
failed to send status message
Server Message Meaning Message Solution
type
Pi Server 449
Server Message Meaning Message type Solution
SN: ERROR - Sixnet driver is not Sixnet Error The Pi Sigma Network Protocol has not
Invalid binding working on PC been bound correctly to the network card
handle in the PC. Check that the network card
is functioning correctly. Check that the Pi
Detect circuitry is working in the download
cable. Check the download cable.
SN: ERROR - Sixnet driver is not Sixnet Error The Pi Sigma Network Protocol has not
Failed to open working on PC been bound correctly to the network card
binding in the PC. Check that the network card
is functioning correctly. Check that the Pi
Detect circuitry is working in the download
cable. Check the download cable.
SN: OB - bad driver Sixnet driver is not Sixnet Error Check network connections, check Sixnet
handle working and other protocols are bound correctly to
the network card.
SN: Partner Found The driver has detected Diagnostic – Pi Server has established a connection with
the car No Error the car and everything is OK.
SN: Partner Gone The driver has lost the Diagnostic – The car has been disconnected from Pi
car No Error Server. This is usually due to the download
OR cable being unplugged
Possibly a However if not it could be due to the
. Comms Error following:
It could be a problem with the PC network
card
The download cable may be been
damaged.
The comms chip in the Logger may be
damaged.
The Pit detect circuitry may have developed
a problem
SN: lock msg port The message port is
locked in place against
partner gone
SN: unlock msg port “The message port will “
go when partner goes
SN: ERROR - sent Result notification from Sixnet Error
message mismatch driver does not match
message sent
Server
PCP offloading with a different PC than the one
which sent the setup.
OM: ERROR - Failed to create threads Offload error The offload has failed. Try restarting server
Cannot start (no to do offload and attempt to offload again. May also
threads) be worth trying power cycling the car and
restarting the PC.
COS: ERROR - Could not read the Cosworth Check that the Cosworth microwave
failed to get data file Cosworth datafile path Microwave telemetry software is running correctly.
path from the ini file Telemetry Check that the path to the cosworth ini file
Error is correct.
Pi Server 451
Server Message Meaning Message type Solution
COS: ERROR - Could not read the Cosworth Check that the Cosworth microwave
failed to get read read count from the Microwave telemetry software is running correctly.
count Cosworth.ini file Telemetry Check that the path to the Cosworth.ini file
Error is correct.
TLOG: Failed to Telemetry logger could Telemetry Check that the offload path is valid. If it is
open data file not open mdb to put Logging Error on a remote PC, check that the network is
data in operating correctly.
Index
Additional Telemetry Servers Dialog Port Propagation 89
CAN serial port 297 removing connectors 89
box 349
Channel Display Control 369 removing sensors 90
Alarm Window 371
Channel Properties 43 removing sub-looms 91
Applying offsets 120
Alarm Max 43 sensor as a template 22
Archive Assistant 38
Index 455
sensor drag-and-drop 66 Data Stream 436,437 Ethernet Network Interface 221
sub-looms 357 DCOM Events 236
Controls 423 setting properties advanced options 227
activate a control 424 Windows 2000 96 Auto Clear 227
change the position of a control 424 Windows XP 129 condition 221
change the size of a control 359 dcomcnfg 130 critical events 239
Controls toolbars 359 Decode Directory 437 Event Clear 221
General 359 Default Setup 130 event storage 227
Graphing 137 send the Default Setup 130 event trigger 222
General controls Deleting controls 423 non-critical events 221
Bit Indicator Control 392 Diagnostic Page 126 Overview 239
Button Control 369 Digital Broadcast Telemetry 439 retrigger delay 231
Channel Display Control 365 Chassis channels 439 setting a dash alarm 232
Events Control 376 Dump A data 439 alarm trigger event 226
Graphic Control 366 Dump B data 439 set up a new event 227
Hot Link Control 377 Engine channels 439 threshold value 224
Knob Control 396 Real Time A data 439 view critical events 281
Slider Control 362 Real Time B data 439 Events Control
Tabular Lap Report 375 Digital I/O card 126 create 365
Text Control 141 Digital 2B 126 Example of relative shift points 198
Graphing controls Input Name 115
10-bin Histogram 404 Pi Workshop Channel Name 129 F
20-Second Chart Recorder 417 setting excitation voltage 288
FIA Offload Directory 431
Autoscaling X-Y Graph 420 Disable High Data Rate 438
Fixed Rate channel 146
Telemetry Map 423
Fixed Synchronous Requirements 65
to delete a control 360 E Logger card
Controls Toolbar
ECU Channel channels 65
General controls 165
Fuel Used 144 Logger card channel
Graphing controls 172
RPM 175 EngineSpeed 142
Core System Channels 141
ECU Serial Stream 200 Fixed Synchronous Requirements
attach math channel 165
ECU Setup 161 (FSR) 133
create a GearNumber channel 191
Effective Boost 200 FLDistRaw 133
Active Conditions Guard Time 201 FLSpeedRaw 199,142
D Active Conditions Threshold 201 Fuel Capacity 199
Dash Application 242 Inactive Conditions Guard Time 201 Fuel Consumption 141
Dash Boost 200 Inactive Conditions Threshold 201 FuelCount 199
Dash Setup Enable Remote Send 432 Fuel Count Source 147
Lap page 292 EngineSpeed 172 Fuel Flow meter 148
page display option 291 Equation Fuel Flow sensor 198
Pit page 291 calibration 103 Fuel Prediction 159
Pit, Race or Lap pages 291 check button 103 Fuel Used 107
Race page 292 example of an equation 328 Full Generic Sensor 105
Index
Tick Marks 387 Advanced 391 Logging conditions
Ticks 385 Auto size and position 391 Engine Speed Start 192
Tick Spacing 386 Parts 391 Logging criteria 210
Index 457
Logging Inventory 211 extrapolate fit 103 Windows XP 18
add a channel to the Logger 211 linear fit 103 Organising Math Channels 332
change an existing Logging Rate 211 quadratic fit 103 Output ports 92
Channel name filter 212 Math Channel (Equation) 103 Output Units 44
Copy Table 91 operators 340
Hidden Channels operator types 344 P
to display 214 organising Math Channels 332
page display option 291
Logger warning messages 96 registers 333
PC Private Database 39
Offload Directories channels which only contain regis-
Pi Analysis 222
change directory 99 ters 339
distance plots 39
only used channels overflowing registers 338
Pi AutoCal Database 65
to display 210 sampling on different nodes 338
Pi Compact dash 246
Logging start and stop sampling the same channel 338
7-segment characters 243
Logging Triggers 192 starting with a zero value 338
alphanumeric characters 243
Logging Tables Sample and Hold fit 331
annunciators 243,246,274
burst logging Sensors with calibrations 101
Display field actions 247,276
burst duration 209 Single Math Channel (Equation) 143,322
display fields 246,274
Keep Criterion 208 Variable Properties 144
Gear shift lights 251
burst logging time 206 Single Math Channel (Table) 322,330
number of Gears 252,280
channels logging rates 204 Transfer Function 107,327
Shift Points option 252,280
continuous (every lap) 207 variable 106
set up 245
create a new logger 205 Variable 325
Alarm options 248,277
Drop Rate 204 Math Channel branch 322
display Channel information 246,275
Fastest 207 Math Channel Folder 95
display fields 246,274
Logger Properties 209 Microsoft Excel™ 364
display Fixed Text 247,275
Logging Mode 192 Modify logging table
display Timing information 247,276
existing logging rate 192
Lap adjust options 249,278
M Offload options 249,278
Math Channel 80 N Page change options 248,277
and the Sensor Loom 332 Network Adapter 437 Page - Race, Start, Practice 246,274
calibration page 102 Network Hops 437 setting annunciators 246
Channels used 344 Network Interface Card Tank fill options 250,279
Channel Usage 329 Installing an NIC 196 Pi Omega dash
constants 344 alarms
default calibration type O cancel alarms
look-up table 103 red button 295
Official Length 198
extrapolate fit 331 Alarms page 293
Offload the dataset 42,443
functions 341 Example of absolute shift points 282
progress section 42,443
Group Math Channel (Equation) 322 Example of relative shift points 281
One Minute beacon 195
inserting an operator 329 Message Centre
Open the Logging Inventory dialog box 210
in the Loom 104 Alarms 294
Operating systems 18
look up table 103,330 Display field actions 288
Windows 2000 18
Index
Car Port 429 Fuel Reset options 146,254
Create Setup from car 432 Lap adjust options 146
Debug page 427 Offload options 254
Details page 427,444 Page options 255
Details Page Tank Fill options 256,283
Index 459
Q States 353 Sensor connections
Broken 353 ADC ref 25
Qualifying Mode 202
Connected 353 absolute sensors 25
distance based 203
Connecting 353 ratiometric 70
importing files 203
Disconnected 347 Excite 70
Learning Mode 202
Receiving Data 347 Gain 70
Operating Mode 202
to connect 346 Bipolar 69
split beacon based 203
to set up 348 Unipolar 70
Watch Requests 95 Input 70
R
Watch Server Machine 116 Mode 70
Race page 291 Rearrange ports 116 Bipolar 69
Ratiometric sensors 70 Re-Calibrate 114 Unipolar 70
Raw Pcode Sensor 108 right drag 113 Special 70
raw (un-calibrated) channel 105 Type 70
Real Time Broadcast
S Differential input 70
Choosing network Ports 436 Single ended 69
Saving Templates and Workbooks 33
Data Stream 437 Sensor Name 110
SCU 62
Decode Directory 437 Sensors 108
Add an SCU 62
Disable High Data Rate 438 Sensors folder 110
Select a Template Sensor 138
Information Stream 437 Serial stream 69
Selecting and sending a setup to the
IP Addresses Server toolbar
car 430
recommended 436 Send button 69
Selecting a Setup 59
Network Adapter 437 Setting DCOM properties in Windows XP 13
<No Setup> 60
Network Hops 437 dcomcnfg 39
to select a Setup 60
to change configuration 435 Setting up telemetry 41
Selectronic I/O card 67
Watch Requests Stream 437 check the End of Lap options 316
amplifier gain 75
Real Time Data Manager 346 check the Event Engine options 317
configuration constraints 71
Data Stream 345 Data Source Setup 319
current input special mode 75
Information Stream 347 End of Lap telemetry 306
differential inputs 76
Multicast IP 348 Message size 308
excitation modes 72
Properties 349 Baud Rates and Bandwidth 306
Group 74
Additional Telemetry Servers dialog serial port setup 318
input functions 73
box 347 Telemetry Sources (priority order) 315
Input range 74
Disk Cache Location 348 the What page
power supply Type 74
General 351 Continuous telemetry options 32
RTD special mode 75
General page 347 Event Engine telemetry options 312
single ended inputs 77
Hardware Configuration page 347 options 313
unipolar inputs 76
Hardware Setup 350 the When page
volts 74
Status 347 Automatic Message Size 32
Sending your first setup to the car 41
Status page 347 Continuous telemetry options 306
Send Outing\Lap To Car 443
to set up 352 Continuous Telemetry Source 305
Sensor and Loom Migration 99
Track Map 353 Continuous Trigger Mode 305
Sensor Colour Coding 115
Track Map page 353
Index
toolbar
Serial Stream 303 Expert 80
toggle button 163
serial port 319 Standard 80
Show Ports Currently In Use 96
Telemetry Data Source 304 Using a channel in a calibration 105
Telemetry Serial Stream 303
Index 461
V X
View Flat
by Connector 99 Y
by Sensor 99
Z
W
Zero a sensor 120
Watch page 104
Zeroing sensors 120
Watch Requests 346
applying offsets 120
Watch Requests Stream 437
Offset to Target 121
Watch Server Machine 348
remove an offset 123
Watch Stream 436
Remove Offset button 123
Wheel Setup 196
Target value 122
Car Speed 197
View Log 124
Front and Rear options 197
View Offset Log 124
Front options 197
Front Primary option 197
Rear options 197
Rear Primary option 197
options 196
Wheelspeed 32
diameter of the FL wheel 125
Wheelspeed channels
FLSpeed 32
Wheelspeed connector 134
Wheelspeed Sensor 132
wheelspeed sink channels 125
Wheelspeed setup
active wheelspeed sensor 32
calculator 126
passive wheelspeed sensor 127
Wheelspeed sink channel
DistRaw 34
SpeedRaw 133
Windows Taskbar 133
hide the 36
Auto hide option 36
For more information about Pi products and details of worldwide authorised agents, please
contact:
Pi Research
Brookfield Motorsports Centre
Twentypence Road
Cottenham
CAMBRIDGE
UK Customer Support Tel +44 (0) 1954
253600
CB24 8PS Fax +44 (0) 1954 253601
Pi Research, Inc.
8250 Haverstick
Suite #275
Indianapolis
IN 46240 Tel +1 (317) 259-8900
USA Fax +1 (317) 259-0137
Index
www.piresearch.com
Index 464