Files
HPCS6500/tests/golden/parse_usb_capture_20260204_123655_hub1_harmonics.txt
grabowski 54242da04b Rewrite the driver in Rust; move the testbench tools out
The repository is now only the HPCS 6500 driver: a Rust library (serial
transport, every protocol command, block parsing, USBPcap captures, a
simulated instrument) and the hpcs6500 CLI with the flags of the former
hpcs6500.py, plus dump/capture for reverse engineering.

The lamp station, lamp export, TM-30, label printer and LED calibration
move to B4L/lamp-testbench. Golden tests pin the Rust output to the Python
driver's: parsed values bit-exact, report text, CSV and number formatting.
The Python driver is at tag python-final.
2026-10-22 17:01:47 +07:00

235 lines
7.2 KiB
Plaintext

============================================================
Reading 1 (t=0.01s)
============================================================
Device: HPCS6500
Date: 2026-02-04 Time: 15:58:55
--- Photometric ---
Phi (lm): 479.98
eta (lm/W): 57.09
CCT (K): 5653
Duv: 0.00551
--- Chromaticity ---
x: 0.3289 y: 0.3488
u: 0.2015 v: 0.3206
u': 0.2015 v': 0.4809
--- CRI ---
Ra: 83.0 SDCM: 4.69
R1=82, R2=94, R3=93, R4=77, R5=82, R6=89, R7=83, R8=64
R9=5, R10=84, R11=76, R12=60, R13=87, R14=97, R15=76
--- CIE 1931 ---
X: 662.526 Y: 702.748 Z: 649.286
TLCI-2012: 68
--- Radiometric ---
Phi_e (mW): 1492.631
Phi_eb (mW): 470.398
Phi_ey (mW): 680.493
Phi_er (mW): 331.425
Phi_efr (mW): 11.458
--- Electrical ---
Voltage (V): 230.31
Current (A): 0.0653
Power (W): 8.407
Frequency (Hz): 50.02
Power Factor: 0.5591
--- Sensor ---
Peak Signal: 53066
Dark Signal: 2219
Compensate: 2834
--- Spectrum (380-1050nm) ---
380.0nm: 0.0008 []
389.6nm: 0.0890 []
399.2nm: 0.3229 []
408.8nm: 0.7770 [##]
418.4nm: 1.6247 [####]
428.0nm: 3.0114 [########]
437.6nm: 5.1952 [##############]
447.2nm: 8.5884 [########################]
456.8nm: 12.6235 [####################################]
466.4nm: 13.6578 [#######################################]
476.0nm: 10.8532 [###############################]
485.6nm: 8.3235 [########################]
495.2nm: 6.7865 [###################]
504.8nm: 5.5139 [###############]
514.4nm: 4.7091 [#############]
524.0nm: 4.4881 [############]
533.6nm: 4.6034 [#############]
543.2nm: 4.8833 [##############]
552.8nm: 5.2877 [###############]
562.4nm: 5.6993 [################]
572.0nm: 6.0321 [#################]
581.6nm: 6.2673 [##################]
591.2nm: 6.4150 [##################]
600.8nm: 6.5413 [##################]
610.4nm: 6.6433 [###################]
620.0nm: 6.7819 [###################]
629.6nm: 6.9311 [####################]
639.2nm: 7.0607 [####################]
648.8nm: 7.1652 [####################]
658.4nm: 7.2412 [####################]
668.0nm: 7.3020 [#####################]
677.6nm: 7.3772 [#####################]
687.2nm: 7.5026 [#####################]
696.8nm: 7.5342 [#####################]
706.4nm: 7.4841 [#####################]
716.0nm: 7.3912 [#####################]
725.6nm: 7.2247 [####################]
735.2nm: 7.0265 [####################]
744.8nm: 6.7293 [###################]
754.4nm: 6.3794 [##################]
764.0nm: 5.9717 [#################]
773.6nm: 5.5819 [################]
783.2nm: 5.1382 [##############]
792.8nm: 4.7075 [#############]
802.3nm: 4.2856 [############]
811.9nm: 3.8809 [###########]
821.5nm: 3.4503 [#########]
831.1nm: 3.0323 [########]
840.7nm: 2.6561 [#######]
850.3nm: 2.2916 [######]
859.9nm: 1.9863 [#####]
869.5nm: 1.7127 [####]
879.1nm: 1.4511 [####]
888.7nm: 1.2506 [###]
898.3nm: 1.0459 [###]
907.9nm: 0.8602 [##]
917.5nm: 0.7136 [##]
927.1nm: 0.5768 [#]
936.7nm: 0.4717 [#]
946.3nm: 0.3844 [#]
955.9nm: 0.3112 []
965.5nm: 0.2369 []
975.1nm: 0.1834 []
984.7nm: 0.1431 []
994.3nm: 0.1127 []
1003.9nm: 0.0847 []
1013.5nm: 0.0629 []
1023.1nm: 0.0458 []
1032.7nm: 0.0273 []
1042.3nm: 0.0104 []
============================================================
Reading 2 (t=2.13s)
============================================================
Device: HPCS6500
Date: 2026-02-04 Time: 16:02:06
--- Photometric ---
Phi (lm): 479.89
eta (lm/W): 57.09
CCT (K): 5655
Duv: 0.00550
--- Chromaticity ---
x: 0.3288 y: 0.3488
u: 0.2015 v: 0.3206
u': 0.2015 v': 0.4809
--- CRI ---
Ra: 83.0 SDCM: 4.67
R1=82, R2=94, R3=93, R4=77, R5=82, R6=89, R7=83, R8=64
R9=5, R10=84, R11=76, R12=60, R13=86, R14=97, R15=76
--- CIE 1931 ---
X: 662.427 Y: 702.620 Z: 649.490
TLCI-2012: 68
--- Radiometric ---
Phi_e (mW): 1492.469
Phi_eb (mW): 470.073
Phi_ey (mW): 679.697
Phi_er (mW): 330.648
Phi_efr (mW): 11.237
--- Electrical ---
Voltage (V): 230.30
Current (A): 0.0653
Power (W): 8.406
Frequency (Hz): 50.02
Power Factor: 0.5592
--- Sensor ---
Peak Signal: 53055
Dark Signal: 2246
Compensate: 2834
--- Spectrum (380-1050nm) ---
380.0nm: 0.0003 []
389.6nm: 0.0894 []
399.2nm: 0.3190 []
408.8nm: 0.7735 [##]
418.4nm: 1.6266 [####]
428.0nm: 3.0219 [########]
437.6nm: 5.2066 [###############]
447.2nm: 8.5984 [########################]
456.8nm: 12.6300 [####################################]
466.4nm: 13.6373 [#######################################]
476.0nm: 10.8302 [###############################]
485.6nm: 8.3115 [########################]
495.2nm: 6.7760 [###################]
504.8nm: 5.5051 [###############]
514.4nm: 4.7003 [#############]
524.0nm: 4.4846 [############]
533.6nm: 4.5981 [#############]
543.2nm: 4.8781 [##############]
552.8nm: 5.2836 [###############]
562.4nm: 5.6906 [################]
572.0nm: 6.0287 [#################]
581.6nm: 6.2648 [##################]
591.2nm: 6.4112 [##################]
600.8nm: 6.5259 [##################]
610.4nm: 6.6311 [###################]
620.0nm: 6.7794 [###################]
629.6nm: 6.9210 [###################]
639.2nm: 7.0479 [####################]
648.8nm: 7.1559 [####################]
658.4nm: 7.2319 [####################]
668.0nm: 7.2973 [#####################]
677.6nm: 7.3794 [#####################]
687.2nm: 7.4932 [#####################]
696.8nm: 7.5221 [#####################]
706.4nm: 7.4767 [#####################]
716.0nm: 7.3786 [#####################]
725.6nm: 7.2110 [####################]
735.2nm: 7.0181 [####################]
744.8nm: 6.7234 [###################]
754.4nm: 6.3685 [##################]
764.0nm: 5.9592 [#################]
773.6nm: 5.5700 [################]
783.2nm: 5.1347 [##############]
792.8nm: 4.6961 [#############]
802.3nm: 4.2714 [############]
811.9nm: 3.8696 [###########]
821.5nm: 3.4402 [#########]
831.1nm: 3.0220 [########]
840.7nm: 2.6562 [#######]
850.3nm: 2.2910 [######]
859.9nm: 1.9745 [#####]
869.5nm: 1.7021 [####]
879.1nm: 1.4475 [####]
888.7nm: 1.2388 [###]
898.3nm: 1.0408 [###]
907.9nm: 0.8597 [##]
917.5nm: 0.7104 [##]
927.1nm: 0.5750 [#]
936.7nm: 0.4669 [#]
946.3nm: 0.3804 [#]
955.9nm: 0.3071 []
965.5nm: 0.2300 []
975.1nm: 0.1785 []
984.7nm: 0.1403 []
994.3nm: 0.1103 []
1003.9nm: 0.0812 []
1013.5nm: 0.0610 []
1023.1nm: 0.0417 []
1032.7nm: 0.0264 []
1042.3nm: 0.0066 []