marekf
8c77df207a
<Feat>: Add universal NLog diagnostics and improve AppDiagnostic UI
...
Cause:
- Live diagnostics required logging from multiple applications without blocking TBF.
- Shared nlog.config files caused configuration conflicts.
- The original viewer lacked configurable colors and practical log controls.
- Inconsistent diagnostic deployment caused log transfer failures and locked shared DLLs during builds.
Solution:
1. Added universal diagnostic transport
- Added AppDiagnostic.Logging with an NLog target and named-pipe communication.
- Added background buffering and automatic reconnection.
- Registered the diagnostic connector programmatically.
2. Separated diagnostic window lifecycle
- Run AppDiagnostic as an independent process.
- Activate the existing window on repeated launches.
- Keep TBF running when the diagnostic window closes.
3. Corrected diagnostic deployment
- Copy the complete diagnostic output into a dedicated AppDiagnostic subdirectory during build.
- Overwrite existing deployment files to prevent inconsistent versions.
- Validate and launch the executable from that subdirectory with an explicit working directory.
4. Improved the log viewer
- Added configurable substring colors with a palette and live preview.
- Added text, level and application filters.
- Added line wrapping, clipboard actions and log export.
- Added Pause/Resume, Refresh, Clear, auto-scroll and Always on top.
- Added connection and log counters.
- Persist color rules between sessions.
5. Removed legacy dependencies
- Replaced LiveLogCache with structured diagnostic storage.
- Removed AppDiagnostic dependencies on log4net and SharedComponents.
Validation:
- Confirmed successful log transfer when launching AppDiagnostic from TBF.
2026-09-10 17:45:29 +02:00
michal
a997c3d7be
iPerl ASIC - implementation
2026-03-12 14:50:47 +01:00
marekf
4a2d4772d7
Add new icon to forms of application
2026-03-04 18:48:46 +01:00
michal
42002e3fa4
iPerl Fixes
2025-10-27 11:49:42 +01:00
michal
a2c564d789
polishing - work now
2025-10-18 09:59:07 +02:00
michal
efd0515295
Patch applied - Added new calibration-related properties for IPERL mode, integrated AppDiagnostic functionality into UI, and updated project configuration.
2025-09-07 17:42:26 +02:00
michal
021beeb47f
GroupPrinter - print in separate files/printers
2024-02-12 21:41:25 +01:00
michal
f0d26a36be
reformating
2024-02-04 10:06:41 +01:00
Milan Hanajik
026a95e3ac
Languages clean-up, MainWnd.pl.resx is not used anymore.
2023-11-07 17:31:43 +01:00
Milan Hanajik
1c5bf76bb3
Changes for nanjing : iPerl.CycleBeginningForm and S640CommForm bug fixes.
2023-09-20 12:27:57 +02:00
Milan Hanajik
abd68f9a44
BatchNr is displayed in MainWnd status bar.
2022-10-28 15:04:07 +02:00
Milan Hanajik
f1f662a419
Common..CurrentUser static class with Stack<UserAndForm> userStack, Change( ) and Restore( ).
2022-05-25 15:23:55 +02:00
Milan Hanajik
955e55f327
BenchInfo component is loaded and TBF.Data.SetData( ) is called in Program.Main(.) before MainWnd is created.
2022-05-04 12:38:12 +02:00
Milan Hanajik
c5db2c0138
SchematicDrawing.IDrawingItCmpntWithCustomBmp and several bitmaps added, ver. 3.1.1886
2022-04-26 16:53:10 +02:00
Milan Hanajik
fd35f20501
ProcessTabPageCtrl schem. diag. OK, Bridge.StateMachineTickHandler exception handling changed
2022-04-15 13:40:00 +02:00
Milan Hanajik
10b17c250c
More logging in DataEntry.S620.FormForMechanicalMetersWithTracing, etc, ver. 3.1.1872
2022-03-09 12:10:14 +01:00
Milan Hanajik
ecc92176f3
Clean-up after comparing 2.27 and 3.1 branches, ver. 3.1.1861
2022-01-28 14:43:42 +01:00
Milan Hanajik
ba549cbaee
MainWnd: Reload procedures button.
2021-12-17 11:51:53 +01:00
Milan Hanajik
0d0355c65a
ProductionTracing for Nanjing, OrderInfo updated after assignment of serial numbers, ver. 3.1.1831
2021-12-10 07:59:58 +01:00
Milan Hanajik
68c3ccbef6
SelectedProcedure stored in ProcessData, used in DataEntry.iPERL and S620, S640Comm cleaned, IOrderInfo, I640Cfg, OrderManagement v.3.0.6, etc.
2021-12-09 17:12:52 +01:00
Milan Hanajik
351157dbba
LaserMarking added to OrderInfo, OrderInfo printing, bug fixes.
2021-11-18 14:53:12 +01:00
Milan Hanajik
0494054171
Yet more MainWnd, MainSeq, etc. changes,ver. 3.1.1811
2021-11-18 14:53:12 +01:00
Milan Hanajik
587f6dffd0
More MainWnd, MainSeq, DataEntry.S620 and OrderManagement changes, ver. 3.1.1810
2021-11-18 14:53:12 +01:00
Milan Hanajik
a35716733d
MainWnd and DataEntry.S620 changes
2021-11-18 14:53:12 +01:00
Milan Hanajik
5996fda348
SensusOracle.Database synchronized with 2.26/27, TestBenchGroupId, idBenutzer, ver. 3.1.1800
2021-11-08 09:17:00 +01:00
Milan Hanajik
6c181cdb67
TBF.Data initialization on TBF start-up (also in case IsRealBench = false), ver. 3.1.1736
2021-09-19 14:45:02 +02:00
Milan Hanajik
a0aea713b0
Common.Data --> TBF.Data and TBF.DB
2021-09-19 14:44:55 +02:00
Milan Hanajik
827a9f7c58
Changes for Xylem Nanjing, ver. 3.1.1676
2021-06-18 15:35:46 +02:00
Milan Hanajik
f1ef16e1a3
TBF.UI.Process.ProcessTabPageCtrl introduced, etc.
2021-05-26 23:42:16 +02:00
Milan Hanajik
fdb1e112dc
(1) Dummy.Flowmeter displays flow measured by a scale, (2) OoR values are orange.
2021-04-26 11:56:01 +02:00
Milan Hanajik
6d9a7e2385
Bug fix in StateMachine.InitializeDevices( ), Modbus.RegTelegramsPerSecond = 3, MaxTelegramsPerSecond = 5, ver. 3.1.1601
2021-04-06 10:24:42 +02:00
Milan Hanajik
535038bce1
Style changes to prevent warnings.
2021-04-03 00:54:18 +02:00
Milan Hanajik
08c2d3b0d8
EmergencyStopModelessDlg removed.
2021-04-02 18:11:53 +02:00
Milan Hanajik
0cc21f40af
MettlerToledo.Stabdard.Balance clean-up, shared static properties eliminated.
2021-04-02 15:12:29 +02:00
Milan Hanajik
ef004ce92e
Manual control of diverters by mouse clicks on a schematic drawing.
2021-03-30 12:49:08 +02:00
Milan Hanajik
be9d912489
Route handling rewritten, the order of StopDevice( ) calls reversed.
2021-03-18 16:17:11 +01:00
Milan Hanajik
6cf3bd6160
Refactorization : BenchControl -> Rig
2021-03-05 16:12:24 +01:00
Milan Hanajik
84c8ec26b6
Uni.FlowMeter requests a measurement after a mose-click, ver. 3.1.1607
2021-03-05 13:22:54 +01:00
Milan Hanajik
d27c1b89ad
1. MsrmntAvailableFlags implemented, 2. more UniCB Actions.
2021-03-05 13:22:22 +01:00
Milan Hanajik
35815fe78a
UniCB DrShp, AltStrings, double Press, new Cfg style, Lbl,Setp,Msrd pos != 0, arrow keys, refactorization, ver. 3.1.1597
2021-03-01 15:22:37 +01:00
Milan Hanajik
4cf4192ebb
BenchControl.Uni.Diverter/FlowMeter/RegReader added, etc. (many changes and refactorization).
2021-02-24 14:15:10 +01:00
Milan Hanajik
56a9984626
IControlBoard.SpecifyInvertedValves instead of InitializeComponent
2021-02-19 16:45:55 +01:00
Milan Hanajik
1f67899a5c
Schematic drawing with live function, bench control by mouse, Dijkstra algo, vacuum, etc.
2020-06-14 13:01:53 +02:00
Milan Hanajik
070a76aade
SchematicDrawing: Editing completed, TODO: Display
2020-06-02 12:00:45 +02:00
Milan Hanajik
2ec611964f
Changes for Juzna-Afrika-NEW, JUZNA_AFRIKA_NEW symbol, ver. 3.1.1470
2020-05-21 18:57:41 +02:00
Milan Hanajik
c1b9bf0c5f
Database upgrade bug fixes, ver. 2.26.1460
2020-05-11 14:31:54 +02:00
Milan Hanajik
435261831a
Conductivity bug fixes, DB import/export works OK with root user password.
2020-05-11 14:31:54 +02:00
Milan Hanajik
b1d692230e
Events, EventViewer, Common prjs, UI.EventLogs, UI.Calendar, EventTriggers, GetCalendarEvents() in WT/I.
2020-04-21 10:46:42 +02:00
Milan Hanajik
a7965a7ffc
(1) Publish.Internal&Never tests not saved to rslts.DB, (2) Publish.Never tests are in TestRslts, (3) bool Batch.IsRemoteProcedure field, etc. ver. 2.25.1410
2020-02-07 12:40:20 +01:00
Milan Hanajik
08c94aacce
Database export/import in progress.
2020-02-05 10:23:30 +01:00