# ProbeQualificationViewer – User manual ## 1. Overview and help ProbeQualificationViewer imports probe qualification results from CSV or TXT files, displays a read-only table, filters records by date and exports them to landscape PDF. The main window starts maximized. Choose German, English, Italian, Spanish, French, Polish or Czech under **Settings → Language**. The language is saved and takes effect immediately. **Help → Open release notes...** opens the version history; **Help → Open user manual...** opens this manual. The release history is in `ReleaseNotes.md`; user manuals are provided in language-specific files beside the executable. Both documents open with the Windows default application for `.md` files. If opening fails, check the file and Windows file association; the error dialog provides details. ## Starting with arguments For example, in PowerShell: ```powershell & '.\ProbeQualificationViewer.exe' 'C:\Data\one.csv' 'C:\Data\two.csv' --table-pdf 'C:\Reports\table.pdf' --trend-pdf 'C:\Reports\trend.pdf' & '.\ProbeQualificationViewer.exe' 'C:\Data\one.csv' 'C:\Data\two.csv' --combined-pdf 'C:\Reports\report.pdf' ``` The input paths are imported automatically. `--table-pdf` and `--trend-pdf` are independent and optional; each requires an output path. Alternatively, `--combined-pdf` puts the tables and trends into one PDF instead of using the two separate output options. At least one input file is required. Relative paths are resolved against the current working directory. `--` ends option parsing so subsequent filenames may begin with `--`. Starting without arguments is unchanged. Separators are detected as when selecting files; ambiguous or conflicting field separators or conflicting decimal separators prevent automatic import. If no decimal separator is detected, the saved one is used; invalid values are reported on import. The table and trend pages include all imported data regardless of the saved date filter and use saved PDF, column and formatting settings. The trend section has one page per eligible probe-tip combination (at least two records and one chart value); skipped combinations are reported. Export fails if there is no eligible trend or the table is empty. Existing output files and inputs are never overwritten, and separate output paths must differ. Errors are displayed. If a requested export fails preflight validation, neither export starts. Separate exports run sequentially; if the second fails, the first remains. The combined PDF is written as a single file. By default the application stays open. With `--exit-after-export`, it closes after all requested PDFs are successfully exported; the option requires at least one PDF output. It stays open on import or export errors. Warnings about skipped combinations must be acknowledged first. PDFs are not opened automatically. The displayed data still uses the saved date filter. ## 2. Select and import a file Use **Browse...** to select one or more files, or drag multiple files onto the window including the table. Folders are not accepted. Typing a path still refers to one file and does not start importing. After Browse or drag and drop, the application detects the field separator from each header and the decimal separator from up to the first 50 records in each file. Supported field separators: semicolon (`;`), comma (`,`) and tab. Decimal separators: point (`.`) and comma (`,`). All files must use the same separators to be combined. If both are unambiguous and match across every file, import starts automatically and combines the records. Otherwise check or change the detected or saved separators under **Settings → Settings...**, click **Save**, then click **Import**; files with different separators cannot be combined. Initial defaults are semicolon and decimal point. The settings dialog also contains the date format, time format and decimal places. **Save** applies the selections; **Cancel** discards changes. Import runs in the background (wait cursor; Browse, Import, the settings dialog and drag and drop are disabled meanwhile). Previous results are replaced only after all files were read successfully. If importing fails, an error appears and the previous table remains unchanged. Files are read as UTF-8 (with or without BOM), otherwise as Windows-1252. After success, the table shows read-only results; numbers are right-aligned, column widths fit their contents and the status line shows the imported count. ## 3. Filter results The **Filter** area contains **Date range**, **Weeks** and the probe filter for the table and trend. The **Date range** applies to the table, trend and PDF export: | Option | Included records | | --- | --- | | **All** | All imported records. | | **Today** | Today's date according to the local computer. | | **Current calendar week** | Monday through Sunday of the current week. | | **Previous calendar week** | Monday through Sunday of the completed previous week. | | **Last X weeks** | The last `7 × X` calendar days including today. Set **Weeks** from 1 to 5200; future dates are excluded. | Dates are compared in the computer's local time; a timestamp with a differing offset is converted. X = 1 is a rolling seven-day period ending today, not a calendar week. The status shows the applied range and matching count. No matches means an empty table and disabled PDF export. Changing the filter updates loaded records without re-importing and saves the selection. Within the **Table** tab, each `QualificationAlgorithm` has its own subtab. Each table contains only records using that algorithm. Parameter columns are hidden when no value was imported for that algorithm. The date-range filter applies to all algorithm tables. Under **Settings → Settings...**, **Decimal places** sets the number of decimal places shown for all numeric values in the view (0 to 10); values are rounded mathematically, with midpoint values rounded away from zero. The setting also applies to chart axes, trend labels and tooltips, is saved, and affects trend PDF output. Open **Probe name** in the **Filter** area to check one or more probes. **All** clears the selection and makes every probe available; clicking a probe afterwards starts a new selection. If no probes are checked, the view is empty. The selection limits the table and algorithm subtabs in addition to the date range; only selected probes and their tips are available in the trend. The filter also applies to table and trend exports, including combined PDFs. On the next import, selected probes that are still present are retained; if none remain, the filter resets to **All**. An explicitly empty selection stays empty. The filter is not saved permanently. Click a column header to sort its algorithm table; click again to reverse the direction. **Date** also sorts by time within each day. **Probe name** keeps each probe's tip names together, in the same sort direction. **Tip name** sorts records for each tip by date and time ascending, regardless of the tip sort direction. Explicit sorting replaces the initial reference/master probe priority in the table. Changing the date range or probe filter, or importing again, resets the table sort. ## Probe and tip trend Open the **Trend** tab next to the table and select a probe and its tip. The tip list contains only tips belonging to the selected probe. The **Offset (X/Y/Z)** chart displays X, Y and Z in separate panels with independent value scales, making small variations visible even when absolute values differ. The second chart normally shows **Form** over time; for `LineLaserQualification`, it shows **Standard deviation** instead. Both charts use the selected date range and require at least two records for the selected probe and tip; missing values are not plotted. Records are ordered by timestamp and spaced evenly regardless of the time intervals between them. Timestamps are rotated by 45° below the axis; when many records are present, labels are thinned to avoid overlap, not data points. Each curve has enough vertical space for its axis values; scroll the trend if necessary. This also applies to the rendered trend charts in PDFs. Hover over a point to see its series, timestamp and value. The form chart shows form values from all matching records, including records without offsets. When multiple calibration algorithms are present, each has its own labeled form curve, value scale and thresholds; points from different algorithms are not connected. The offset chart uses only records with at least one offset component (X, Y or Z). Both charts share the same chronological X-axis, so values with identical timestamps line up vertically. Points are spaced evenly by record order, not elapsed time. Offset points are connected across records without offsets. The same rules apply to the trend PDF. Standard deviation for `LineLaserQualification` and `MaxErr` for `FastCal` are unchanged. When `scanningRadiusDeviation` values are available, for example for TactileDynamic, an additional scanning radius deviation chart appears between the offset and form or standard deviation charts. It uses the selected date range and shared time axis and is included in the trend PDF. Missing values break the curve; values from different algorithms are shown separately. Points where `Form` exceeds `FormDeviationThreshold`, or `StandardDeviation` exceeds `StandardDeviationThreshold` for `LineLaserQualification`, are red in the chart and trend PDF. Equal values or missing thresholds retain the normal point color. This is independent of the table PDF threshold highlighting setting. ## 4. Configure columns Open **Settings → Configure columns...**. **Display** and **PDF** have independent column selections and orders. Check/uncheck columns and use **Move up** / **Move down**. At least one column must be selected on each tab. **Display → PDF** or **PDF → Display** copies the entire selection and order, replacing the destination configuration. **Save** applies and permanently saves changes; **Cancel** discards everything, including copied layouts. Configuration is available before importing. Reference/master probes appear before other probes in the initially unsorted table and in the PDF, including within date groups. Case-insensitive matching searches at the beginning of a word in `ProbeName` for `REF`, `Referenz`, `reference`, `riferimento`, `referencia`, `master`, `maestro` or `maestra`, regardless of interface language. Words are split at characters that are not letters or digits and at lowercase-to-uppercase transitions (`TasterMaster` matches, `Grandmaster` does not). Equal-priority records retain relative order. ## 5. Export and open PDF The PDF controls are grouped in **PDF export** above the table and trend. At narrow window widths this area scrolls if necessary. Set the date and time formats under **Settings → Settings...**; both also apply to exports. After successful import with at least one matching record, choose: - **PDF paper size:** A4 or Letter, both landscape. - **PDF grouping:** none, probe name or date. Each group starts on a new page. Group headings appear even if the corresponding column is excluded. - **PDF threshold highlighting:** no highlighting, red text or underlining. `Form` is highlighted only above `FormDeviationThreshold`. For `LineLaserQualification`, the same applies to `StandardDeviation` and `StandardDeviationThreshold`. Equal or missing values or thresholds are not highlighted. The threshold column need not be included in the PDF, but the measurement column must be. - **Date format:** system format, `YYYY-MM-DD`, `DD.MM.YYYY` or `MM/DD/YYYY`. - **Time format:** seconds with available fractions, `HH:mm:ss`, `HH:mm`, `hh:mm:ss AM/PM` or `hh:mm AM/PM`. Midnight is `12:00 AM`, noon `12:00 PM`. Enable **Combine table and trend in one PDF** beside **Save as PDF...** to export both sections to a single PDF. The selected date range applies; the trend PDF scope is automatically set to **All probes and tips** and cannot be changed while combined export is enabled. This option is saved; export is available only when table data and an eligible trend are both present. Click **Save as PDF...**. On the **Table** tab, the PDF includes every algorithm subtab for the selected date range. Each algorithm is a separate section with a heading; the configured PDF grouping is applied within each section as well. Selected, populated PDF columns are used in their configured order, independently of display columns. Each page shows the first imported filename (with an indication of the number of files when several are combined) and column headings. For export from the **Trend** tab, choose **Trend PDF scope** in **PDF export**: the current probe and tip, all tips of the current probe, or all probes and tips. Each exported combination gets its own page with both charts and names. The selected date range and paper size apply; PDF columns and grouping apply only to the table. Threshold highlighting applies to the table and table PDF; trend highlighting is independent. Each combination needs at least two records and one chart value in the date range. Ineligible combinations with records in the range are listed before export; you can continue with the others or cancel. Export is disabled if no combination is eligible. The suggested filename contains the source name and date/time in the chosen formats; a single trend adds `_ProbeName_TipName_Trend`, all tips of one probe add `_ProbeName_AllTips_Trend`, and all probes add `_AllProbes_Trend`. The PDF title and filename use local system time at save confirmation without fractions. Invalid Windows filename characters become hyphens. Confirming an unchanged suggestion refreshes its timestamp; custom names are preserved. Existing destinations require confirmation. The source file cannot be overwritten. After saving, choose **Yes** to open the PDF in the Windows default PDF application, or **No** to leave it closed. Opening errors are reported without removing the saved PDF. ## 6. Saved preferences Preferences are stored for the current Windows user. Without input paths as startup arguments, the last successfully imported file paths and separators return at startup, but the files are not imported automatically. When several files are selected, the selection shows their count and the tooltip lists all paths. Language, date/time formats, decimal places, filter, confirmed column configuration, PDF paper size, grouping and highlighting are saved when changed. The output location is saved after successful PDF export. Each export suggests a fresh timestamped filename. ## 7. Result file requirements Text-based `.csv` and `.txt` files are supported; extensions do not determine their format. The first row must contain these headers, in any order and without case sensitivity: ```text time_stamp;probe_name;tip_name;sphere_name;sphere_diameter;MoveSpeed;Retract;ShrinkElevationAngle;form;offsetActualX;offsetActualY;offsetActualZ;qualificationAlgorithm;quality;radiusDeviation;sigma ``` `FormDeviationThreshold`, `UseTraxResultsIfAvailable`, `scanningRadiusDeviation`, `scanningStandardDeviation`, `StandardDeviationThreshold`, `maxError`, `meanError`, `minError`, `numberOfPoints`, `standardDeviation` and `max_err` are optional columns and may be absent. Values in these columns and in `MoveSpeed`, `Retract`, `ShrinkElevationAngle`, `form`, `offsetActualX`, `offsetActualY`, `offsetActualZ`, `quality`, `radiusDeviation` and `sigma` may be blank in individual rows; the headers listed above remain required. Extra columns are allowed. Every data row must have the header's field count; header names must not be empty or duplicated. `probe_name`, `tip_name`, `sphere_name` and `qualificationAlgorithm` cannot be empty. Numbers use the selected decimal separator. Quote fields containing the field separator with double quotes. If comma is both separators, write `0,25` as `"0,25"`. A double quote inside a quoted field is doubled (`""`). Timestamps retain their date, time and offset; table and PDF show separate date/time in the computer's local time. Display formats never alter imported values.