Difference between revisions of "The Portal Administrator View"

From WICE Wiki v2.89
Jump to navigation Jump to search
 
(236 intermediate revisions by 10 users not shown)
Line 1: Line 1:
An administrator can do everything a user can do and more. In addition to what a normal user can do, an administrator can create and modify users and stop assignments for any task.  
An administrator can do everything a user can do and more. In addition to what a normal user can do, an administrator can create and modify users and stop tasks for any task.  
These new functions will be explained in the next three chapters.
These new functions will be explained in the next three chapters.


Line 7: Line 7:


==The Tasks Tab==
==The Tasks Tab==
[[File:Illustration 32a.png|thumb|Illustration 32a: Stopping a running assignment]]
[[File:Illustration 32a.png|thumb|Stopping Running Task]]
[[File:Illustration 32b.png|thumb|Illustration 32b: Force stopping an assignment]]
[[File:Illustration 32b.png|thumb|Force Stop Task]]


In addition to the functionality for an ordinary user, an administrator has one more button present. An administrator can send a ''Force Stop'' command to any WCU.   
In addition to the functionality for an ordinary user, an administrator the administrator can search and view any user's task. Also, it has one more button present. An administrator can send a ''Force Stop'' command to any WCU.   


Illustration 32a shows the "Stop assigment" button. This button is the same as for the ordinary user and is used to stop a running assignment. When a running assignment is stopped, it changes state to "Stop pending". This means that the portal is waiting for a stop message from the WCU before the state is changed to "Stopped" in the portal view. The administrator view's "Force Stop Assignment" button, which can be seen in illustration 32b, forces a "Stop pending" assignment into "Stopped" state without waiting for the stop signal from the WCU.
Figure "Stopping Running Task" shows the "Stop assigment" button. This button is the same as for the ordinary user and is used to stop a running task. When a running task is stopped, it changes state to "Stop pending". This means that the portal is waiting for a stop message from the WCU before the state is changed to "Stopped" in the portal view. The administrator view's "Force Stop Task" button, which can be seen in Figure "Force Stop Task", forces a "Stop pending" task into "Stopped" state without waiting for the stop signal from the WCU.  
 
Also, the administrator can search and view any user's task.


For a portal of version 2.60 and forward, it is also possible for an administrator to remove all resultfiles for a selected task using the corresponding context menu option. When doing so, a confirmation dialog pops up to ensure that it is in fact the intended choice. Note that this option is disabled if multiple tasks are selected or if the selected task does not have any result files attached.


==The Vehicles Tab==
==The Vehicles Tab==
An administrator can do quite a lot of things in this view. Illustration 33 shows an example of this view. The table header along with the buttons “Edit Description” and “Get Log Files” are explained in the page for '''[[Vehicles]]'''.  
An administrator can do quite a lot of things in this view, an illustration of which is presented in Figure "The Administrator's Vehicles Tab". The table header along with the buttons “Edit Description” and “Get Log Files” are explained in the page for '''[[Vehicles]]'''.  


