Contact us
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Individual Naming of Logging Data Files with MLserver

Last updated: 2017-10-12
Question:
How can I get logging data files exported with MLserver having recording date/time or vehicle names in their filenames?
Answer:

Use the CLexport.exe option CLexportHandler (cf. CLexport.exe call without parameters):

CLexportHandler=C:\x\MyHandler.bat specifies a local rename handler.

Therefore create a batch file and pass its path in the clexport.exe option. E.g. you can create the batch file in the MLserver root data directory, i.e. the folder above all readout folders and vehicle folders.

 
Clexport.exe calls the batch file after each exported destination file and passes information about the just exported logging file as arguments. The batch file can use these arguments to rename the logging file as desired. E.g. to rename the logging file by vehicle name and recording date/time the batch file could be like this:

@echo off
echo .
echo Param 1 = original file      : %1
echo Param 2 = data file folder   : %2
echo Param 3 = CLF file base name : %3
echo Param 4 = car name           : %4
echo Param 5 = recording date/time: %5
echo Param 6 = recording index    : %6
echo Param 7 = split file number  : %7
echo Param 8 = file extension     : %8

set target=%4_%5_%6
if NOT "%7" == "1" set target=%target%_Part%7
ren %1 %target%%8

 

 
Article Options
2017-10-12
Views: 79
Rate this article:  
Error(s) occurred processing form.
Please complete all required fields. Fields marked with * are required.