At the bottom you have a set of buttons to aid in handling the WCUs. To add a new WCU to the portal, the “New” buttons opens up a dialog for that. The “Get Log Files” button fetches log files for the selected WCU from the portal.
At the bottom you have a set of buttons to aid in handling the WCUs. To add a new WCU to the portal, the “New” buttons opens up a dialog for that. The “Get Log Files” button fetches log files for the selected WCU from the portal.
[[File:Vehicles panel adm buttons Screenshot from 2023-06-28 15-06-17.png|left|thumb|800x800px|The Administrator's Vehicles Tab]]
<br clear="all">
===The New WCU Dialog===
There are two ways that a WCU can enter the portal. The first is if you click the “New WCU” button and the second is the first time a WCU connects to the portal it registers itself. Ideally you will never have to add a WCU to the portal but just as a safety step you have the opportunity to add it yourself. When clicking the “New WCU” button the dialog presented in in Figure "The Add New WCU Dialog".
[[File:Illustration34.png|frame|left|The Add New WCU Dialog]]
<br clear="all">
You must enter the ID of the WCU as this is a unique identifier and you will be notified if the ID is already present on the portal. The description is optional but may be handy to remember which WCU it is.
===The Edit WCU Dialog===


[[File:42vehiclestab.png|none|left|frame|Illustration 33: The administrator's view in the WCUs tab.]]
To edit a WCU simply mark it in the table and press the button called "Edit WCU". This results in a dialog where the fields differ depending on editability. For one selected WCU these are the comment, name, whether it is active or not, the labels for the WCU or if it requires approved assignments. However, if the WCU has tasks which have status pending, running, warning or error (or corresponding partial statuses), the active option is disabled. This is also true if the WCU is connected to a vehicle or if it is included in a resource group. By checking "Require approved assignments" you can only add assignments that have been reviewed and then approved by the reviewers.
[[File:Edit-wcu-2.87.png|alt=Edit a WCU|thumb|Edit a WCU Dialog]]
If the selected WCU is a resource group the dialog will appear as presented in Figure "Edit WCU Dialog". The difference here is the "Apply label to resource group's WCUs"checkbox. When this option is selected the labels selected in the "Manage labels"-selector are also added to the WCUs included in the resource group. It is, though, not possible to remove labels from the resource group's WCUs using this checkbox. To do so use instead the context menu options for label management. [[File:Edit wcu.png|thumb|Edit a Resource Group WCU Dialog|left]]It is also possible to edit multiple WCUs simultaneously. If several WCUs are selected the dialog presented in Figure "Edit Multiple WCUs" appear. This is only possible for the fields "Comment" and "Active" and these are enabled using the corresponding checkbox to the right. If one of the selected WCUs fulfill the conditions presented above for the disablement of the Active-option, it will not be possible to select the corresponding checkbox.


===The New WCU Dialog===
[[File:Edit wcu multiple.png|thumb|Edit Multiple WCUs|center]]
[[File:Illustration34.png|frame|Illustration 34: The Add New WCU Dialog.]]
 
There are two ways that a WCU can enter the portal. The first is if you click the “New WCU” button and the second is the first time a WCU connects to the portal it registers itself. Ideally you will never have to add a WCU to the portal but just as a safety step you have the opportunity to add it yourself. When clicking the “New WCU” button the dialog in Illustration 34 opens up. You must enter the ID of the WCU as this is a unique identifier and you will be notified if the ID is already present on the portal. The description is optional but may be handy to remember which WCU it is.
<br clear="all">


===Edit the WCU Configuration===
===Edit the WCU Configuration===
You can edit the configuration of the WCU from the portal. Simply click on '''Edit Configuration''' to open up the window in Illustration 36a. The WCU configuration window is divided into five tabs where each tab is described below.   
You can edit the configuration of the WCU from the portal. Simply click on '''Edit Configuration''' to open up the window in Figures "Edit Configuration: Modules", "Edit Configuration: Connection", "Edit Configuration: WCU", "Edit Configuration: Power Management", "Edit Configuration: Upload", "Edit Configuration: IO", and "Edit Configuration: Extra bundles". The WCU configuration window is divided into five tabs where each tab is described below.   
 
<gallery widths="150" mode="nolines">
File:Wcu config1.png|Edit Configuration: Modules.
File:Wcu config2.png|Edit Configuration: Connection.
File:Wcu config3.png|Edit Configuration: WCU.
File:Power-management.png|alt=Power Management|Edit configuration: Power Management
File:Wcu config5.png|Edit Configuration: Upload.
File:NewOiGui.png|Edit configuration: IO
File:Wcu extra bundles.png|Edit Configuration: Extra bundles.
</gallery>
 
<br clear="all">


====Modules====
====Modules====
Line 39: Line 66:


====Connection====
====Connection====
This tab can be seen in Illustration 36b and the tab content is described [[WCU as WiFi Access Point|here.]]
This tab can be seen in Figure "Edit Configuration: Connection"  and the tab content is described [[WCU as WiFi Access Point|here.]]


====WCU====
====WCU====
This tab can be seen in Illustration 36c and the tab content is described in the table below.
This tab can be seen in Figure "Edit Configuration: WCU".
{| class="wikitable"
 
| style="font-weight: bold;" | Unit ID:
:'''Unit ID'''
| The automatically generated unique WCU identifier. The ID cannot be changed from the portal.
The automatically generated unique WCU identifier. The ID is immutable.
|-
 
| style="font-weight: bold;" | Platform type:
:'''Platform type'''
| The WCU platform type.
The WCU platform type.
|-
 
| style="font-weight: bold;" | Platform subtype:
:'''Platform subtype'''
| The WCU platform subtype.
The WCU platform subtype.
|-
 
| style="font-weight: bold;" | WCU software version:
:'''WCU software version'''
| This is the currently installed WCU software version.
This is the currently installed WCU software version.
|-
 
| style="font-weight: bold;" | Preferred WCU software:
:'''Preferred WCU software'''
| This is the new preferred WCU software version to be installed.
This is the new preferred WCU software version to be installed. When updating to a new version, the configuration dialog will update itself immediately to reflect what is available in the new version, hence accordingly also when downgrading. This means that new settings regarding the WCU's modules will also be upgraded which makes it possible to edit the modules according to the new version. In addition, when creating new tasks, validation will be carried out to the new version and hence you will not have to wait for the WCU to be updated to the new version to use new features.
|-
 
| style="font-weight: bold;" | Perform reset on update:
:'''Perform reset on update'''
| Removes all data on the WCU when installing a new WCU software.
Removes all data on the WCU when installing a new WCU software.
|-
 
| style="font-weight: bold;" | MX4 firmware version:
:'''MX4 firmware version'''
| The currently installed MX4 firmware version.
The currently installed MX4 firmware version.
|-
 
| style="font-weight: bold;" | Preferred MX4 firmware:
:'''Preferred MX4 firmware'''
| The new preferred MX4 firmware.
The new preferred MX4 firmware.
|}


From version 2.40 of the WCU software, all WCUs report its platform type. The platform type determines, among other things, the number of available CAN buses in the IO tab. (see [[I/O configurations]]) Since a resource group is a collection of WCUs it has no platform type of its own to report. From version 2.41 of the portal the user has the option to set a fictive platform type for a resource group. This is also a prerequisite to also set the [[I/O configurations]] for a resource group. The platform type (and possibly subtype) is set in the WCU tab. If the resource group has members with other platform type(s) than the type that is about to be set, the user will get a warning.
From version 2.40 of the WCU software, all WCUs report its platform type. The platform type determines, among other things, the number of available CAN buses in the IO tab. (see [[I/O configurations]]) Since a resource group is a collection of WCUs it has no platform type of its own to report. From version 2.41 of the portal the user has the option to set a fictive platform type for a resource group. This is also a prerequisite to also set the [[I/O configurations]] for a resource group. The platform type (and possibly subtype) is set in the WCU tab. If the resource group has members with other platform type(s) than the type that is about to be set, the user will get a warning.
Line 74: Line 100:


From version 2.42 it is possible to update the WCU root password. To update the password, write the new password in "Set root password" and save the configuration.
From version 2.42 it is possible to update the WCU root password. To update the password, write the new password in "Set root password" and save the configuration.
[[File:Update certificate related files.png|thumb|Checkbox for updating a WCU certificate]]


===== WCU Certificate =====
:'''WCU Local Scheduling Time Zone'''
If the WCU is version 2.52 or later you have an opportunity to update the WCU's certificate and related files. If the conditions mentioned are met you will see a checkbox saying "Update certificate related files", see illustration on the right. When checking the checkbox, an additional three fields are revealed. They are:
 
For a WCU of version 2.53 or higher it is possible to configure a local time zone for the WCU using the option "Local scheduling time zone" presented in Figure "Edit Configuration: WCU". This field consist of a drop down menu displaying the selectable time zones, which are as follows:
* Universal
* Africa/Cairo
* America/Anchorage
* America/Caracas
* America/Chicago
* America/Denver
* America/Los_Angeles
* America/New_York
* America/Sao_Paulo
* Asia/Dhaka
* Asia/Dubai
* Asia/Hong_Kong
* Asia/Karachi
* Asia/Tokyo
* Australia/Adelaide
* Australia/Brisbane
* Australia/Darwin
* Australia/Sydney
* Europe/London
* Europe/Moscow
* Europe/Paris
 
The zone defined here will be enforced selecting "WCU local time" when scheduling a task, see description [[Creating a Task#CAN-recorder#Scheduling|here]].
 
:'''Blink Controller'''
For WCUs of version later than or equal to 2.54 it is possible to configure the blink controller for the WCU diods, which can be set to blink in different patterns to represent different WCU states. Selecting "Legacy" in the corresponding drop down menu will result in the WCU controlling the diods and the "DioIPD"-option means that the DioIPD will controll them.
 
:'''Enable NTP Server'''
It is possible to enable or disable the NTP server by the use of a checkbox named thereafter for WCUs of version 2.60 or later.
 
:'''WCU Certificate'''
[[File:Wcu certficate three files.png|thumb|Files for Certificate Update]]
 
If the WCU is version 2.52 or later you have an opportunity to update the WCU's certificate and related files. If the conditions mentioned are met you will see a checkbox saying "Update certificate related files", see Figure "Files for Certificate Update". When checking the checkbox, an additional three fields are revealed. They are:
* Certificate file, choose a certificate file to upload which is in PEM format.
* Certificate file, choose a certificate file to upload which is in PEM format.
* Private key file, choose a private key to upload in PEM format as well.
* Private key file, choose a private key to upload in PEM format as well.
* Password file, choose a file with the password to the private key. The file should be plain text.
* Password file, choose a file with the password to the private key. The file should be plain text.
[[File:Wcu certficate three files.png|thumb|Three files needed to update certificate on a WCU]]
 
You must supply all three files.
You must supply all three files.


In order to see what certificate is installed on the WCU at any time, there is text field called "Current fingerprint". If you have recently updated a WCUs certificate, you can by hovering over the field also see if the WCU is using the latest certificate. If this the case a message saying "Using latest certificate".
In order to see what certificate is installed on the WCU at any time, there is text field called "Current fingerprint". If you have recently updated a WCUs certificate, you can by hovering over the field also see if the WCU is using the latest certificate. If this the case a message saying "Using latest certificate".
'''Renew WCU Certificate'''
It is possible to renew a WCU's certificate by selecting the checkbox "Renew certificate". Doing so will automatically issue a new certificate when the configuration is saved.
[[File:RenewCertificate.png|thumb|Renew Certificate]]
==== Enable PTP ====
[[File:Ptp-setting-wcu.png|alt=PTP settings in the WCU configuration|thumb|PTP settings]]
From version 2.81.0 of the WCU software there support for starting a PTP daemon on the WCU in order to synchronize time between units connected to the WCU. The protocol is designed to attain a higher accuracy than when using NTP. When you enable the setting you must also select to which interface on the WCU the daemon should listen on. You can see what it looks like in the illustration on the right.


====Power Management====
====Power Management====
[[File:Periodic wake up time.png|thumb|frame|Illustration 35: Perodic wake-up]]
[[File:Periodic wake up time.png|thumb|frame|Perodic Wake-up]]
This tab can be seen in Illustration 36d and the tab content is described below.
This tab can be seen in Figure "Edit Configuration: Power Management" and the tab content is described below.


“Power mode” has two settings: "Sleep" and "Cut-off". In cut-off mode, the WCU is not woken up at regular intervals to report battery voltage, GPS position etc.
“Power mode” has two settings: "Sleep", Deep sleep" and "Cut-off". In cut-off mode, the WCU is not woken up at regular intervals to report battery voltage, GPS position etc.


In the other mode, sleep, some more settings are visible as shown in Illustration 36e.  
In sleep mode, some more settings are visible which also can be seen in Figure "Edit Configuration: Power Management".  
You can select the WCU to remain unpowered by selecting "External cut-off". In addition, you may enable the WCU's wake-up functionality. This function is simply made up of a cycle time called “Periodic wake-up time” and the corresponding “Periodic run-time”. The “Periodic run-time” determines how long time the WCU should be awake before going back to sleep. The “Periodic wake-up time” indicates the time for each new wake-up cycle.
You can select the WCU to remain unpowered by selecting "External cut-off", only available for the COMMITTO platform. In addition, you may enable the WCU's wake-up functionality. This function is simply made up of a cycle time called “Periodic wake-up time” and the corresponding “Periodic run-time”. The “Periodic run-time” determines how long time the WCU should be awake before going back to sleep. The “Periodic wake-up time” indicates the time for each new wake-up cycle.


From version 2.43 it is also possible to set power mode to "deep sleep" for WCUs running on platform MX4 T20/T30 and MX4 V61. The configuration is the same as for mode "sleep".
From version 2.43 it is also possible to set power mode to "deep sleep" for WCUs running on platform MX4 T20/T30 and MX4 V61. The configuration is the same as for mode "sleep".
Line 99: Line 168:
'''Example: '''  
'''Example: '''  
A periodic run-time of 600 seconds means that the WCU will be alive for 600 seconds (10 minutes). A periodic wake-up time of 3600 seconds means that the WCU will start a new run-time (600 seconds in this case) every new hour. (3600 seconds = 60 min). The sleep time in each cycle is, for the general case, the wake-up time minus the run-time and in this example 3600 minus 600 = 3000 seconds (50 min).
A periodic run-time of 600 seconds means that the WCU will be alive for 600 seconds (10 minutes). A periodic wake-up time of 3600 seconds means that the WCU will start a new run-time (600 seconds in this case) every new hour. (3600 seconds = 60 min). The sleep time in each cycle is, for the general case, the wake-up time minus the run-time and in this example 3600 minus 600 = 3000 seconds (50 min).
This example is illustrated in Illustration 35.
This example is illustrated in Figure "Perodic Wake-up".


From version 2.88.0 it is possible wake on a specific CAN frame ID. The settings are the same is for the canrecorder task. There it is possible to select one specific frame or several by separating them by “,”. It is also possible to select a range between frames by using “-”. The value can either be decimal or hexadecimal. A example of a filter: “1, 0x12-0xFF”
<!--You can select the MCD-Hub to remain unpowered by selecting "MCD-hub cut-off". In addition, you may enable the WCUs wake-up functionality. This function is simply made up of a cycle time called “Periodic wake-up time” and the corresponding “Periodic run-time” which indicates for how long I should be awake before going to sleep. The committo platform has some limits on the two settings and those are: minimum time to set between wake-ups is 10 minutes and the maximum time is 12 hours.-->


<!--You can select the MCD-Hub to remain unpowered by selecting "MCD-hub cut-off". In addition, you may enable the WCUs wake-up functionality. This function is simply made up of a cycle time called “Periodic wake-up time” and the corresponding “Periodic run-time” which indicates for how long I should be awake before going to sleep. The committo platform has some limits on the two settings and those are: minimum time to set between wake-ups is 10 minutes and the maximum time is 12 hours.-->
====WMU's Power Management====
If your Portal has [[WMU | WMU's]] enabled and you have added WMU's to the WCU Configuration in the [[I/O_configurations#Add_WMU(s) | I/O Configurations tab]], then the Power Management controls "Power Mode" and "Wake on CAN" are present for each WMU with a tab of their own. These tabs are found at the top of the dialog window next to the WCU's Power Management tab.


====Upload====
====Upload====
This tab can be seen in Illustration 36f and the tab content is described in the table below.
<span id="upload tab wcu configuration"></span>
This tab can be seen in Figure "Edit Configuration: Upload" and the tab content is described in the table below.
{| class="wikitable"
{| class="wikitable"
| style="font-weight: bold;" | Mobile upload limit
| style="font-weight: bold;" | Mobile upload limit
Line 111: Line 184:
|-
|-
| style="font-weight: bold;" | Post run grace timeout
| style="font-weight: bold;" | Post run grace timeout
| The number of seconds to wait before communicating with the MCD-Hub and portal, if the ignition is turned off.
| The number of seconds to wait before communicating with the portal, if the ignition is turned off.
|-
|-
| style="font-weight: bold;" | Upload timeout
| style="font-weight: bold;" | Upload timeout
Line 117: Line 190:
|-
|-
| style="font-weight: bold;" | Erase error code
| style="font-weight: bold;" | Erase error code
| If turned on the error codes in the car will be reset.
| If turned on the error codes in the vehicle will be reset.
|-
|-
| style="font-weight: bold;" | Upload data at boot
| style="font-weight: bold;" | Upload data at boot
| Uploads data when the WCU boots up
| Uploads data when the WCU boots up.
|-
|-
| style="font-weight: bold;" | Upload data at ignition off
| style="font-weight: bold;" | Upload data at ignition off
| Uploads data when the car is turned off
| Uploads data when the ignition of the vehicle is turned off.
|-
|'''Upload periodically'''
|Uploads data every 10 minutes.
|}
|}
<gallery widths="150" mode="nolines">
 
File:Wcu config1.png|Illustration 36a: Modules.
====IO====
File:Wcu config2.png|Illustration 36b: Connection.
File:Wcu config3.png|Illustration 36c: WCU.
File:Wcu config4.png|Illustration 36d: Power Management.
File:Wcu config wake on can.png|Illustration 36e: Wake On CAN
File:Wcu config5.png|Illustration 36f: Upload.
</gallery>
Version >= 2.41 of the portal has a new tab named I/O. You can read more about in [[I/O_configurations]].
Version >= 2.41 of the portal has a new tab named I/O. You can read more about in [[I/O_configurations]].


===The Edit Car Dialog===
====Extra bundles====
[[File:Illustration37.png|frame|Illustration 37: Edit Car]]
[[Extra bundles|For more information about Extra bundles, click here]].
 
From portal version 2.47 and if the WCU is running 2.47 (or is about to be upgraded to 2.47) there is a new tab "Extra bundles" in the WCU configuration window, see Figure "Edit Configuration: Extra bundles". In the tab, it is possible to select additional software to be installed on the WCU. The installation will start as soon as the WCU fetches the updated configuraton. This tab is only enabled if the current WCU is an MX4.


To edit the information about a car, press the “Edit Car” button. The dialog in Illustration 37 opens up.
===The Edit Vehicle Dialog===
The one  entry you can not edit is the VIN entry. If you need to edit that you must instead create a new car.
[[File:Illustration37.png|thumb|200px|right|Edit One Vehicle]]
In order for the portal to be able to translate Diagnostic Trouble Codes into a human readable format, you must choose a diagnostic DB file to be used. It is important to select the correct one as the diagnostic trouble codes read out might be translated incorrectly or (more probable), not at all. It is also important to select the right type of car using “Car type”. This controls the number of CAN buses and the number of Ethernet networks, if any, in the car. The “Active” check box controls whether the car should show up in tables and searches in general concerning cars. A car can never be removed as it has probably been involved in measurements but to recall an inactivated car you must actively select to view inactivated cars.
[[File:Illustration38.png|thumb|200px|right|Edit Several Vehicles]]


It is possible to update several cars at once by selecting multiple cars and then press the “Edit Car” button. By doing this you can selectively make changes to attributes of all the selected cars at once. To do this, the dialog is extended as can be seen in Illustration 38 below.
To edit the information about a car, press the “Edit Vehicle” button. The dialog in Figure "Edit One Vehicle" opens up.The one entry you can not edit is the VIN entry. If you need to edit that you must instead create a new car.


[[File:Illustration38.png|frame|Illustration 38: Edit Car|center]]
In order for the portal to be able to translate Diagnostic Trouble Codes into a human readable format, you must choose a diagnostic DB file to be used. It is important to select the correct one as the diagnostic trouble codes read out might be translated incorrectly or (more probable), not at all. It is also important to select the right type of vehicle using “Vehicle type”. This controls the number of CAN buses and the number of Ethernet networks, if any, in the vehicle. If the selected vehicle is connected to a WCU in a resource group, strict or not, this option is disabled. To enable it it either has to be disconnected from the WCU or the WCU must be excluded from its resource group. The “Active” check box controls whether the vehicle should show up in tables and searches in general concerning cars. A vehicle can never be removed as it has probably been involved in measurements but to recall an inactivated vehicle you must actively select to view inactivated vehicles. However, if the vehicle is connected to a WCU this option will be disabled from editing. In order to deactivate such a vehicle you need to first disconnect it from the WCU. It is possible to choose not to update history vehicles with the provided changes. This option should only used in specific cases and with a well grounded reason.  


===Upload a Car Import File===
It is possible to update several vehicles at once by selecting multiple vehicles and then press the “Edit Vehicle” button. By doing this you can selectively make changes to attributes, except for the VIN and plate number, for all the selected vehicles at once. This is achieved using the extended dialog presented in Figure "Edit Several Vehicles". The options which are to be edited for all vehicles must be selected using the corresponding checkbox. If not, the option is disabled, as for instance the "Comment"-option in the "Edit Several Vehicles"-figure. 
It is possible to import a file that describes a set of cars. It can consist of both new cars and cars already in the database but that might need to be updated with new information.
 
A car import file consists of a comma separated file where each line describes a car. The first line of the file must look as follows:<br>
=== Add Vehicle Dialog ===
[[File:Add-car-dialog.png|alt=add car dialog|thumb|Add Vehicle dialog]]
[[File:Save car response dialog.png|thumb|Response dialog when creating a new vehicle]]
Usually you do not have to create vehicles manually, they are created automatically by the WCU if they are not found. It is possible, however, to create a vehicle manually using the portal by pressing the button "Add Vehicle" in the vehicles panel. By doing so you will be presented with the dialog found on the right. Here you can set a number of attributes. Important to remember is that the field VIN is mandatory and must be unique among all vehicles registered on the portal. From version 2.57 of the portal the checkbox "Generate unique VIN" is present to the right of the input field VIN. By checking that box a unique VIN will be generated once you save the vehicle. The name consists of a prefix, which is centrally preconfigured, and a monotonically increasing integer number. After pressing save you will be presented with the following dialog (in the right below).
 
Here you have the opportunity to inspect the generated VIN and your other settings. You can either select to dismiss the dialog or go to the result which means that the newly created vehicle will be presented in the table in the vehicles panel.<br clear="all">
 
===Upload a Vehicle Import File===
It is possible to import a file that describes a set of vehicles. It can consist of both new vehicles and vehicles already in the database that might need to be updated with new information.
A vehicle import file consists of a comma separated file where each line describes a vehicle. The first line of the file must look as follows:<br>
'''VIN,regNr,description,project,protoNumber,tsu,series'''
'''VIN,regNr,description,project,protoNumber,tsu,series'''


There are seven attributes currently. When uploading the file you have a choice of modifying existing cars on the portal. If you do not check this box and there are cars that already exists, the import will fail.
There are seven attributes currently. When uploading the file you have a choice of modifying existing vehicles in the portal. If you do not check this box and there are vehicles that already exist, the import will fail.


=== Show or export SIM card ID ===
=== Show or export SIM card ID ===
Line 170: Line 251:


To remove a comment from a WCU simply check the checkbox for erasing comments. Doing so will result in that empty comments in the uploaded file will erase current comments.
To remove a comment from a WCU simply check the checkbox for erasing comments. Doing so will result in that empty comments in the uploaded file will erase current comments.
=== Upload a file describing ECU pin codes for a vehicle ===
[[File:Upload vehicle pins file Screenshot from 2023-06-28 15-22-22.png|thumb|Upload of a vehicle pin code file]]
ECU pin codes can be specific for a vehicle. This makes it possible to [https://wiki.alkit.se/wice284/index.php/Creating_a_Task#SWDL create an SWDL assignment] for multiple vehicles in one go. In order for this to work you must first prepare all such vehicles by uploading a file describing the different pin codes. When using the button "Upload Vehicles pins" multiple vehicles can be described in one file. The format of such a file is  row based where each row should be '''vin;ecu;pin'''. The ecu field is the hexadecimal address the ECU. When pressing the button "Upload Vehicles pins" you will be presented with the dialog found to the right.
[[File:Context-vehicle-pin-code-file.png|thumb|The context menu choice for uploading a ECU pin code file for a single vehicle.]]
There is also on option available with a context menu (right click a row) where a singe vehicle is targeted. The format of the file is the same except that no vin should be in the file.
{{:Shelve and Unshelve a WCU}}
<br clear="all">


==Resource Groups==
==Resource Groups==
Line 177: Line 267:




[[File:AddWCUtoResourceGroup.png|thumb|Illustration 39.1: Adding resources to a group.|right]]
[[File:AddWCUtoResourceGroup.png|thumb|Adding Resources to Resource Group|right]]
==== Add a resource to a resource group ====
==== Add a resource to a resource group ====
To add resources to a resource group you start by selecting the resources you are interested in adding to a resource group.  
To add resources to a resource group you start by selecting the resources you are interested in adding to a resource group.  
Line 185: Line 275:
The two check boxes requires a deeper discussion. Assume you have a resource group that has been used for some time. A new WCU is registered on the portal and you would like to add that WCU to your group. A common situation is that you would like that WCU to be configured the same way as the rest of the WCUs in the resource group. This is accomplished by checking “Update WCU configuration”. If this requires an update of the WCU software it will automatically be taken care of. Also, a WCU comes pre-configured with a set of modules. Usually you will probably want to update the module configurations as well. In order to do so, it is required that you also update the WCU-configuration.  
The two check boxes requires a deeper discussion. Assume you have a resource group that has been used for some time. A new WCU is registered on the portal and you would like to add that WCU to your group. A common situation is that you would like that WCU to be configured the same way as the rest of the WCUs in the resource group. This is accomplished by checking “Update WCU configuration”. If this requires an update of the WCU software it will automatically be taken care of. Also, a WCU comes pre-configured with a set of modules. Usually you will probably want to update the module configurations as well. In order to do so, it is required that you also update the WCU-configuration.  


If you leave the "Update WCU configuration" and/or "Update module configuration" unchecked, that selection of only in this instant. If you later change the resource group configuration (or module configuration), that change will be applied to all resources in the group.


[[File:ConfirmMovingResourceToResourceGroup.png|thumb|Illustration 39.2: Dialog informing that a WCU will be moved to another resource group.|right]]  
 
 
[[File:ConfirmMovingResourceToResourceGroup.png|thumb|Dialog: WCU Moved to Another Resource Group|right]]  
<br>
<br>
==== Moving a resource between resource groups ====
==== Moving a resource between resource groups ====
Line 192: Line 285:




[[File:AddWCUToStrictResourceGroup.png|thumb|Illustration 39.3: Adding or moving a WCU to a strict resource group.|right]]
[[File:AddWCUToStrictResourceGroup.png|thumb|Adding/Moving WCU to Strict Resource Group.|right]]
<br>
<br>
==== Requirements for moving or adding a resource to a strict resource group ====
==== Requirements for moving or adding a resource to a strict resource group ====
Line 200: Line 293:


==Modules for the WCU==
==Modules for the WCU==
[[File:Screenshot from 2021-09-10 15-34-09.png|alt=Tool configurations.|thumb|687x687px|Selecting Tool Configurations]]
Each WCU supports a number of modules. The modules are software components realizing specific functions, such as a measurement tool, a data source or software component. Some modules correspond to external measurement devices connected to the WCU, whereas other are built-in. This makes it possible to add new peripherals to the WCU for handling various tasks in acquiring measured data from a car. The set of currently available modules are:
Each WCU supports a number of modules. The modules are software components realizing specific functions, such as a measurement tool, a data source or software component. Some modules correspond to external measurement devices connected to the WCU, whereas other are built-in. This makes it possible to add new peripherals to the WCU for handling various tasks in acquiring measured data from a car. The set of currently available modules are:
# Area5
# Audio
# Blue piraT
# Blue piraT
# Canrecorder
# Canrecorder
# DLT
# DoIP
# DoIP
# ETAS
# ETAS
# Ethernet capture
# GPS
# GPS
# IDC
# IDC
# MCD-Hub
# IPEmotion RT
# LPD
# M-log
# MCD-Hub (deprecated)
# MQTT
# Rapid Prototyping (RP)
# Rapid Prototyping (RP)
# Signal Reader
# Signal Reader
# SoftHub
# Smart Eye
# Soft-Hub
# State of Health (SoH)
# Software Download (SWDL)
# Software Download (SWDL)
# State of Health (SoH)
# Uptime
# Uptime
# Video
# Vinreader
# Vinreader


To deal with each module's configuration a new view is presented below. To open this view, press the button “Modules” as shown in Illustration 33 on [[#The Vehicles Tab]].
To deal with each module's configuration a new view is presented below. To open this view, press the button “Modules” as shown in Figure "The Administrator's Vehicles Tab" in [[#The Vehicles Tab]].
In the illustration above there are a set of tools present. Each type is grouped on the left side using a stack panel. Select the connected MCD-Hubs by selecting the MCD-Hub stack and select (click) the Canrecorder stack to see the canrecorders connected a so fourth.
In Figure "Selecting Tool Configurations" there are a set of tools present where each type is grouped on the left side using a stack panel. Show the Signal Reader settings by selecting the Signal Reader stack and select the Canrecorder stack to see the canrecorder settings and so forth.
 
Each tool has its own entry in each of the stacks. In Figure "Handling Tool Configurations" there is only one MCD-Hub present and it is “0”. Each tool is recognized with a tool ID which is set by the WCU. This ID is usually not descriptive and therefore you have the possibility to set a name of your likings. Change the name by pressing the button “Edit name”. You can also add a description to the tool that shows up as a “tool tip” when hovering over the name of the selected tool. Analogously, change the description by pressing the button “Edit description”. To reload the set of available tools  press the “Reload” button.
 
Below each tool configuration there messages are presented to indicate the module status. The different types of which are presented in Figure "Module Status Indicators".
 
<br>
<gallery widths="200" mode="nolines">
File:Modules no settings changed.png|Module Status Indicators
File:Modules settings not saved.png
File:Modules settings saved.png
File:Modules tool upgrade pending.png
</gallery>
 
When a module is selected, or reloaded, it will say "No settings saved". In this mode the save-button is disabled and it will not be enabled until one of the settings is edited. Then the message "Settings not saved" appears until the save button is pressed. When the configuration is successfully saved, the status is updated to "Settings saved" and the Save-button is once again disabled. In addition, if there is a pending upgrade of the tool, this also will be indicated below the configuration panel.
[[File:Screenshot from 2021-04-09 10-54-55.png|thumb|Module status with information on when it was changed and by whom]]
In addition to the module status indicator above, a date and user will show when the configuration was changed and by whom.
 
=== Configure the Arcos Module ===
[[File:ArcosNewModule.png|alt=Arcos-module|thumb|Arcos-module]]
As of version 2.71 of the portal, Arcos tasks can be created and these are the configurations variables that can be configured:
* Username
* Password
* Frontend number
*Current firmware
*Desired firmware
* [[Debug level]]
When configuring the module on a resource group level the username and password will be set on all resources in the resource group. The frontend number however, will not be updated on all the resources but rather retain the individual settings made on each resource.
 
In order for the "Current firmware" and "Desired firmware" field to show the WCU software version needs to be 2.85.0 or later.
 
=== Configure the Area5 Module ===
As of version 2.61 of the portal, it is possible to create Area5 tasks. The Area5 tool only has one configuration, the [[debug level]], which determines the level of logging during the execution of the Area5 tasks.
 
=== Configure the Audio Module ===
The audio module can be configured both regarding '''recording''' and '''monitoring'''. The recording settings refer to what is recorded on the WCU to disc to be uploaded, whereas the monitoring settings refer to the parameters used for monitoring live audio.
 
The available recording settings are:
* '''Device''', can be set to internal or USB, where default is internal
* '''Channels''', can be set to either 1 (mono) or 2 (stereo), default is 2
* '''Sample rate''', can be set to 48000, 44100, 16000 or 8000. Default is 48000. The unit is Hz.
* '''Recording volume''', can be set to a value between 0 and 100, where default is 95.
The available monitoring settings are:
* '''Channels''', 1 (mono) or 2 (stereo). Default is 1.
* '''Codec''', LPCM, GSM or G.711. Default is LPCM (Linear PCM 16 bits per sample, 16 kHz).
* '''Destination IP address'''. This is the address to where the audio is sent for live monitoring.
* '''Enable monitoring'''. In order to monitor audio live for an audio task, the module must be enabled for monitoring. If the task is enabled for monitoring but the module is not, no audio can be monitored live. Default is disabled.<br clear="all">
 
It is possible to have four audio sources simultaneously. To add a new source, simply press the button "Add audio source" and the corresponding settings will appear in a new tab. If there already is an audio source with device set to internal, the new device will have default device USB. However, if there is no previous device set to internal, this will be the default option.
 
=== Configure the Blue piraT Module ===
As of version 2.44 of the portal it is possible to create blue piraT tasks. The blue piraT tool only has one configuration, the [[debug level]], which determines the level of logging during the execution of the blue piraT tasks.
 
=== Configure the Canrecorder Module ===
The configurable settings for the Canrecorder module can be seen in Figure "Settings for the Canrecorder module".
 
[[File:Modules Canrecorder.png|thumb|left|250px|Settings for the Canrecorder module]]
<br clear="all">
 
In the aforementioned figure, it is clear that this panel can be used to edit the speed on both the high- and low-speed CAN-buses. It is also possible to set the date for which the update is valid, the canrecorder version and the debug level.


[[File:Illustration40.png|frame|Illustration 40: View for handling tool configurations.|center|670x670px]]
=== Configure the DLT Module ===
Each tool has its own entry in each of the stacks. In Illustration 40 above there is only one MCD-Hub present and it is “0”. Each tool is recognized with a tool ID which is set by the WCU. This ID is usually not descriptive and therefore you have the possibility to set a name of your likings. Change the name by pressing the button “Edit name”. You can also add a description to the tool that shows up as a “tool tip” when hovering over the name of the selected tool. Analogously, change the description by pressing the button “Edit description”. To reload the set of available tools for both MCD-Hub and Canrecorder, press the “Reload” button.
For WCUs with software version earlier than 2.72.0 the DLT module have two DLT-specific settings, one for the daemon address and one for the daemon port. Have a look [[DLT Module|here]].


For WCUs with software version 2.72.0 or later, the daemon addresses and ports (several daemons are supported from this version) are instead specified when creating a [[Creating a Task#Diagnostic Log and Trace (DLT)|Diagnostic Log and Trace (DLT) task]]. The only thing specified in the module is the debug level - the level of logging from the WCU regarding its handling of this task.


=== Configure the DoIP Module ===
In figure "Settings for the DoIP module" the configuration for the DoIP module is presented.


===Configure the Canrecorder Module===
'''Proxy address:''' The proxy address for the DoIP module.
There are two configurations for Canrecorder, one legacy (for WICE versions older than 2.46) and the other for later versions of WICE.
The legacy configuration for the Canrecorder module is shown in Illustration 41.1 below. There are four fields of which two are editable. In order for the canrecorder to work you need to set the high- and low speed CAN bus. The update date says when the last configuration was enabled and the canrecorder version says which version of the canrecorder software is used.
[[File:Illustration41.png|frame|Illustration 41.1: Legacy configuration options for Canrecorder.|center]]


'''Proxy port:''' The proxy port.


For later versions there is only one option that is configurable, the debug level. The configuration is shown in illustration 41.2 below.  
'''ID:''' The ID of the DoIP module.
[[File:CanrecorderModule.png|center|600px|thumb|Illustration 41.2: Current module configuration for Canrecorder.]]
 
'''Active session:''' Checkbox to let the DoIP module start announcing an ongoing synchronous diagnostic session. This is typically done by setting a LED on the WCU connected to the vehicle, signaling that a synchronous diagnostic session is ongoing.
 
The Proxy address should usually be set to the localhost IP address 127.0.0.1 for technical reasons (it will be tunneled) and the proxy port number should usually be 6757. The ID is a textual string that identifies a particular user group that will gain access to the WCUs by configuring the client interface system with the same identifier. (This configuration is done at doipc install time.) All WCUs configured with the same ID will be reachable through the same client system interface. For more information see [[Remote Diagnostics over IP (DoIP)|Remote Diagnostics over IP (DoIP)]].
 
[[File:Modules DoIP.png|thumb|left|250px|Settings for the DoIP module]]
<br clear="all">
 
=== Configure the ETAS Module ===
In Figure "Settings for the ETAS module" the configuration panel for the ETAS module is presented.
 
[[File:Modules ETAS.png|thumb|left|250px|Settings for the ETAS module]]
<br clear="all">
 
This panel can be used to change the username and password as well as the debug level.
 
=== Configure the Ethernet capture module ===
[[File:Screenshot from 2021-04-01 09-34-02.png|thumb|Settings for the Ethernet capture module]]
The only available setting here is debug level.
 
=== Configure the File fetcher module ===
The only available setting here is [[debug level]].


===Configure the GPS Module===
===Configure the GPS Module===
[[File:Screenshot from 2021-04-01 09-36-42.png|thumb|Settings for the GPS module]]
There are four settings involved:
There are four settings involved:
# Enable GPS. Sets whether the GPS should be enabled or not. If you disable the GPS all the other settings will also be disabled.
# Enable GPS. Sets whether the GPS should be enabled or not. If you disable the GPS all the other settings will also be disabled.
# GPS sampling interval. Sets the position sampling interval in seconds.
# GPS sampling interval. Sets the position sampling interval in seconds.
Line 242: Line 427:


===Configure the IDC Module===
===Configure the IDC Module===
[[File:Illustration42.png|frame|Illustration 42: Settings for the Internal Diagnostic Client (IDC).|center]]
The IDC module can be configured with which CAN bus to communicate with the vehicle. You can actually even choose both where it will first try the Ethernet network (ETH), if it exists, and the CAN bus. If the car type in question does not have an Ethernet network, only the CAN option will appear.
The IDC module can be configured with which CAN bus to communicate with the vehicle. You can actually even choose both where it will first try the Ethernet network (ETH), if it exists, and the CAN bus. If the car type in question does not have an Ethernet network, only the CAN option will appear.
[[File:Screenshot from 2021-10-19 10-17-38.png|none|thumb|Settings for the IDC module]]
From version 2.68.0 another option also exists where the file output format can be set.
===Configure the IPEmotion RT Module===
The IPEmotion RT module can be configured with SFTP port, username and password.
===Configure the LPD Module===
The LPD module can be configured with a list of usernames. Each "Username" field represents one username in that list. Use the button next to the field to add another username.
===Configure the M-log Module===
[[File:Screenshot from 2022-04-21 16-11-28.png|alt=Settings for the M-log module|left|thumb|250x250px|Settings for the M-log module]]
From version 2.75.0 of the M-log module there are two more fields present. They are "Current firmware" which is the last known firmware for the M-log logger. "Desired firmware" consists of a drop-down list a out-of-band firmware files present on the portal. Select one the files and the WCU will try to apply the firmware upgrade to the M-log as soon as possible.<br clear="all">


===Configure the MCD-Hub Module===
===Configure the MCD-Hub Module===
The configuration for the MCD-Hub has only two settings. The first is the MCD-Hubs IP address and the second is the preferred firmware version. The other two configuration settings shown in Illustration 40 is “MCD-Hub firmware version” which shows the current version used by the hub and the second is “Last configuration update date” which states when the MCD-Hubs current configuration was brought into action.
The MCD-Hub module is deprecated and should not be used anymore. The configuration for the MCD-Hub has only two settings. The first is the MCD-Hubs IP address and the second is is “MCD-Hub firmware version” which shows the current version used by the hub. The other two configuration settings  are the preferred firmware version and the second is “Last configuration update date” which states when the MCD-Hubs current configuration was brought into action.
When you are done with your configuration you save it by pressing the “Save” button. If you for any reason need to reload the configuration, press the “Reload” button.
When you are done with your configuration you save it by pressing the “Save” button. If you for any reason need to reload the configuration, press the “Reload” button.
===Configure the MQTT Module===
The available settings for the MQTT Module is presented in Figure "Settings for the MQTT module".
[[File:Modules MQTT.png|thumb|left|250px|Settings for the MQTT module]]
<br clear="all">
This panel can be used to define an alternative host for the MQTT broker. Default is, as displayed in the illustration, localhost. Here you can also change the debug level for the module.
===Configure the RP Module===
For this module it is only possible to configure modify the debug level, see Figure "Settings for the RP module".
[[File:Illustration44.png|thumb|left|250px|Settings for the RP module]]
<br clear="all">
More information on how to use the RP module is found in the [[WICE RP Manual]] and the [[WICE RP How-To]].
===Configure the Signal Reader Module===
[[File:Signal-reader-module-2.88.png|alt=Settings for the Signal Reader module|thumb|318x318px|Settings for the Signal Reader module]]
As of version 2.33 of the WCU software it is possible to monitor signals in real time. For this to happen you must enable the feature by checking the box “Enable monitor” illustrated in Figure "Settings for the Signal Reader module". The monitoring can either be set as asynchronous or synchronous. In the former case, there is a regular signal communication with the portal and in the latter case with a specified destination port. For the synchronous case it is also possible to specify which transport protocol to use: TCP or UDP. The monitoring rate for both cases is set using the "Interval" field, where the default is once per second.
Also here it is possible to define the debug level. Further, the module settings include selecting whether or not the MDF files are to be written upon recorder stop and the version of the generated MDF file. In the sampling section there are two main choices; whether or not to record samples on change and enabling/disabling of piecewise linear approximation (PLA). If samples are to be recorded on change, it is possible to also choose to include one sample before the change. With the choice of PLA comes the option of defining the error percentage for the signal range and the maximum segment length in number of samples. 
Thereafter you can select whether to aggregate ReadDataByIdentifier (service 22) diagnostic requests and which channel that should be used as the default diagnostics channel. Default interface can be CAN or DoIP and will affect the assignment that has the interface "Default Channel" selected and also the DREC. It is also possible to enter appropriate values for the diagnostics timeout. The timeout values determine how long time to wait for diagnostic responses before assuming that there are none. Typically, the timeout for sequence file diagnostics is set to a higher value due to the fact that it doesn't negatively impact the update frequency of active (diagnostics) signals.
From version 2.88.0 it is possible to select the MDF4 format when logging frames.
===Configure the SmartEye Module===
The configuration for this module is identical to that of the RP module, depicted in Figure "Settings for the RP module".
===Configure the Soft-Hub===
As for the RP and Smarteye module, its only editable parameter is the debug level using a panel as displayed in Figure "Settings for the RP module".
===Configure the State of Health Module===
The state of health module has the same settings as the IDC module above.
===Configure the Software Download Module===
The SWDL module has the same settings as the IDC module above apart from one difference highlighted in red in Figure "Settings for the Software Download Module".
[[File:Modules SWDL.png|thumb|left|250px|Settings for the Software Download Module]]
<br clear="all">
For WCUs of version 2.53 and forward it is possible to allow updates to be performed without manual interaction by checking the high-lighted checkbox. If this option is chosen, the updates will instead be performed as soon as possible.


===Configure the Uptime Module===
===Configure the Uptime Module===
[[File:Illustration43.png|frame|Illustration 43: Settings for the Up-time module.|right]]
The module is used to report how much and how long the WCU is running. First of all you can enable/disable the functionality all together with the “Enabled” check box. Next is how often the up-time should be logged in seconds. The second check box, “Monitor enabled” is used when you would like the module to report its up-time in real-time and the interval for that, also in seconds.


===Configure the State of Health Module===
This module is used to report how much and how long the WCU is running and its configuration is set using the panel displayed in Figure "Settings for the Uptime Module".
The state of health model has the same settings as the IDC module above.
 
[[File:Illustration43.png|thumb|left|250px|Settings for the Uptime Module]]
<br clear="all">
 
First of all you can enable/disable the functionality all together with the “Enabled” checkbox. Next is how often the up-time should be logged in seconds. The second check box, “Monitor enabled” is used when you would like the module to report its up-time in real-time and the interval for that, also in seconds.
 
=== Configure the Video Module ===
A description of how to configure the video module can be found here. An explanation of the module in more general terms is found in the [[WICE video]] section.
 
The video module can be configured both regarding the recording and the monitoring. The recording parameters refers to what is recorded on the WCU to disc to be uploaded, whereas the monitoring parameters refer to the live video that is streamed from the WCU.
 
The available '''recording''' settings are:
* '''Width''', which is the width in pixels of the recorded video.
* '''Height''', which is the height in pixels of the recorded video.
* '''Frame rate''', which is the number of video frames per second to be recorded.
* '''Codec''', which is the video codec used when recording video clips to disc. Avaliable codecs are JPEG and VP8. (Note that the video that is uploaded to the portal is typically transcoded to MPEG-4 format, and codec only refers to the recording phase in the WCU.)
* '''Clip size''', which is the size in seconds or bytes of clips recorded on the WCU. The clips are subsequently concatenated on the Portal, if needed.
* '''Clip unit''', which is the unit for the clip size setting (bytes or seconds).
 
The available '''monitoring''' settings are:
* '''Enable monitoring''', which enables or disables monitoring of video.
* '''Width''', which is the width in pixels of the monitored video.
* '''Height''', which is the height in pixels of the monitored video.
* '''Frame rate''', which is the number of video frames per second to be recorded.
* '''Codec''', which is the video codec used when streaming monitored video. Avaliable codecs are JPEG and VP8.
* '''Destination IP address''', which is the IP address to which monitored video is transmitted.


===Configure the Signal Reader Module===
There is also a setting for rotating the video, to be used if the camera is installed upside-down or at a 45 degree angle.
As of version 2.33 of the WCU software it is possible to monitor signals in real time.
For this to happen you must enable the feature by checking the box “Enable monitor”. It is currently set at an update rate of once every second.


===Configure the RP Module===
=== Configure the Vinreader Module ===
From version 2.35 of the portal there is a possibility to upload up to three files to configure the RP module. The three files are:
[[File:Screenshot from 2022-04-22 08-59-33.png|alt=Settings for the Vinreader module|thumb|250x250px|Settings for the Vinreader module]]
# Configuration file
The method of reading a vehicle's VIN (Vehicle Identification Number) can be set to '''SPA29''', '''OBD2''', '''SPA11, BP, TEA2+, UDS, DoIP''' or '''FIXED'''. The preferred setting for this is OBD2, whereby a standardized OBD-II diagnostic service is used to read out the VIN. SPA29 and SPA11 refers to using CAN diagnostic requests using either 29 bit or 11 bit SPA addressing respectively. The CAN channel (on the WCU) is selected in 'Default CAN channel'.
# Certificate file
# Binary file


[[File:Illustration44.png|frame|Illustration 44: Settings for the RP module.|center]]
When the setting FIXED is used, the VIN will not be read out from the vehicle using a diagnostic service, but rather a preset value entered in the item named 'Fixed VIN' is used.
[[File:Screenshot from 2022-04-22 09-09-21.png|alt=Vehicle ID method type|thumb|Vehicle ID method type]]
[[File:Screenshot from 2022-04-22 09-55-55.png|alt=No identifying label selected|thumb|No identifying label selected]]
[[File:Skärmavbild 2019-12-18 kl. 15.17.58.png|thumb|Audio module settings]]


For information on how to use the RP module, see the [[WICE RP Manual]] and the [[WICE RP How-To]].
'Save VIN' is a checkbox for save vin. As default the box is checked which means that it will save the VIN number if the WCU can successfully read it. If the 'Save VIN' is unchecked then the WCU will try to read the VIN number every time it boots.


=== Configure the Blue piraT Module ===
There are currently two ways of identifying a vehicle, either by reading the VIN or the chassis number. The selection is shown in Illustration 'Vehicle ID method type' to the right. When using 'Chassis NO' as identification type you must select which valued label to use for this mechanism. If no such label has been selected, you will see the the text 'No label selected in backend' to the right of the selected type, see Illustration 'No identifying label selected' on the right. To select which label to use, head over to the [[Labels#Administer labels|label administration tab]] to make the selection.  
As of version 2.44 of the WICE portal it is possible to create blue piraT assignments. The blue piraT tool only has one configuration, the debug level, which determines the level of logging during the execution of the blue piraT assignments.


==The Administration Tab==
==The Administration Tab==
Line 278: Line 539:
===The Connect Car to WCU Tab===
===The Connect Car to WCU Tab===


To archive which car a specific WCU was in at the time an assignment was run can be done by connecting a car to a WCU in this tab. This is usually done automatically but in some situations it is necessary to do this manually
To archive which vehicle a specific WCU was in at the time a task was run can be done by connecting a vehicle to a WCU in this tab. This is usually done automatically but in some situations it is necessary to do this manually


The area is divided into two tables, one for searching WCUs, the left one, and one for searching cars, the right one. When you start typing the name of the WCU you are looking for in the upper left corner just above the table, matching WCUs appear in the left table. To find the car you are looking for, you do the same in the right table but here you have the option of using either the VIN or plate number.
The area is divided into two tables, one for searching WCUs, the left one, and one for searching vehicles, the right one. When you start typing the name of the WCU you are looking for in the upper left corner just above the table, matching WCUs appear in the left table. To find the vehicle you are looking for, you do the same in the right table but here you have the option of using either the VIN or plate number.


To connect a WCU with a car you drag the WCU you would like to connect onto the car in the right table. When you drop it onto a car a small icon will show signifying that the WCU and car are connected.  
To connect a WCU with a vehicle you drag the WCU you would like to connect onto the vehicle in the right table. When you drop it onto a car a small icon will show signifying that the WCU and vehicle are connected.  


From version 2.42 it is also possible to select a WCU and a Car and then click on the new "Connect" button located between the two grids.
From version 2.42 it is also possible to select a WCU and a Car and then click on the new "Connect" button located between the two grids.


To disconnect a WCU and car you simply press the icon for wither of the WCU or car.
To disconnect a WCU and car you simply press the icon for wither of the WCU or car.
See Illustration 45 for an example.
See Figure "Connect Cars to WCU" for an example.
[[File:Illustration 45.png|thumb|frame|left|600px|Illustration 45: Connect cars to WCU]]
 
[[File:Illustration 45.png|thumb|frame|left|600px|Connect Cars to WCU]]
<br clear="all">
<br clear="all">
The connection is a sort of instantaneous carbon copy of the situation at the time that a task was created. If you later change the connection, already running/run tasks will not be affected.
The connection is a sort of instantaneous carbon copy of the situation at the time that a task was created. If you later change the connection, already running/run tasks will not be affected.


===The GDS/SDDB File Tab===
===The Resource Groups Tab===
In order for the portal to be able to translate error codes into a human readable format, a GDS or SDDB file must be selected for a vehicle. The set of GDS/SDDB files to choose from is administered in this tab, see Illustration 56 below.  
This tab is used to administer some parts of the creation and destruction of resource groups and more. The panel for administering the resource groups is depicted in the Figure "Resource Group Tab".  
[[File:Illustration53.png|left|frame|Illustration 56: The GDS/SDDB file view.]]
[[File:ResourceGroup.png|left|thumb|800x800px|Resource Group Tab]]
<br clear="all">
<br clear="all">
To upload a new GDS/SDDB file, press upload new file and you will be presented with dialog where you select the file, sets an optional name (if no name is entered, the file name is used) and an optional comment. To upload a new file for an existing entry, press the edit file button and you will be presented with a dialog where you can upload a new file. To edit the comment or the name that should show up when select which GDS/SDDB file to use for a vehicle, simply double click the cell and edit directly in the table.


===The Resource Groups Tab===
This tab is used to administer some parts of the creation and destruction of resource groups and more. The panel for administering the resource groups is depicted in Illustration 57, below.
[[File:Illustration 57.png|thumb|left|800px|alt=Illustration 57: The Resource Groups Tab]]
<br clear="all">
At the top is a search field to search for resource groups. Next are two tables, side by side. The left table lists the resource groups found depending on your search criteria. When a resource group is selected, the resources that are part of the resource group are shown in the right table. Next, the functionality of the buttons will be covered.
At the top is a search field to search for resource groups. Next are two tables, side by side. The left table lists the resource groups found depending on your search criteria. When a resource group is selected, the resources that are part of the resource group are shown in the right table. Next, the functionality of the buttons will be covered.


====Add and Remove Resource Groups====
====Add and Remove Resource Groups====
[[File:CreateNewResourceGroup.png|thumb|Illustration 58: Add resource group dialog.]]
[[File:CreateNewResourceGroup.png|thumb|Add Resource Group Dialog]]
 
To add a resource group you simply press the “New resource group” button and the following window will show. Here you can type the name for the new resource group, set the resource group as strict (see [[Strict resource group|Strict Resource Groups]]) and, if you choose to set the resource group as strict, set what platform type and platform subtype it should have. When you feel satisfied with your selections press “Create” to create the resource group. If you change your mind, press the “Cancel” button. Resource groups are global and writable and that means that names must be unique. The reason for this is that a resource group name takes on the form as both the resources car and WCU and those must be unique and therefore the resource groups must also be unique. One can, however, imagine situations where this must not be enforced but at the moment this is the case.
To add a resource group you simply press the “New resource group” button and the following window will show. Here you can type the name for the new resource group, set the resource group as strict (see [[Strict resource group|Strict Resource Groups]]) and, if you choose to set the resource group as strict, set what platform type and platform subtype it should have. When you feel satisfied with your selections press “Create” to create the resource group. If you change your mind, press the “Cancel” button. Resource groups are global and writable and that means that names must be unique. The reason for this is that a resource group name takes on the form as both the resources car and WCU and those must be unique and therefore the resource groups must also be unique. One can, however, imagine situations where this must not be enforced but at the moment this is the case.


To remove a resource group, press the “Remove resource group” button. Be aware that no warning is given if there are resources in the group when removing it.
To remove a resource group, press the “Remove resource group” button. Be aware that no warning is given if there are resources in the group when removing it.
==== Default labels ====
Default labels are a group of labels that will be connected to WCU or/and vehicle when wcu joins the resource group. These labels will not affect current WCU/Vehicle in the resource group. To edit the set of labels press the “Edit default labels” button. New window will show. Read more about the edit default labels window [[Edit default labels window|here]].
==== Approved Assignments ====
You can require that assignments must have been reviewed and approved before they can be applied to a resource group by checking the box "Require Approved Assignments". If an assignment does not meet these criteria, the assignment will not be applied to the resource group. Read more about the assignment review process [[Review assignment process|here]].


====Manipulating Resources in a Resource Group====
====Manipulating Resources in a Resource Group====
In the right hand table in Illustration 59 below, you see a set of resources for a resource group.
In the right hand table in Figure "Manipulating Resources in Resource Group", you see a set of resources for a resource group.  
[[File:Illustration 59.png|thumb|frame|left|800px|Illustration 59: Manipulating Resources in Resource Group]]
[[File:Rg.png|left|thumb|800x800px|Manipulating Resources in Resource Group]]
<br clear="all">
<br clear="all">
Here are both WCUs and cars part of the group. In addition to the type there is a column named “Status”. That column only applies to WCUs. The use of this column is as follows. Assume you have a resource group consisting of 50 WCUs. Further, lets make a configuration change to that resource group. Depending on where the WCUs geographically are and how they are used the WCUs will be updated at different times. How do you you know when all WCUs are up to date in the resource group? You could check them individually in the “Vehicles” panel but that is not very elegant and time saving. Instead, just watch the “Status” column for the WCUs. When a WCU is up to date with respect to the group configuration the color in the column will be green. The value is updated each 30 seconds.  
Here are both WCUs and cars part of the group. In addition to the type there is a column named “Status”. That column only applies to WCUs. The use of this column is as follows. Assume you have a resource group consisting of 50 WCUs. Further, lets make a configuration change to that resource group. Depending on where the WCUs geographically are and how they are used the WCUs will be updated at different times. How do you you know when all WCUs are up to date in the resource group? You could check them individually in the “Vehicles” panel but that is not very elegant and time saving. Instead, just watch the “Status” column for the WCUs. When a WCU is up to date with respect to the group configuration the color in the column will be green. The value is updated each 30 seconds.  


Line 326: Line 591:
===== Green =====  
===== Green =====  
The WCU has updated to the resource group's configuration.  
The WCU has updated to the resource group's configuration.  


You can remove individual resources from a group by selecting the resource and then press the “Remove resource” button.
You can remove individual resources from a group by selecting the resource and then press the “Remove resource” button.


Yet another button remains and it is the button “Base Group on Resource”. When you add a WCU to a resource group in the “Vehicles” panel you have the option of not updating the WCU configuration to match the one of the resource group's, see Illustration 39 in [[#Resource Groups]]. Using this function it is possible to base the whole group on a WCU's configuration rather than the group's configuration.
Yet another button remains and it is the button “Base Group on Resource”. When you add a WCU to a resource group in the “Vehicles” panel you have the option of not updating the WCU configuration to match the one of the resource group's, see Figure "Dialog: WCU Moved to Another Resource Group" in [[#Resource Groups]]. Using this function it is possible to base the whole group on a WCU's configuration rather than the group's configuration.


=== The Custom Car Types Tab ===
=== The Vehicle Profiles Tab ===


This tab is further described [[Custom Car Types|here]].
This tab is further described [[Vehicle Pofiles|here]].


=== The Alarm Tab ===
=== The Alarm Tab ===
Line 341: Line 605:


===The User Tab===
===The User Tab===
The basic layout of the areas is just the same here as before. At the top you have a search area, in the middle is a result are and at the bottom are a set of buttons. The tab with a set of example users is in Illustration 46 below.
[[File:Illustration46.png|border|800x800px]]The basic layout of the areas is just the same here as before. At the top you have a search area, in the middle is a result are and at the bottom are a set of buttons. The tab with a set of example users is in the Figure "User Administration Tab".
The eight columns are:
The nine columns are:
[[File:Illustration46.png|frame|none|left|Illustration 46: The user administration tab.]]


* '''User ID'''. The unique ID that the user must enter when logging in.
* '''User ID'''. The unique ID that the user must enter when logging in.
Line 353: Line 616:
* '''Two factor auth'''. Whether the two-factor authentication is turned on for a particular user.
* '''Two factor auth'''. Whether the two-factor authentication is turned on for a particular user.
* '''Logged in'''. You can see if the user is currently logged in.
* '''Logged in'''. You can see if the user is currently logged in.
* '''Creation Date'''. The date of when the user was created. Only visible on users created after December 3 2020.


At the bottom there are eight buttons. They are:
At the bottom there are eight buttons. They are:
Line 365: Line 629:


====The New User Dialog====
====The New User Dialog====
By pressing the “New User” button the dialog in Illustration 47 below appears. Mandatory fields are User ID and the two password fields. Remember that the User ID must be unique and you will be notified if it is not. Click the “Add” button to add the user or change you mind by clicking “Cancel”.
By pressing the “New User” button the dialog appears as presented in Figure "New User Dialog". Mandatory fields are User ID and the two password fields. Remember that the User ID must be unique and you will be notified if it is not. Add the roles that you want the user to have by moving roles from the left list to the right. You can hover each role to view more information about them. Click the “Add” button to add the user or change you mind by clicking “Cancel”. If you click "Add" and the roles you have selected gives the user access to some wcus tasks, you will also be prompted about giving the user access to currently running tasks on these wcus as well. This can also be done when editing the roles of a user.


[[File:Illustration47.png|thumb|frame|left|Illustration 47: The New User Dialog]]
Once the new user has been created, that user is granted a default minimalistic view in both the Tasks- and Vehicles-panel. This mechanism exists to prevent new users from being overwhelmed by the large amount of columns available in these panels. Instead, they are only presented with the most important columns, with the option to see more columns if they want to. The default columns for new users are:
* Tasks panel
** Task ID
** Assignment name
** Assignment type
** WCU ID
** Status
** Task creator
** Creation date
** Resource group
* Vehicles panel
** WCU ID
** VIN
** WCU comment
** WCU software version
** WCU connection time
** Resource group
** Active alarms
[[File:NewUserDialog252.png|left|thumb|New User Dialog]]
[[File:PromptNewUserCurAss.png|left|thumb|Prompt to give user permission to currently running tasks on specified wcus]]
<br clear="all">
<br clear="all">


====The Edit User Dialog====
====The Edit User Dialog====
You can at any time modify a user by pressing the “Modify” button to bring up the dialog in Illustration 48 below. The User ID cannot be changed. A disabled account can not be used for logging onto the portal even if the correct user name and password are given. To modify the user roles, select or deselect a role by using the check boxes. To turn on two-factor authentication for a user, check the appropriate box. When you are satisfied with your modifications, press the “Save” button to make them permanent on the portal or press the “Cancel” button if you change your mind.
You can at any time modify a user by pressing the “Modify” button to bring up the dialog in Figure "Modify User Dialog". The User ID cannot be changed. A disabled account can not be used for logging onto the portal even if the correct user name and password are given. To modify the user roles, select or deselect a role by using the check boxes. To turn on two-factor authentication for a user, check the appropriate box. When you are satisfied with your modifications, press the “Save” button to make them permanent on the portal or press the “Cancel” button if you change your mind.


To enable two factor authentication, tick the check box “Enable two factor authentication”. This will force the user to add another special one time password in addition to the account password when logging into the portal. The one time password is generated by a program on either your computer or if you want to you can install it on your smart phone which is probably the best solution. The program that generates one time password is based on a cryptographic salt and the current time. The cryptographic salt is randomly generated by the portal and is individual for each user. A secret can at any time be regenerated for a user which will render the user unable to login if you do not tick the check box “Show the secret to the user on their next login”.
To enable two factor authentication, tick the check box “Enable two factor authentication”. This will force the user to add another special one time password in addition to the account password when logging into the portal. The one time password is generated by a program on either your computer or if you want to you can install it on your smart phone which is probably the best solution. The program that generates one time password is based on a cryptographic salt and the current time. The cryptographic salt is randomly generated by the portal and is individual for each user. A secret can at any time be regenerated for a user which will render the user unable to login if you do not tick the check box “Show the secret to the user on their next login”. Advice the user to install "Google Authenticator" on their phone before they login to the portal for the first time as the secret will only be shown once and must be installed in the authenticator app at that time.


[[File:Illustration48.png|thumb|frame|left|Illustration 48: The modify user dialog.]]
Just like when adding a new user, you can give or remove roles to the user by clicking "Edit user roles" and moving roles from the left list to the right and vice versa. If you edit the user roles to add some wcu task permission to the user, you will also here be prompted about giving the user access to currently running tasks on these wcus as well.
[[File:EditUser252.png|left|thumb|Modify User Dialog]]
<br clear="all">
<br clear="all">


====The Change Password Dialog====
====The Change Password Dialog====


To change a user's password, press the “Change Password” button and the dialog in X Y will appear. It is pretty straight forward as you type in the new password in the “New password” entry and you need to confirm it by typing it again in the entry below it. If you are satisfied, click the “Change” button or the “Cancel” button if you decide not to change the password.
To change a user's password, press the “Change Password” button and the dialog below will appear. It is pretty straightforward as you type in the new password in the “New password” entry and you need to confirm it by typing it again in the entry below it. If you are satisfied, click the “Change” button or the “Cancel” button if you decide not to change the password.


[[File:Illustration49.png|thumb|frame|left|Illustration 49: The change password dialog.]]
[[File:Illustration49.png|thumb|frame|left|Change Password Dialog]]
<br clear="all">
<br clear="all">


====The Show Secret Window====
====The Show Secret Window====
[[File:Illustration50.png|thumb|frame|Illustration 50: The QR-code window]]
[[File:Illustration50.png|thumb|frame|QR-code Window]]
A QR-code is shown that can be transferred to a smart phone by simply starting the authenticator app, point it at the screen and let the phone read the QR-code. An example of such a QR-code can be seen in Illustration 50. If the application that is to be used as a password generator do not support QR codes, the secret is shown in clear text at the top.
 
A QR-code is shown that can be transferred to a smart phone by simply starting the authenticator app (we recommend using "Google Authenticator"), point it at the screen and let the phone read the QR-code. An example of such a QR-code can be seen in Figure "QR-code Window". If the application that is to be used as a password generator do not support QR codes, the secret is shown in clear text at the top.


==== Edit User Roles and Permissions ====
==== Edit User Roles and Permissions ====
Line 394: Line 679:


=== The Labels Tab ===
=== The Labels Tab ===
This tab is used to administer labels. Here you can enable/disable labels, rename labels which are not system labels and it is possible to make private labels global. More about these functions is found under [[Labels#Administer labels|Administer Labels]].  
This tab is used to administer labels. Here you can enable/disable labels, rename labels which are not system labels and it is possible to make private labels global. If the feature is enabled at your site, it is also possible to configure label announcements here.
 
More about these functions can be found in [[Labels#Administer labels|Administer Labels]].  


===The WCU Status Tab===
===The WCU Status Tab===
From version 2.47 the WCU status tab has changed. See [[WCU Status]].
From version 2.47 the WCU status tab has changed. See [[WCU Status]].


'''The Following applies to WICE portal < 2.47:'''
'''The Following applies to portal version 2.46 and older:'''


This view is supposed to be used for supervising a set of vehicles. The supervision is done in real time and the values for the set of vehicles are updated as soon as they arrive on the server from the different vehicles.
This view is supposed to be used for supervising a set of vehicles. The supervision is done in real time and the values for the set of vehicles are updated as soon as they arrive on the server from the different vehicles.
Line 423: Line 710:
The screen is divided in two parts, on the left hand side is a table with search functionality for finding the vehicles of interest and on the right hand side is the monitored vehicles. To monitor a vehicles you search for it in the table and then drag and drop the vehicle on the right hand panel.
The screen is divided in two parts, on the left hand side is a table with search functionality for finding the vehicles of interest and on the right hand side is the monitored vehicles. To monitor a vehicles you search for it in the table and then drag and drop the vehicle on the right hand panel.


A view of the panel is depicted in Illustration 60 below.
A view of the panel is depicted in the Figure "WCU Status Tab".
[[File:Illustration57.png|left|frame|Illustration 60: The WCU Status tab.]]
 
[[File:Illustration57.png|left|frame|WCU Status Tab]]
<br clear="all">
<br clear="all">



Latest revision as of 13:30, 17 April 2024

An administrator can do everything a user can do and more. In addition to what a normal user can do, an administrator can create and modify users and stop tasks for any task. These new functions will be explained in the next three chapters.

We will start with the Search tab where two more buttons are visible. Next is the Vehicles tab. Lastly is the Administration tab with five sub tabs consisting of: the Connect tab, the Archives tab the GDS/SDDB files tab, the Resource Groups tab and the Users tab.

The Tasks Tab

Stopping Running Task
Force Stop Task

In addition to the functionality for an ordinary user, an administrator the administrator can search and view any user's task. Also, it has one more button present. An administrator can send a Force Stop command to any WCU.

Figure "Stopping Running Task" shows the "Stop assigment" button. This button is the same as for the ordinary user and is used to stop a running task. When a running task is stopped, it changes state to "Stop pending". This means that the portal is waiting for a stop message from the WCU before the state is changed to "Stopped" in the portal view. The administrator view's "Force Stop Task" button, which can be seen in Figure "Force Stop Task", forces a "Stop pending" task into "Stopped" state without waiting for the stop signal from the WCU.

For a portal of version 2.60 and forward, it is also possible for an administrator to remove all resultfiles for a selected task using the corresponding context menu option. When doing so, a confirmation dialog pops up to ensure that it is in fact the intended choice. Note that this option is disabled if multiple tasks are selected or if the selected task does not have any result files attached.

The Vehicles Tab

An administrator can do quite a lot of things in this view, an illustration of which is presented in Figure "The Administrator's Vehicles Tab". The table header along with the buttons “Edit Description” and “Get Log Files” are explained in the page for Vehicles.

At the bottom you have a set of buttons to aid in handling the WCUs. To add a new WCU to the portal, the “New” buttons opens up a dialog for that. The “Get Log Files” button fetches log files for the selected WCU from the portal.

The Administrator's Vehicles Tab


The New WCU Dialog

There are two ways that a WCU can enter the portal. The first is if you click the “New WCU” button and the second is the first time a WCU connects to the portal it registers itself. Ideally you will never have to add a WCU to the portal but just as a safety step you have the opportunity to add it yourself. When clicking the “New WCU” button the dialog presented in in Figure "The Add New WCU Dialog".

The Add New WCU Dialog


You must enter the ID of the WCU as this is a unique identifier and you will be notified if the ID is already present on the portal. The description is optional but may be handy to remember which WCU it is.

The Edit WCU Dialog

To edit a WCU simply mark it in the table and press the button called "Edit WCU". This results in a dialog where the fields differ depending on editability. For one selected WCU these are the comment, name, whether it is active or not, the labels for the WCU or if it requires approved assignments. However, if the WCU has tasks which have status pending, running, warning or error (or corresponding partial statuses), the active option is disabled. This is also true if the WCU is connected to a vehicle or if it is included in a resource group. By checking "Require approved assignments" you can only add assignments that have been reviewed and then approved by the reviewers.

Edit a WCU
Edit a WCU Dialog

If the selected WCU is a resource group the dialog will appear as presented in Figure "Edit WCU Dialog". The difference here is the "Apply label to resource group's WCUs"checkbox. When this option is selected the labels selected in the "Manage labels"-selector are also added to the WCUs included in the resource group. It is, though, not possible to remove labels from the resource group's WCUs using this checkbox. To do so use instead the context menu options for label management.

Edit a Resource Group WCU Dialog

It is also possible to edit multiple WCUs simultaneously. If several WCUs are selected the dialog presented in Figure "Edit Multiple WCUs" appear. This is only possible for the fields "Comment" and "Active" and these are enabled using the corresponding checkbox to the right. If one of the selected WCUs fulfill the conditions presented above for the disablement of the Active-option, it will not be possible to select the corresponding checkbox.

Edit Multiple WCUs


Edit the WCU Configuration

You can edit the configuration of the WCU from the portal. Simply click on Edit Configuration to open up the window in Figures "Edit Configuration: Modules", "Edit Configuration: Connection", "Edit Configuration: WCU", "Edit Configuration: Power Management", "Edit Configuration: Upload", "Edit Configuration: IO", and "Edit Configuration: Extra bundles". The WCU configuration window is divided into five tabs where each tab is described below.


Modules

The set of checkboxes for the different modules that are present are at the top. Check or uncheck these to tell the WCU if they are present or not. Disabling modules will speed up the boot process of the WCU (but will make the corresponding functionality unavailable).

To edit "Car type", click on the field where the car type is displayed to open the "Edit car" dialog. This dialog is described in section The_Portal_Administrator_View#The_Edit_Car_Dialog

The last three checkboxes, "Run IDC at boot", "Run IDC at ignition off" and "Enable VIN reader" are pretty much self-explanatory.

Connection

This tab can be seen in Figure "Edit Configuration: Connection" and the tab content is described here.

WCU

This tab can be seen in Figure "Edit Configuration: WCU".

Unit ID

The automatically generated unique WCU identifier. The ID is immutable.

Platform type

The WCU platform type.

Platform subtype

The WCU platform subtype.

WCU software version

This is the currently installed WCU software version.

Preferred WCU software

This is the new preferred WCU software version to be installed. When updating to a new version, the configuration dialog will update itself immediately to reflect what is available in the new version, hence accordingly also when downgrading. This means that new settings regarding the WCU's modules will also be upgraded which makes it possible to edit the modules according to the new version. In addition, when creating new tasks, validation will be carried out to the new version and hence you will not have to wait for the WCU to be updated to the new version to use new features.

Perform reset on update

Removes all data on the WCU when installing a new WCU software.

MX4 firmware version

The currently installed MX4 firmware version.

Preferred MX4 firmware

The new preferred MX4 firmware.

From version 2.40 of the WCU software, all WCUs report its platform type. The platform type determines, among other things, the number of available CAN buses in the IO tab. (see I/O configurations) Since a resource group is a collection of WCUs it has no platform type of its own to report. From version 2.41 of the portal the user has the option to set a fictive platform type for a resource group. This is also a prerequisite to also set the I/O configurations for a resource group. The platform type (and possibly subtype) is set in the WCU tab. If the resource group has members with other platform type(s) than the type that is about to be set, the user will get a warning.

If the platform type of the resource group differs from the platform type of its members the I/O tab will be disabled. This is also the case when the platform type of the resource group and one member is the same but another member has another platform type.

From version 2.42 it is possible to update the WCU root password. To update the password, write the new password in "Set root password" and save the configuration.

WCU Local Scheduling Time Zone

For a WCU of version 2.53 or higher it is possible to configure a local time zone for the WCU using the option "Local scheduling time zone" presented in Figure "Edit Configuration: WCU". This field consist of a drop down menu displaying the selectable time zones, which are as follows:

  • Universal
  • Africa/Cairo
  • America/Anchorage
  • America/Caracas
  • America/Chicago
  • America/Denver
  • America/Los_Angeles
  • America/New_York
  • America/Sao_Paulo
  • Asia/Dhaka
  • Asia/Dubai
  • Asia/Hong_Kong
  • Asia/Karachi
  • Asia/Tokyo
  • Australia/Adelaide
  • Australia/Brisbane
  • Australia/Darwin
  • Australia/Sydney
  • Europe/London
  • Europe/Moscow
  • Europe/Paris

The zone defined here will be enforced selecting "WCU local time" when scheduling a task, see description here.

Blink Controller

For WCUs of version later than or equal to 2.54 it is possible to configure the blink controller for the WCU diods, which can be set to blink in different patterns to represent different WCU states. Selecting "Legacy" in the corresponding drop down menu will result in the WCU controlling the diods and the "DioIPD"-option means that the DioIPD will controll them.

Enable NTP Server

It is possible to enable or disable the NTP server by the use of a checkbox named thereafter for WCUs of version 2.60 or later.

WCU Certificate
Files for Certificate Update

If the WCU is version 2.52 or later you have an opportunity to update the WCU's certificate and related files. If the conditions mentioned are met you will see a checkbox saying "Update certificate related files", see Figure "Files for Certificate Update". When checking the checkbox, an additional three fields are revealed. They are:

  • Certificate file, choose a certificate file to upload which is in PEM format.
  • Private key file, choose a private key to upload in PEM format as well.
  • Password file, choose a file with the password to the private key. The file should be plain text.

You must supply all three files.

In order to see what certificate is installed on the WCU at any time, there is text field called "Current fingerprint". If you have recently updated a WCUs certificate, you can by hovering over the field also see if the WCU is using the latest certificate. If this the case a message saying "Using latest certificate".

Renew WCU Certificate

It is possible to renew a WCU's certificate by selecting the checkbox "Renew certificate". Doing so will automatically issue a new certificate when the configuration is saved.

Renew Certificate

Enable PTP

PTP settings in the WCU configuration
PTP settings

From version 2.81.0 of the WCU software there support for starting a PTP daemon on the WCU in order to synchronize time between units connected to the WCU. The protocol is designed to attain a higher accuracy than when using NTP. When you enable the setting you must also select to which interface on the WCU the daemon should listen on. You can see what it looks like in the illustration on the right.

Power Management

Perodic Wake-up

This tab can be seen in Figure "Edit Configuration: Power Management" and the tab content is described below.

“Power mode” has two settings: "Sleep", Deep sleep" and "Cut-off". In cut-off mode, the WCU is not woken up at regular intervals to report battery voltage, GPS position etc.

In sleep mode, some more settings are visible which also can be seen in Figure "Edit Configuration: Power Management". You can select the WCU to remain unpowered by selecting "External cut-off", only available for the COMMITTO platform. In addition, you may enable the WCU's wake-up functionality. This function is simply made up of a cycle time called “Periodic wake-up time” and the corresponding “Periodic run-time”. The “Periodic run-time” determines how long time the WCU should be awake before going back to sleep. The “Periodic wake-up time” indicates the time for each new wake-up cycle.

From version 2.43 it is also possible to set power mode to "deep sleep" for WCUs running on platform MX4 T20/T30 and MX4 V61. The configuration is the same as for mode "sleep".

Example: A periodic run-time of 600 seconds means that the WCU will be alive for 600 seconds (10 minutes). A periodic wake-up time of 3600 seconds means that the WCU will start a new run-time (600 seconds in this case) every new hour. (3600 seconds = 60 min). The sleep time in each cycle is, for the general case, the wake-up time minus the run-time and in this example 3600 minus 600 = 3000 seconds (50 min). This example is illustrated in Figure "Perodic Wake-up".

From version 2.88.0 it is possible wake on a specific CAN frame ID. The settings are the same is for the canrecorder task. There it is possible to select one specific frame or several by separating them by “,”. It is also possible to select a range between frames by using “-”. The value can either be decimal or hexadecimal. A example of a filter: “1, 0x12-0xFF”

WMU's Power Management

If your Portal has WMU's enabled and you have added WMU's to the WCU Configuration in the I/O Configurations tab, then the Power Management controls "Power Mode" and "Wake on CAN" are present for each WMU with a tab of their own. These tabs are found at the top of the dialog window next to the WCU's Power Management tab.

Upload

This tab can be seen in Figure "Edit Configuration: Upload" and the tab content is described in the table below.

Mobile upload limit Defines the maximum data size that should be transferred via the mobile network. If the data size is larger than that the WCU will wait until a connection to a local network can be established. The size is in Mbytes.
Post run grace timeout The number of seconds to wait before communicating with the portal, if the ignition is turned off.
Upload timeout The maximum number of seconds the WCU should upload data before stopping.
Erase error code If turned on the error codes in the vehicle will be reset.
Upload data at boot Uploads data when the WCU boots up.
Upload data at ignition off Uploads data when the ignition of the vehicle is turned off.
Upload periodically Uploads data every 10 minutes.

IO

Version >= 2.41 of the portal has a new tab named I/O. You can read more about in I/O_configurations.

Extra bundles

For more information about Extra bundles, click here.

From portal version 2.47 and if the WCU is running 2.47 (or is about to be upgraded to 2.47) there is a new tab "Extra bundles" in the WCU configuration window, see Figure "Edit Configuration: Extra bundles". In the tab, it is possible to select additional software to be installed on the WCU. The installation will start as soon as the WCU fetches the updated configuraton. This tab is only enabled if the current WCU is an MX4.

The Edit Vehicle Dialog

Edit One Vehicle
Edit Several Vehicles

To edit the information about a car, press the “Edit Vehicle” button. The dialog in Figure "Edit One Vehicle" opens up.The one entry you can not edit is the VIN entry. If you need to edit that you must instead create a new car.

In order for the portal to be able to translate Diagnostic Trouble Codes into a human readable format, you must choose a diagnostic DB file to be used. It is important to select the correct one as the diagnostic trouble codes read out might be translated incorrectly or (more probable), not at all. It is also important to select the right type of vehicle using “Vehicle type”. This controls the number of CAN buses and the number of Ethernet networks, if any, in the vehicle. If the selected vehicle is connected to a WCU in a resource group, strict or not, this option is disabled. To enable it it either has to be disconnected from the WCU or the WCU must be excluded from its resource group. The “Active” check box controls whether the vehicle should show up in tables and searches in general concerning cars. A vehicle can never be removed as it has probably been involved in measurements but to recall an inactivated vehicle you must actively select to view inactivated vehicles. However, if the vehicle is connected to a WCU this option will be disabled from editing. In order to deactivate such a vehicle you need to first disconnect it from the WCU. It is possible to choose not to update history vehicles with the provided changes. This option should only used in specific cases and with a well grounded reason.

It is possible to update several vehicles at once by selecting multiple vehicles and then press the “Edit Vehicle” button. By doing this you can selectively make changes to attributes, except for the VIN and plate number, for all the selected vehicles at once. This is achieved using the extended dialog presented in Figure "Edit Several Vehicles". The options which are to be edited for all vehicles must be selected using the corresponding checkbox. If not, the option is disabled, as for instance the "Comment"-option in the "Edit Several Vehicles"-figure.

Add Vehicle Dialog

add car dialog
Add Vehicle dialog
Response dialog when creating a new vehicle

Usually you do not have to create vehicles manually, they are created automatically by the WCU if they are not found. It is possible, however, to create a vehicle manually using the portal by pressing the button "Add Vehicle" in the vehicles panel. By doing so you will be presented with the dialog found on the right. Here you can set a number of attributes. Important to remember is that the field VIN is mandatory and must be unique among all vehicles registered on the portal. From version 2.57 of the portal the checkbox "Generate unique VIN" is present to the right of the input field VIN. By checking that box a unique VIN will be generated once you save the vehicle. The name consists of a prefix, which is centrally preconfigured, and a monotonically increasing integer number. After pressing save you will be presented with the following dialog (in the right below).

Here you have the opportunity to inspect the generated VIN and your other settings. You can either select to dismiss the dialog or go to the result which means that the newly created vehicle will be presented in the table in the vehicles panel.

Upload a Vehicle Import File

It is possible to import a file that describes a set of vehicles. It can consist of both new vehicles and vehicles already in the database that might need to be updated with new information. A vehicle import file consists of a comma separated file where each line describes a vehicle. The first line of the file must look as follows:
VIN,regNr,description,project,protoNumber,tsu,series

There are seven attributes currently. When uploading the file you have a choice of modifying existing vehicles in the portal. If you do not check this box and there are vehicles that already exist, the import will fail.

Show or export SIM card ID

The SIM card ID for a single WCU can be seen when right-clicking on a WCU in the Vehicles tab and selecting "Show info".

SIM card ID's for one or multiple WCUs can also be exported as a csv file. Select the WCUs you are interested in (in the Vehicles tab) and press the button "Export SIM card info" located in the bottom row below the Vehicles grid. The downloaded file will contain five columns: WCU ID, WCU Name, RegNr (Plate nr), VIN and SIM Card ID. 

Upload WCU file

The WCU attributes 'WCU Name' and 'WCU Comment' can from version 2.43 of the portal be updated for multiple WCUs via a comma separated txt/xls/xlsx file. Click the "Upload WCU File" button to open up the import file to upload dialog.

The uploaded file has the following requirements:

  • The file must have two mandatory columns with the names 'WCU ID' and 'WCU Name'.
  • Furthermore, an optional column named 'Comments' can be added.
  • The columns should be in said order.
  • The amount of columns on each row must match the amount of columns in the header.
  • The columns should be separated by using tab or by a comma.

If there is a 'Comment' column and a blank comment on a row then the old comment, if any, for the specific WCU will be kept.

To remove a comment from a WCU simply check the checkbox for erasing comments. Doing so will result in that empty comments in the uploaded file will erase current comments.

Upload a file describing ECU pin codes for a vehicle

Upload of a vehicle pin code file

ECU pin codes can be specific for a vehicle. This makes it possible to create an SWDL assignment for multiple vehicles in one go. In order for this to work you must first prepare all such vehicles by uploading a file describing the different pin codes. When using the button "Upload Vehicles pins" multiple vehicles can be described in one file. The format of such a file is row based where each row should be vin;ecu;pin. The ecu field is the hexadecimal address the ECU. When pressing the button "Upload Vehicles pins" you will be presented with the dialog found to the right.

The context menu choice for uploading a ECU pin code file for a single vehicle.

There is also on option available with a context menu (right click a row) where a singe vehicle is targeted. The format of the file is the same except that no vin should be in the file.

Shelve and Unshelve a WCU

When a WCU is shelved it is disconnected from its car, if connected, and removed from its resource group, if any. In addition all active measure tasks are set to stopped pending and the system label shelving_in_progress is attached. This label will remain until all tasks for the WCU have status Stopped and all gathered measure data is uploaded to the portal after of which the label is replaced by the system label shelving_done. In this final stage it is also possible to unshelve the WCU using the corresponding button and thus removing the shelving_done-label. Note that when a WCU either has shelving in progress or is shelved it is no longer possible to add new measure tasks.

It is possible to "Unshelve" one or multiple WCUs using the "Unshelve"-button in the Vehicles-tab. If the choices does not apply to the set of selected resources the button is disabled. It is possible to unshelve a WCU from any of the existing shelving states; shelving in progress, shelved, shelving refurbish in progress or refurbished. Note that the user must have the role wcu:shelving:write to be able to perform this operation.

Resource Groups

As described above in Vehicles#Resource Groups, you can define a set of resource groups in order to easily handle large groups of resources collectively. An example is if you have 100 WCUs in such a resource group and you would like to edit the configuration for all WCUs. Instead of having to open the configuration for each individual WCU, you simply open the configuration for the resource group, do your edits and when you press save, the configuration will be saved to all WCUs in one go. Resource groups are created in the Resource groups panel, described further below.


Adding Resources to Resource Group

Add a resource to a resource group

To add resources to a resource group you start by selecting the resources you are interested in adding to a resource group.

When you are satisfied with your selection, press the button “Add WCU(s) to resource group”. Pressing this button will show the dialog to the left. The group box will list the available groups. If you know the name of the resource group you can type the name and as you type the box will show names that fit what you type.

The two check boxes requires a deeper discussion. Assume you have a resource group that has been used for some time. A new WCU is registered on the portal and you would like to add that WCU to your group. A common situation is that you would like that WCU to be configured the same way as the rest of the WCUs in the resource group. This is accomplished by checking “Update WCU configuration”. If this requires an update of the WCU software it will automatically be taken care of. Also, a WCU comes pre-configured with a set of modules. Usually you will probably want to update the module configurations as well. In order to do so, it is required that you also update the WCU-configuration.

If you leave the "Update WCU configuration" and/or "Update module configuration" unchecked, that selection of only in this instant. If you later change the resource group configuration (or module configuration), that change will be applied to all resources in the group.


Dialog: WCU Moved to Another Resource Group


Moving a resource between resource groups

In this same dialog it is also possible to move WCUs between resource groups. Just as with adding a WCU to a resource group, select the WCU(s) you wish to move and press the "Add WCU(s) to resource group" button. If a WCU already belongs to a resource group, that resource group is listed in the grid alongside the WCU. Select the desired resource group you wish to move the WCU to, in the group box and press the "Save" button. An information dialog will pop up, informing you that a WCU will move from one resource group to another. Press "OK" to confirm the WCU moving to a new resource group or press "Cancel" to return to the previous dialog.


Adding/Moving WCU to Strict Resource Group.


Requirements for moving or adding a resource to a strict resource group

When adding or moving WCUs to a strict resource group, it is required that the WCU shares the same platform type (and platform subtype, should one exist) and that a car is connected to the WCU (see strict resource groups). Furthermore, updating the WCU-configuration and the module configurations are mandatory and, as such, these options are set and not able to be changed.


Modules for the WCU

Tool configurations.
Selecting Tool Configurations

Each WCU supports a number of modules. The modules are software components realizing specific functions, such as a measurement tool, a data source or software component. Some modules correspond to external measurement devices connected to the WCU, whereas other are built-in. This makes it possible to add new peripherals to the WCU for handling various tasks in acquiring measured data from a car. The set of currently available modules are:

  1. Area5
  2. Audio
  3. Blue piraT
  4. Canrecorder
  5. DLT
  6. DoIP
  7. ETAS
  8. Ethernet capture
  9. GPS
  10. IDC
  11. IPEmotion RT
  12. LPD
  13. M-log
  14. MCD-Hub (deprecated)
  15. MQTT
  16. Rapid Prototyping (RP)
  17. Signal Reader
  18. Smart Eye
  19. Soft-Hub
  20. State of Health (SoH)
  21. Software Download (SWDL)
  22. Uptime
  23. Video
  24. Vinreader

To deal with each module's configuration a new view is presented below. To open this view, press the button “Modules” as shown in Figure "The Administrator's Vehicles Tab" in #The Vehicles Tab. In Figure "Selecting Tool Configurations" there are a set of tools present where each type is grouped on the left side using a stack panel. Show the Signal Reader settings by selecting the Signal Reader stack and select the Canrecorder stack to see the canrecorder settings and so forth.

Each tool has its own entry in each of the stacks. In Figure "Handling Tool Configurations" there is only one MCD-Hub present and it is “0”. Each tool is recognized with a tool ID which is set by the WCU. This ID is usually not descriptive and therefore you have the possibility to set a name of your likings. Change the name by pressing the button “Edit name”. You can also add a description to the tool that shows up as a “tool tip” when hovering over the name of the selected tool. Analogously, change the description by pressing the button “Edit description”. To reload the set of available tools press the “Reload” button.

Below each tool configuration there messages are presented to indicate the module status. The different types of which are presented in Figure "Module Status Indicators".


When a module is selected, or reloaded, it will say "No settings saved". In this mode the save-button is disabled and it will not be enabled until one of the settings is edited. Then the message "Settings not saved" appears until the save button is pressed. When the configuration is successfully saved, the status is updated to "Settings saved" and the Save-button is once again disabled. In addition, if there is a pending upgrade of the tool, this also will be indicated below the configuration panel.

Module status with information on when it was changed and by whom

In addition to the module status indicator above, a date and user will show when the configuration was changed and by whom.

Configure the Arcos Module

Arcos-module
Arcos-module

As of version 2.71 of the portal, Arcos tasks can be created and these are the configurations variables that can be configured:

  • Username
  • Password
  • Frontend number
  • Current firmware
  • Desired firmware
  • Debug level

When configuring the module on a resource group level the username and password will be set on all resources in the resource group. The frontend number however, will not be updated on all the resources but rather retain the individual settings made on each resource.

In order for the "Current firmware" and "Desired firmware" field to show the WCU software version needs to be 2.85.0 or later.

Configure the Area5 Module

As of version 2.61 of the portal, it is possible to create Area5 tasks. The Area5 tool only has one configuration, the debug level, which determines the level of logging during the execution of the Area5 tasks.

Configure the Audio Module

The audio module can be configured both regarding recording and monitoring. The recording settings refer to what is recorded on the WCU to disc to be uploaded, whereas the monitoring settings refer to the parameters used for monitoring live audio.

The available recording settings are:

  • Device, can be set to internal or USB, where default is internal
  • Channels, can be set to either 1 (mono) or 2 (stereo), default is 2
  • Sample rate, can be set to 48000, 44100, 16000 or 8000. Default is 48000. The unit is Hz.
  • Recording volume, can be set to a value between 0 and 100, where default is 95.

The available monitoring settings are:

  • Channels, 1 (mono) or 2 (stereo). Default is 1.
  • Codec, LPCM, GSM or G.711. Default is LPCM (Linear PCM 16 bits per sample, 16 kHz).
  • Destination IP address. This is the address to where the audio is sent for live monitoring.
  • Enable monitoring. In order to monitor audio live for an audio task, the module must be enabled for monitoring. If the task is enabled for monitoring but the module is not, no audio can be monitored live. Default is disabled.

It is possible to have four audio sources simultaneously. To add a new source, simply press the button "Add audio source" and the corresponding settings will appear in a new tab. If there already is an audio source with device set to internal, the new device will have default device USB. However, if there is no previous device set to internal, this will be the default option.

Configure the Blue piraT Module

As of version 2.44 of the portal it is possible to create blue piraT tasks. The blue piraT tool only has one configuration, the debug level, which determines the level of logging during the execution of the blue piraT tasks.

Configure the Canrecorder Module

The configurable settings for the Canrecorder module can be seen in Figure "Settings for the Canrecorder module".

Settings for the Canrecorder module


In the aforementioned figure, it is clear that this panel can be used to edit the speed on both the high- and low-speed CAN-buses. It is also possible to set the date for which the update is valid, the canrecorder version and the debug level.

Configure the DLT Module

For WCUs with software version earlier than 2.72.0 the DLT module have two DLT-specific settings, one for the daemon address and one for the daemon port. Have a look here.

For WCUs with software version 2.72.0 or later, the daemon addresses and ports (several daemons are supported from this version) are instead specified when creating a Diagnostic Log and Trace (DLT) task. The only thing specified in the module is the debug level - the level of logging from the WCU regarding its handling of this task.

Configure the DoIP Module

In figure "Settings for the DoIP module" the configuration for the DoIP module is presented.

Proxy address: The proxy address for the DoIP module.

Proxy port: The proxy port.

ID: The ID of the DoIP module.

Active session: Checkbox to let the DoIP module start announcing an ongoing synchronous diagnostic session. This is typically done by setting a LED on the WCU connected to the vehicle, signaling that a synchronous diagnostic session is ongoing.

The Proxy address should usually be set to the localhost IP address 127.0.0.1 for technical reasons (it will be tunneled) and the proxy port number should usually be 6757. The ID is a textual string that identifies a particular user group that will gain access to the WCUs by configuring the client interface system with the same identifier. (This configuration is done at doipc install time.) All WCUs configured with the same ID will be reachable through the same client system interface. For more information see Remote Diagnostics over IP (DoIP).

Settings for the DoIP module


Configure the ETAS Module

In Figure "Settings for the ETAS module" the configuration panel for the ETAS module is presented.

Settings for the ETAS module


This panel can be used to change the username and password as well as the debug level.

Configure the Ethernet capture module

Settings for the Ethernet capture module

The only available setting here is debug level.

Configure the File fetcher module

The only available setting here is debug level.

Configure the GPS Module

Settings for the GPS module

There are four settings involved:

  1. Enable GPS. Sets whether the GPS should be enabled or not. If you disable the GPS all the other settings will also be disabled.
  2. GPS sampling interval. Sets the position sampling interval in seconds.
  3. GPS monitor enabled. If this setting is enabled the WCU will continuously send its GPS position to the portal enabling real-time monitoring of the whereabouts of the WCU.
  4. GPS monitor interval. Set how often the position will be updated. The interval is in seconds.

Configure the IDC Module

The IDC module can be configured with which CAN bus to communicate with the vehicle. You can actually even choose both where it will first try the Ethernet network (ETH), if it exists, and the CAN bus. If the car type in question does not have an Ethernet network, only the CAN option will appear.

Settings for the IDC module

From version 2.68.0 another option also exists where the file output format can be set.

Configure the IPEmotion RT Module

The IPEmotion RT module can be configured with SFTP port, username and password.

Configure the LPD Module

The LPD module can be configured with a list of usernames. Each "Username" field represents one username in that list. Use the button next to the field to add another username.

Configure the M-log Module

Settings for the M-log module
Settings for the M-log module

From version 2.75.0 of the M-log module there are two more fields present. They are "Current firmware" which is the last known firmware for the M-log logger. "Desired firmware" consists of a drop-down list a out-of-band firmware files present on the portal. Select one the files and the WCU will try to apply the firmware upgrade to the M-log as soon as possible.

Configure the MCD-Hub Module

The MCD-Hub module is deprecated and should not be used anymore. The configuration for the MCD-Hub has only two settings. The first is the MCD-Hubs IP address and the second is is “MCD-Hub firmware version” which shows the current version used by the hub. The other two configuration settings are the preferred firmware version and the second is “Last configuration update date” which states when the MCD-Hubs current configuration was brought into action. When you are done with your configuration you save it by pressing the “Save” button. If you for any reason need to reload the configuration, press the “Reload” button.

Configure the MQTT Module

The available settings for the MQTT Module is presented in Figure "Settings for the MQTT module".

Settings for the MQTT module


This panel can be used to define an alternative host for the MQTT broker. Default is, as displayed in the illustration, localhost. Here you can also change the debug level for the module.

Configure the RP Module

For this module it is only possible to configure modify the debug level, see Figure "Settings for the RP module".

Settings for the RP module


More information on how to use the RP module is found in the WICE RP Manual and the WICE RP How-To.

Configure the Signal Reader Module

Settings for the Signal Reader module
Settings for the Signal Reader module

As of version 2.33 of the WCU software it is possible to monitor signals in real time. For this to happen you must enable the feature by checking the box “Enable monitor” illustrated in Figure "Settings for the Signal Reader module". The monitoring can either be set as asynchronous or synchronous. In the former case, there is a regular signal communication with the portal and in the latter case with a specified destination port. For the synchronous case it is also possible to specify which transport protocol to use: TCP or UDP. The monitoring rate for both cases is set using the "Interval" field, where the default is once per second.

Also here it is possible to define the debug level. Further, the module settings include selecting whether or not the MDF files are to be written upon recorder stop and the version of the generated MDF file. In the sampling section there are two main choices; whether or not to record samples on change and enabling/disabling of piecewise linear approximation (PLA). If samples are to be recorded on change, it is possible to also choose to include one sample before the change. With the choice of PLA comes the option of defining the error percentage for the signal range and the maximum segment length in number of samples.

Thereafter you can select whether to aggregate ReadDataByIdentifier (service 22) diagnostic requests and which channel that should be used as the default diagnostics channel. Default interface can be CAN or DoIP and will affect the assignment that has the interface "Default Channel" selected and also the DREC. It is also possible to enter appropriate values for the diagnostics timeout. The timeout values determine how long time to wait for diagnostic responses before assuming that there are none. Typically, the timeout for sequence file diagnostics is set to a higher value due to the fact that it doesn't negatively impact the update frequency of active (diagnostics) signals.

From version 2.88.0 it is possible to select the MDF4 format when logging frames.

Configure the SmartEye Module

The configuration for this module is identical to that of the RP module, depicted in Figure "Settings for the RP module".

Configure the Soft-Hub

As for the RP and Smarteye module, its only editable parameter is the debug level using a panel as displayed in Figure "Settings for the RP module".

Configure the State of Health Module

The state of health module has the same settings as the IDC module above.

Configure the Software Download Module

The SWDL module has the same settings as the IDC module above apart from one difference highlighted in red in Figure "Settings for the Software Download Module".

Settings for the Software Download Module


For WCUs of version 2.53 and forward it is possible to allow updates to be performed without manual interaction by checking the high-lighted checkbox. If this option is chosen, the updates will instead be performed as soon as possible.

Configure the Uptime Module

This module is used to report how much and how long the WCU is running and its configuration is set using the panel displayed in Figure "Settings for the Uptime Module".

Settings for the Uptime Module


First of all you can enable/disable the functionality all together with the “Enabled” checkbox. Next is how often the up-time should be logged in seconds. The second check box, “Monitor enabled” is used when you would like the module to report its up-time in real-time and the interval for that, also in seconds.

Configure the Video Module

A description of how to configure the video module can be found here. An explanation of the module in more general terms is found in the WICE video section.

The video module can be configured both regarding the recording and the monitoring. The recording parameters refers to what is recorded on the WCU to disc to be uploaded, whereas the monitoring parameters refer to the live video that is streamed from the WCU.

The available recording settings are:

  • Width, which is the width in pixels of the recorded video.
  • Height, which is the height in pixels of the recorded video.
  • Frame rate, which is the number of video frames per second to be recorded.
  • Codec, which is the video codec used when recording video clips to disc. Avaliable codecs are JPEG and VP8. (Note that the video that is uploaded to the portal is typically transcoded to MPEG-4 format, and codec only refers to the recording phase in the WCU.)
  • Clip size, which is the size in seconds or bytes of clips recorded on the WCU. The clips are subsequently concatenated on the Portal, if needed.
  • Clip unit, which is the unit for the clip size setting (bytes or seconds).

The available monitoring settings are:

  • Enable monitoring, which enables or disables monitoring of video.
  • Width, which is the width in pixels of the monitored video.
  • Height, which is the height in pixels of the monitored video.
  • Frame rate, which is the number of video frames per second to be recorded.
  • Codec, which is the video codec used when streaming monitored video. Avaliable codecs are JPEG and VP8.
  • Destination IP address, which is the IP address to which monitored video is transmitted.

There is also a setting for rotating the video, to be used if the camera is installed upside-down or at a 45 degree angle.

Configure the Vinreader Module

Settings for the Vinreader module
Settings for the Vinreader module

The method of reading a vehicle's VIN (Vehicle Identification Number) can be set to SPA29, OBD2, SPA11, BP, TEA2+, UDS, DoIP or FIXED. The preferred setting for this is OBD2, whereby a standardized OBD-II diagnostic service is used to read out the VIN. SPA29 and SPA11 refers to using CAN diagnostic requests using either 29 bit or 11 bit SPA addressing respectively. The CAN channel (on the WCU) is selected in 'Default CAN channel'.

When the setting FIXED is used, the VIN will not be read out from the vehicle using a diagnostic service, but rather a preset value entered in the item named 'Fixed VIN' is used.

Vehicle ID method type
Vehicle ID method type
No identifying label selected
No identifying label selected
Audio module settings

'Save VIN' is a checkbox for save vin. As default the box is checked which means that it will save the VIN number if the WCU can successfully read it. If the 'Save VIN' is unchecked then the WCU will try to read the VIN number every time it boots.

There are currently two ways of identifying a vehicle, either by reading the VIN or the chassis number. The selection is shown in Illustration 'Vehicle ID method type' to the right. When using 'Chassis NO' as identification type you must select which valued label to use for this mechanism. If no such label has been selected, you will see the the text 'No label selected in backend' to the right of the selected type, see Illustration 'No identifying label selected' on the right. To select which label to use, head over to the label administration tab to make the selection.

The Administration Tab

This tab is a collection of the administrative tasks available in the portal. These are “Connect car to WCU”, “Archives”, “GDS/SDDB file”, “Resource Groups”, “Users”, "Labels", "WCU Status" and "Key Figures".

The Connect Car to WCU Tab

To archive which vehicle a specific WCU was in at the time a task was run can be done by connecting a vehicle to a WCU in this tab. This is usually done automatically but in some situations it is necessary to do this manually

The area is divided into two tables, one for searching WCUs, the left one, and one for searching vehicles, the right one. When you start typing the name of the WCU you are looking for in the upper left corner just above the table, matching WCUs appear in the left table. To find the vehicle you are looking for, you do the same in the right table but here you have the option of using either the VIN or plate number.

To connect a WCU with a vehicle you drag the WCU you would like to connect onto the vehicle in the right table. When you drop it onto a car a small icon will show signifying that the WCU and vehicle are connected.

From version 2.42 it is also possible to select a WCU and a Car and then click on the new "Connect" button located between the two grids.

To disconnect a WCU and car you simply press the icon for wither of the WCU or car. See Figure "Connect Cars to WCU" for an example.

Connect Cars to WCU


The connection is a sort of instantaneous carbon copy of the situation at the time that a task was created. If you later change the connection, already running/run tasks will not be affected.

The Resource Groups Tab

This tab is used to administer some parts of the creation and destruction of resource groups and more. The panel for administering the resource groups is depicted in the Figure "Resource Group Tab".

Resource Group Tab


At the top is a search field to search for resource groups. Next are two tables, side by side. The left table lists the resource groups found depending on your search criteria. When a resource group is selected, the resources that are part of the resource group are shown in the right table. Next, the functionality of the buttons will be covered.

Add and Remove Resource Groups

Add Resource Group Dialog

To add a resource group you simply press the “New resource group” button and the following window will show. Here you can type the name for the new resource group, set the resource group as strict (see Strict Resource Groups) and, if you choose to set the resource group as strict, set what platform type and platform subtype it should have. When you feel satisfied with your selections press “Create” to create the resource group. If you change your mind, press the “Cancel” button. Resource groups are global and writable and that means that names must be unique. The reason for this is that a resource group name takes on the form as both the resources car and WCU and those must be unique and therefore the resource groups must also be unique. One can, however, imagine situations where this must not be enforced but at the moment this is the case.

To remove a resource group, press the “Remove resource group” button. Be aware that no warning is given if there are resources in the group when removing it.

Default labels

Default labels are a group of labels that will be connected to WCU or/and vehicle when wcu joins the resource group. These labels will not affect current WCU/Vehicle in the resource group. To edit the set of labels press the “Edit default labels” button. New window will show. Read more about the edit default labels window here.

Approved Assignments

You can require that assignments must have been reviewed and approved before they can be applied to a resource group by checking the box "Require Approved Assignments". If an assignment does not meet these criteria, the assignment will not be applied to the resource group. Read more about the assignment review process here.

Manipulating Resources in a Resource Group

In the right hand table in Figure "Manipulating Resources in Resource Group", you see a set of resources for a resource group.

Manipulating Resources in Resource Group


Here are both WCUs and cars part of the group. In addition to the type there is a column named “Status”. That column only applies to WCUs. The use of this column is as follows. Assume you have a resource group consisting of 50 WCUs. Further, lets make a configuration change to that resource group. Depending on where the WCUs geographically are and how they are used the WCUs will be updated at different times. How do you you know when all WCUs are up to date in the resource group? You could check them individually in the “Vehicles” panel but that is not very elegant and time saving. Instead, just watch the “Status” column for the WCUs. When a WCU is up to date with respect to the group configuration the color in the column will be green. The value is updated each 30 seconds.

The different color values are:

Red

The WCU's configuration was edited after the resource group's configuration was saved. The WCU will never use the resource group's configuration.

Yellow

The WCU's configuration is the same as the resource group's but the WCU has not yet updated to this configuration.

Green

The WCU has updated to the resource group's configuration.

You can remove individual resources from a group by selecting the resource and then press the “Remove resource” button.

Yet another button remains and it is the button “Base Group on Resource”. When you add a WCU to a resource group in the “Vehicles” panel you have the option of not updating the WCU configuration to match the one of the resource group's, see Figure "Dialog: WCU Moved to Another Resource Group" in #Resource Groups. Using this function it is possible to base the whole group on a WCU's configuration rather than the group's configuration.

The Vehicle Profiles Tab

This tab is further described here.

The Alarm Tab

This tab is further described here.

The User Tab

Illustration46.pngThe basic layout of the areas is just the same here as before. At the top you have a search area, in the middle is a result are and at the bottom are a set of buttons. The tab with a set of example users is in the Figure "User Administration Tab". The nine columns are:

  • User ID. The unique ID that the user must enter when logging in.
  • Name. The name of the user.
  • Roles. Depending on which roles the user has to, he/she have different privileges. The roles are non-overlapping, i.e. being an “Admin” does not necessarily mean that you can do everything a “User” can do.
  • Enabled. Tells whether the account is enabled or not.
  • Email Address. By registering an email address a user can receive notifications via email from a WCU when certain event occurs.
  • Last login date. The date when the user last logged in.
  • Two factor auth. Whether the two-factor authentication is turned on for a particular user.
  • Logged in. You can see if the user is currently logged in.
  • Creation Date. The date of when the user was created. Only visible on users created after December 3 2020.

At the bottom there are eight buttons. They are:

  1. The “New” button brings up the “New User” dialog which adds a new user to the portal
  2. The “Edit” button brings up the “Edit User” dialog
  3. The “Change Password” button brings up a dialog to change a user's password.
  4. The “Create new secret” button. Pressing this generates a new cryptographic salt to be used when generating one-time passwords. If you do this for a user without enabling the possibility to see the secret on the next login, renders the user unable to login to the portal. No dialog is opened, simply a message saying that a new one has been generated is shown.
  5. The “Show secret” button. Shows a dialog with the cryptographic salt shown in clear text as well as the QR-code, more on this later.
  6. Edit roles and permissions
  7. The “Save headers” button. Saves the headers and their order to be used as default on later logins.
  8. Video. Start a video conversations with another user of the portal. You must have the software “Confero” installed for this to work.

The New User Dialog

By pressing the “New User” button the dialog appears as presented in Figure "New User Dialog". Mandatory fields are User ID and the two password fields. Remember that the User ID must be unique and you will be notified if it is not. Add the roles that you want the user to have by moving roles from the left list to the right. You can hover each role to view more information about them. Click the “Add” button to add the user or change you mind by clicking “Cancel”. If you click "Add" and the roles you have selected gives the user access to some wcus tasks, you will also be prompted about giving the user access to currently running tasks on these wcus as well. This can also be done when editing the roles of a user.

Once the new user has been created, that user is granted a default minimalistic view in both the Tasks- and Vehicles-panel. This mechanism exists to prevent new users from being overwhelmed by the large amount of columns available in these panels. Instead, they are only presented with the most important columns, with the option to see more columns if they want to. The default columns for new users are:

  • Tasks panel
    • Task ID
    • Assignment name
    • Assignment type
    • WCU ID
    • Status
    • Task creator
    • Creation date
    • Resource group
  • Vehicles panel
    • WCU ID
    • VIN
    • WCU comment
    • WCU software version
    • WCU connection time
    • Resource group
    • Active alarms
New User Dialog
Prompt to give user permission to currently running tasks on specified wcus


The Edit User Dialog

You can at any time modify a user by pressing the “Modify” button to bring up the dialog in Figure "Modify User Dialog". The User ID cannot be changed. A disabled account can not be used for logging onto the portal even if the correct user name and password are given. To modify the user roles, select or deselect a role by using the check boxes. To turn on two-factor authentication for a user, check the appropriate box. When you are satisfied with your modifications, press the “Save” button to make them permanent on the portal or press the “Cancel” button if you change your mind.

To enable two factor authentication, tick the check box “Enable two factor authentication”. This will force the user to add another special one time password in addition to the account password when logging into the portal. The one time password is generated by a program on either your computer or if you want to you can install it on your smart phone which is probably the best solution. The program that generates one time password is based on a cryptographic salt and the current time. The cryptographic salt is randomly generated by the portal and is individual for each user. A secret can at any time be regenerated for a user which will render the user unable to login if you do not tick the check box “Show the secret to the user on their next login”. Advice the user to install "Google Authenticator" on their phone before they login to the portal for the first time as the secret will only be shown once and must be installed in the authenticator app at that time.

Just like when adding a new user, you can give or remove roles to the user by clicking "Edit user roles" and moving roles from the left list to the right and vice versa. If you edit the user roles to add some wcu task permission to the user, you will also here be prompted about giving the user access to currently running tasks on these wcus as well.

Modify User Dialog


The Change Password Dialog

To change a user's password, press the “Change Password” button and the dialog below will appear. It is pretty straightforward as you type in the new password in the “New password” entry and you need to confirm it by typing it again in the entry below it. If you are satisfied, click the “Change” button or the “Cancel” button if you decide not to change the password.

Change Password Dialog


The Show Secret Window

QR-code Window

A QR-code is shown that can be transferred to a smart phone by simply starting the authenticator app (we recommend using "Google Authenticator"), point it at the screen and let the phone read the QR-code. An example of such a QR-code can be seen in Figure "QR-code Window". If the application that is to be used as a password generator do not support QR codes, the secret is shown in clear text at the top.

Edit User Roles and Permissions

Here it is also possible to edit user roles and permissions, read further instructions here.

The Labels Tab

This tab is used to administer labels. Here you can enable/disable labels, rename labels which are not system labels and it is possible to make private labels global. If the feature is enabled at your site, it is also possible to configure label announcements here.

More about these functions can be found in Administer Labels.

The WCU Status Tab

From version 2.47 the WCU status tab has changed. See WCU Status.

The Following applies to portal version 2.46 and older:

This view is supposed to be used for supervising a set of vehicles. The supervision is done in real time and the values for the set of vehicles are updated as soon as they arrive on the server from the different vehicles.

The set of status information collected comprises three parts:

General information:

  • Alive, a heart beat signal
  • Connectivity, what data rates are currently available to the vehicle.
    • 4G
    • 3G
    • 2G
    • none
  • Cell Signal Quality (CSQ). Indicates the signal strength of the mobile modem. The values are between 0 – 31, the higher the value the better. The special value of 99 is designated an unknown or not even detectable signal.
  • GPS, simply a binary indicator of fix or no fix for the GPS.

Data Storage Usage:
This set of data informs how much collected data resides in the WCU for each type of data collector (module). Total data indicates how much of the total amount of data storage available is used. After that, each type of data collector is lined up.

Data Collection Status:
When modules collect data they go through a set of states when triggers starts, stops and other events occur. Currently, only such events for the signal reader module is available. An optional message accompanying the current state is shown in parenthesis.

The screen is divided in two parts, on the left hand side is a table with search functionality for finding the vehicles of interest and on the right hand side is the monitored vehicles. To monitor a vehicles you search for it in the table and then drag and drop the vehicle on the right hand panel.

A view of the panel is depicted in the Figure "WCU Status Tab".

WCU Status Tab


The Key Figures Tab

In this tab it is possible to view charts over recorded statistics for the portal. More about this option is found under Key Figures.