From ddb5e1087d17e037e7b0d8fcd164a4cb6765eae4 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Fri, 20 Oct 2023 11:06:20 -0400 Subject: [PATCH] fix for windows or linux: --- benchtop-fe/src/parsers/Transducer.js | 14 +- ...023_105436 Hardware Calibration Report.txt | 700 ++++++++++++++++++ ...023_093448 Hardware Calibration Report.txt | 264 +++++++ .../parsers/__tests__/parseTransducer.test.js | 38 +- ...h flow 220601_143736 Transducer Verify.txt | 86 +++ .../C20 231002_102804 Transducer Verify.txt | 25 + .../C28 220808_083606 Transducer Verify.txt | 25 + ...ucers) 220203_112635 Transducer Verify.txt | 55 ++ .../transducer_verify/I28 with flow.txt | 86 +++ .../LPC 221103_084401 Transducer Verify.txt | 40 + ...494 20230323035942_report_trans_verify.txt | 40 + 11 files changed, 1362 insertions(+), 11 deletions(-) create mode 100644 benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with Flow 09122023_105436 Hardware Calibration Report.txt create mode 100644 benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with vacuum 07262023_093448 Hardware Calibration Report.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/Blackbelt with flow 220601_143736 Transducer Verify.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/C20 231002_102804 Transducer Verify.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/C28 220808_083606 Transducer Verify.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with diff pressure (2 transducers) 220203_112635 Transducer Verify.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with flow.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/LPC 221103_084401 Transducer Verify.txt create mode 100644 benchtop-fe/src/parsers/__tests__/transducer_verify/MH MH20494 20230323035942_report_trans_verify.txt diff --git a/benchtop-fe/src/parsers/Transducer.js b/benchtop-fe/src/parsers/Transducer.js index 2e21835..d33f996 100644 --- a/benchtop-fe/src/parsers/Transducer.js +++ b/benchtop-fe/src/parsers/Transducer.js @@ -1,3 +1,6 @@ +const twoNewLines = /\r\n\r\n|\r\r|\n\n/; +const oneNewLine = /\r\n|\r|\n/; + const inRange = (index, value, masterValues) => { return ( masterValues[index]["Low Limit"] <= value && value <= masterValues[index]["High Limit"] @@ -8,16 +11,16 @@ const delta = (index, value, masterValues) => { return Math.abs(masterValues[index]["Low Limit"] - value); } -export default function parseTransducer(content, accuracy){ +export default function parseTransducer(fileName, content, accuracy){ accuracy = accuracy / 100.0; // Comes in as Percent const transducerData = []; // Split the content into sections based on the blank line - const sections = content.trim().split("\n\n"); + const sections = content.trim().split(twoNewLines); for (const section of sections) { // Split each section into lines - const lines = section.trim().split("\n"); + const lines = section.trim().split(oneNewLine); const filteredLines = lines.filter( (line) => !line.startsWith("==") && line !== "|| Transducer Verify Report ||" ); @@ -73,10 +76,7 @@ export default function parseTransducer(content, accuracy){ } else { // Toss anything else where it belongs const [cleanKey, _] = key.split(/\W\d/); - if ( - cleanKey in transducerInfo || - key.includes(`Instrument ${transducerType}`) - ) { + if (cleanKey in transducerInfo || key.includes(`Instrument ${transducerType}`)) { const value = parseInt(val.split(" ")[0]) * 1000; // special case Master to get the limits if (cleanKey.includes("Master")) { diff --git a/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with Flow 09122023_105436 Hardware Calibration Report.txt b/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with Flow 09122023_105436 Hardware Calibration Report.txt new file mode 100644 index 0000000..9f88e14 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with Flow 09122023_105436 Hardware Calibration Report.txt @@ -0,0 +1,700 @@ +|| Instrument Info || + +Instrument Name Blackbelt Pro +Serial Number BBP1854 +Time 10:54:36 +Date 09/12/2023 + + +|| Hardware Calibration Report || + +Hardware 0 +=============================================================== + Test Port 1 + =========================================================== + + + Mass Flow Trans + =========================================================== + Transducer CTS A12-403 3LPM + Input AIN 2 + Setpoint Pressure 1 25.000 psig + Setpoint Pressure 2 25.000 psig + Setpoint Pressure 3 25.000 psig + Setpoint Pressure 4 25.000 psig + Setpoint Pressure 5 25.000 psig + Setpoint Pressure 6 25.000 psig + Setpoint Pressure 7 25.000 psig + Setpoint Pressure 8 25.000 psig + Setpoint Pressure 9 25.000 psig + Setpoint Pressure 10 25.000 psig + Setpoint Pressure 11 25.000 psig + Analog Value 1 8678585 cnts + Analog Value 2 9239034 cnts + Analog Value 3 9799055 cnts + Analog Value 4 10365768 cnts + Analog Value 5 10941413 cnts + Analog Value 6 11514385 cnts + Analog Value 7 12077765 cnts + Analog Value 8 12636569 cnts + Analog Value 9 13202439 cnts + Analog Value 10 13782423 cnts + Analog Value 11 14371807 cnts + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Linearity 0.346 % + Last Cal Date 09/13/2022 + Last Cal Time 11:11:22 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 130.000 + Xdcr Zero LL 0.000 cnts + Xdcr Zero HL 0.000 cnts + Xdcr Zero Lwin -134218.000 + Xdcr Zero Hwin 134218.000 + Xdcr Analog Min 1.000 cnts + Xdcr Analog Max 16777214.000 cnts + Xdcr Base Min -447392.000 + Xdcr Base Max 5726623.000 + Setpoint Pressure 1 5.000 psig + Setpoint Pressure 2 5.000 psig + Setpoint Pressure 3 5.000 psig + Setpoint Pressure 4 5.000 psig + Setpoint Pressure 5 5.000 psig + Setpoint Pressure 6 5.000 psig + Setpoint Pressure 7 5.000 psig + Setpoint Pressure 8 5.000 psig + Setpoint Pressure 9 5.000 psig + Setpoint Pressure 10 5.000 psig + Setpoint Pressure 11 5.000 psig + Instrument Pressure 1 5.217 psig + Instrument Pressure 2 5.201 psig + Instrument Pressure 3 5.201 psig + Instrument Pressure 4 5.188 psig + Instrument Pressure 5 5.170 psig + Instrument Pressure 6 5.149 psig + Instrument Pressure 7 5.125 psig + Instrument Pressure 8 5.099 psig + Instrument Pressure 9 5.070 psig + Instrument Pressure 10 5.039 psig + Instrument Pressure 11 5.119 psig + Instrument Flow 1 -0.095 sccm + Instrument Flow 2 299.646 sccm + Instrument Flow 3 599.741 sccm + Instrument Flow 4 900.069 sccm + Instrument Flow 5 1200.751 sccm + Instrument Flow 6 1499.991 sccm + Instrument Flow 7 1798.289 sccm + Instrument Flow 8 2101.286 sccm + Instrument Flow 9 2396.702 sccm + Instrument Flow 10 2695.689 sccm + Instrument Flow 11 2990.915 sccm + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Master Reading 1 0.000 sccm + Master Reading 2 300.000 sccm + Master Reading 3 600.000 sccm + Master Reading 4 900.000 sccm + Master Reading 5 1200.000 sccm + Master Reading 6 1500.000 sccm + Master Reading 7 1800.000 sccm + Master Reading 8 2100.000 sccm + Master Reading 9 2400.000 sccm + Master Reading 10 2700.000 sccm + Master Reading 11 3000.000 sccm + Verify Date 09/12/2023 + Verify Time 10:48:34 + + + Pressure Transducer + =========================================================== + Transducer CTS D34-441 45PSIA + Input AIN 1 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Analog Value 1 10119416 cnts + Analog Value 2 10831868 cnts + Analog Value 3 11542843 cnts + Analog Value 4 12251908 cnts + Analog Value 5 12959532 cnts + Analog Value 6 13665552 cnts + Master Value 1 0.001 psig + Master Value 2 6.001 psig + Master Value 3 12.001 psig + Master Value 4 18.001 psig + Master Value 5 24.001 psig + Master Value 6 30.001 psig + XDCR Analog ATM 10119513 + Atm Pressure 0.000 bar + Linearity 0.077 % + Last Cal Date 09/20/2021 + Last Cal Time 13:21:16 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 51.000 + Xdcr Zero LL 9654557.000 cnts + Xdcr Zero HL 10485333.000 cnts + Xdcr Zero Lwin -2.498 psig + Xdcr Zero Hwin 2.502 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 8589935.000 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Instrument Pressure 1 0.000 psig + Instrument Pressure 2 6.000 psig + Instrument Pressure 3 11.999 psig + Instrument Pressure 4 17.999 psig + Instrument Pressure 5 24.000 psig + Instrument Pressure 6 29.999 psig + Master Value 1 0.000 psig + Master Value 2 6.000 psig + Master Value 3 12.000 psig + Master Value 4 18.000 psig + Master Value 5 24.000 psig + Master Value 6 30.000 psig + Verify Date 09/12/2023 + Verify Time 10:01:52 + + + Test Port 2 + =========================================================== + + + Mass Flow Trans + =========================================================== + Transducer CTS A12-403 3LPM + Input AIN 4 + Setpoint Pressure 1 25.000 psig + Setpoint Pressure 2 25.000 psig + Setpoint Pressure 3 25.000 psig + Setpoint Pressure 4 25.000 psig + Setpoint Pressure 5 25.000 psig + Setpoint Pressure 6 25.000 psig + Setpoint Pressure 7 25.000 psig + Setpoint Pressure 8 25.000 psig + Setpoint Pressure 9 25.000 psig + Setpoint Pressure 10 25.000 psig + Setpoint Pressure 11 25.000 psig + Analog Value 1 8678692 cnts + Analog Value 2 9236254 cnts + Analog Value 3 9794099 cnts + Analog Value 4 10367908 cnts + Analog Value 5 10944038 cnts + Analog Value 6 11519685 cnts + Analog Value 7 12092725 cnts + Analog Value 8 12672548 cnts + Analog Value 9 13246649 cnts + Analog Value 10 13828330 cnts + Analog Value 11 14438962 cnts + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Linearity 0.578 % + Last Cal Date 09/13/2022 + Last Cal Time 11:24:51 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 87.000 + Xdcr Zero LL 0.000 cnts + Xdcr Zero HL 0.000 cnts + Xdcr Zero Lwin -134218.000 + Xdcr Zero Hwin 134218.000 + Xdcr Analog Min 1.000 cnts + Xdcr Analog Max 16777214.000 cnts + Xdcr Base Min -447392.000 + Xdcr Base Max 5726623.000 + Setpoint Pressure 1 5.000 psig + Setpoint Pressure 2 5.000 psig + Setpoint Pressure 3 5.000 psig + Setpoint Pressure 4 5.000 psig + Setpoint Pressure 5 5.000 psig + Setpoint Pressure 6 5.000 psig + Setpoint Pressure 7 5.000 psig + Setpoint Pressure 8 5.000 psig + Setpoint Pressure 9 5.000 psig + Setpoint Pressure 10 5.000 psig + Setpoint Pressure 11 5.000 psig + Instrument Pressure 1 5.227 psig + Instrument Pressure 2 5.202 psig + Instrument Pressure 3 5.226 psig + Instrument Pressure 4 5.215 psig + Instrument Pressure 5 5.196 psig + Instrument Pressure 6 5.174 psig + Instrument Pressure 7 5.147 psig + Instrument Pressure 8 5.118 psig + Instrument Pressure 9 5.128 psig + Instrument Pressure 10 5.095 psig + Instrument Pressure 11 5.055 psig + Instrument Flow 1 -0.171 sccm + Instrument Flow 2 301.123 sccm + Instrument Flow 3 598.856 sccm + Instrument Flow 4 897.859 sccm + Instrument Flow 5 1198.569 sccm + Instrument Flow 6 1497.172 sccm + Instrument Flow 7 1800.646 sccm + Instrument Flow 8 2100.242 sccm + Instrument Flow 9 2396.398 sccm + Instrument Flow 10 2684.685 sccm (recheck 2692.22) + Instrument Flow 11 2981.059 sccm (recheck 3006.48) + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Master Reading 1 0.000 sccm + Master Reading 2 300.000 sccm + Master Reading 3 600.000 sccm + Master Reading 4 900.000 sccm + Master Reading 5 1200.000 sccm + Master Reading 6 1500.000 sccm + Master Reading 7 1800.000 sccm + Master Reading 8 2100.000 sccm + Master Reading 9 2400.000 sccm + Master Reading 10 2700.000 sccm + Master Reading 11 3000.000 sccm + Verify Date 09/12/2023 + Verify Time 10:54:18 + + + Pressure Transducer + =========================================================== + Transducer CTS D34-441 45PSIA + Input AIN 3 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Analog Value 1 10063871 cnts + Analog Value 2 10774443 cnts + Analog Value 3 11484127 cnts + Analog Value 4 12191776 cnts + Analog Value 5 12897606 cnts + Analog Value 6 13601548 cnts + Master Value 1 0.001 psig + Master Value 2 6.001 psig + Master Value 3 12.001 psig + Master Value 4 18.001 psig + Master Value 5 24.001 psig + Master Value 6 30.001 psig + XDCR Analog ATM 10063060 + Atm Pressure -0.000 bar + Linearity 0.084 % + Last Cal Date 09/20/2021 + Last Cal Time 14:21:04 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 45.000 + Xdcr Zero LL 9654557.000 cnts + Xdcr Zero HL 10485333.000 cnts + Xdcr Zero Lwin -2.506 psig + Xdcr Zero Hwin 2.494 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 8589935.000 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Instrument Pressure 1 0.000 psig + Instrument Pressure 2 6.000 psig + Instrument Pressure 3 11.997 psig + Instrument Pressure 4 17.996 psig + Instrument Pressure 5 23.997 psig + Instrument Pressure 6 29.999 psig + Master Value 1 0.000 psig + Master Value 2 6.000 psig + Master Value 3 12.000 psig + Master Value 4 18.000 psig + Master Value 5 24.000 psig + Master Value 6 30.000 psig + Verify Date 09/12/2023 + Verify Time 10:03:15 + + + Test Port 3 + =========================================================== + + + Mass Flow Trans + =========================================================== + Transducer CTS A12-403 3LPM + Input AIN 6 + Setpoint Pressure 1 25.000 psig + Setpoint Pressure 2 25.000 psig + Setpoint Pressure 3 25.000 psig + Setpoint Pressure 4 25.000 psig + Setpoint Pressure 5 25.000 psig + Setpoint Pressure 6 25.000 psig + Setpoint Pressure 7 25.000 psig + Setpoint Pressure 8 25.000 psig + Setpoint Pressure 9 25.000 psig + Setpoint Pressure 10 25.000 psig + Setpoint Pressure 11 25.000 psig + Analog Value 1 8681687 cnts + Analog Value 2 9238619 cnts + Analog Value 3 9805134 cnts + Analog Value 4 10406223 cnts + Analog Value 5 10962501 cnts + Analog Value 6 11528765 cnts + Analog Value 7 12091315 cnts + Analog Value 8 12665276 cnts + Analog Value 9 13259378 cnts + Analog Value 10 13832120 cnts + Analog Value 11 14456123 cnts + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Linearity 0.728 % + Last Cal Date 09/13/2022 + Last Cal Time 11:34:20 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 197.000 + Xdcr Zero LL 0.000 cnts + Xdcr Zero HL 0.000 cnts + Xdcr Zero Lwin -134218.000 + Xdcr Zero Hwin 134218.000 + Xdcr Analog Min 1.000 cnts + Xdcr Analog Max 16777214.000 cnts + Xdcr Base Min -447392.000 + Xdcr Base Max 5726623.000 + Setpoint Pressure 1 5.000 psig + Setpoint Pressure 2 5.000 psig + Setpoint Pressure 3 5.000 psig + Setpoint Pressure 4 5.000 psig + Setpoint Pressure 5 5.000 psig + Setpoint Pressure 6 5.000 psig + Setpoint Pressure 7 5.000 psig + Setpoint Pressure 8 5.000 psig + Setpoint Pressure 9 5.000 psig + Setpoint Pressure 10 5.000 psig + Setpoint Pressure 11 5.000 psig + Instrument Pressure 1 5.172 psig + Instrument Pressure 2 5.142 psig + Instrument Pressure 3 5.135 psig + Instrument Pressure 4 5.118 psig + Instrument Pressure 5 5.098 psig + Instrument Pressure 6 5.073 psig + Instrument Pressure 7 5.043 psig + Instrument Pressure 8 5.010 psig + Instrument Pressure 9 4.969 psig + Instrument Pressure 10 4.927 psig + Instrument Pressure 11 5.009 psig + Instrument Flow 1 -0.210 sccm + Instrument Flow 2 299.695 sccm + Instrument Flow 3 599.178 sccm + Instrument Flow 4 897.002 sccm + Instrument Flow 5 1196.053 sccm + Instrument Flow 6 1495.848 sccm + Instrument Flow 7 1803.176 sccm + Instrument Flow 8 2092.537 sccm + Instrument Flow 9 2399.192 sccm + Instrument Flow 10 2708.358 sccm + Instrument Flow 11 2981.288 sccm (recheck 3008.78) + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Master Reading 1 0.000 sccm + Master Reading 2 300.000 sccm + Master Reading 3 600.000 sccm + Master Reading 4 900.000 sccm + Master Reading 5 1200.000 sccm + Master Reading 6 1500.000 sccm + Master Reading 7 1800.000 sccm + Master Reading 8 2100.000 sccm + Master Reading 9 2400.000 sccm + Master Reading 10 2700.000 sccm + Master Reading 11 3000.000 sccm + Verify Date 09/12/2023 + Verify Time 10:32:04 + + + Pressure Transducer + =========================================================== + Transducer CTS D34-441 45PSIA + Input AIN 5 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Analog Value 1 10084970 cnts + Analog Value 2 10802020 cnts + Analog Value 3 11517010 cnts + Analog Value 4 12230658 cnts + Analog Value 5 12942500 cnts + Analog Value 6 13652524 cnts + Master Value 1 0.001 psig + Master Value 2 6.001 psig + Master Value 3 12.001 psig + Master Value 4 18.001 psig + Master Value 5 24.001 psig + Master Value 6 30.001 psig + XDCR Analog ATM 10084926 + Atm Pressure 0.000 bar + Linearity 0.080 % + Last Cal Date 09/20/2021 + Last Cal Time 13:43:26 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 58.000 + Xdcr Zero LL 9654557.000 cnts + Xdcr Zero HL 10485333.000 cnts + Xdcr Zero Lwin -2.499 psig + Xdcr Zero Hwin 2.501 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 8589935.000 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Instrument Pressure 1 0.000 psig + Instrument Pressure 2 5.997 psig + Instrument Pressure 3 11.997 psig + Instrument Pressure 4 17.993 psig + Instrument Pressure 5 23.993 psig + Instrument Pressure 6 29.991 psig + Master Value 1 0.000 psig + Master Value 2 6.000 psig + Master Value 3 12.000 psig + Master Value 4 18.000 psig + Master Value 5 24.000 psig + Master Value 6 30.000 psig + Verify Date 09/12/2023 + Verify Time 10:05:52 + + + Test Port 4 + =========================================================== + + + Mass Flow Trans + =========================================================== + Transducer CTS A12-403 3LPM + Input AIN 8 + Setpoint Pressure 1 25.000 psig + Setpoint Pressure 2 25.000 psig + Setpoint Pressure 3 25.000 psig + Setpoint Pressure 4 25.000 psig + Setpoint Pressure 5 25.000 psig + Setpoint Pressure 6 25.000 psig + Setpoint Pressure 7 25.000 psig + Setpoint Pressure 8 25.000 psig + Setpoint Pressure 9 25.000 psig + Setpoint Pressure 10 25.000 psig + Setpoint Pressure 11 25.000 psig + Analog Value 1 8676718 cnts + Analog Value 2 9230735 cnts + Analog Value 3 9794943 cnts + Analog Value 4 10362480 cnts + Analog Value 5 10937105 cnts + Analog Value 6 11501313 cnts + Analog Value 7 12075038 cnts + Analog Value 8 12644378 cnts + Analog Value 9 13229048 cnts + Analog Value 10 13835538 cnts + Analog Value 11 14386497 cnts + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Linearity 0.523 % + Last Cal Date 09/13/2022 + Last Cal Time 11:44:19 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 28.000 + Xdcr Zero LL 0.000 cnts + Xdcr Zero HL 0.000 cnts + Xdcr Zero Lwin -134218.000 + Xdcr Zero Hwin 134218.000 + Xdcr Analog Min 1.000 cnts + Xdcr Analog Max 16777214.000 cnts + Xdcr Base Min -447392.000 + Xdcr Base Max 5726623.000 + Setpoint Pressure 1 5.000 psig + Setpoint Pressure 2 5.000 psig + Setpoint Pressure 3 5.000 psig + Setpoint Pressure 4 5.000 psig + Setpoint Pressure 5 5.000 psig + Setpoint Pressure 6 5.000 psig + Setpoint Pressure 7 5.000 psig + Setpoint Pressure 8 5.000 psig + Setpoint Pressure 9 5.000 psig + Setpoint Pressure 10 5.000 psig + Setpoint Pressure 11 5.000 psig + Instrument Pressure 1 5.257 psig + Instrument Pressure 2 5.219 psig + Instrument Pressure 3 5.205 psig + Instrument Pressure 4 5.175 psig + Instrument Pressure 5 5.135 psig + Instrument Pressure 6 5.088 psig + Instrument Pressure 7 5.031 psig + Instrument Pressure 8 5.039 psig + Instrument Pressure 9 5.005 psig + Instrument Pressure 10 5.020 psig + Instrument Pressure 11 5.019 psig + Instrument Flow 1 -0.202 sccm + Instrument Flow 2 301.355 sccm + Instrument Flow 3 600.977 sccm + Instrument Flow 4 899.290 sccm + Instrument Flow 5 1202.057 sccm + Instrument Flow 6 1503.597 sccm + Instrument Flow 7 1805.101 sccm + Instrument Flow 8 2100.563 sccm + Instrument Flow 9 2405.936 sccm + Instrument Flow 10 2701.836 sccm + Instrument Flow 11 3013.153 sccm (recheck 3004.25) + Master Value 1 0.000 sccm + Master Value 2 300.000 sccm + Master Value 3 600.000 sccm + Master Value 4 900.000 sccm + Master Value 5 1200.000 sccm + Master Value 6 1500.000 sccm + Master Value 7 1800.000 sccm + Master Value 8 2100.000 sccm + Master Value 9 2400.000 sccm + Master Value 10 2700.000 sccm + Master Value 11 3000.000 sccm + Master Reading 1 0.000 sccm + Master Reading 2 300.000 sccm + Master Reading 3 600.000 sccm + Master Reading 4 900.000 sccm + Master Reading 5 1200.000 sccm + Master Reading 6 1500.000 sccm + Master Reading 7 1800.000 sccm + Master Reading 8 2100.000 sccm + Master Reading 9 2400.000 sccm + Master Reading 10 2700.000 sccm + Master Reading 11 3000.000 sccm + Verify Date 09/12/2023 + Verify Time 10:39:54 + + + Pressure Transducer + =========================================================== + Transducer CTS D34-441 45PSIA + Input AIN 7 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Analog Value 1 10110263 cnts + Analog Value 2 10821390 cnts + Analog Value 3 11530970 cnts + Analog Value 4 12239273 cnts + Analog Value 5 12945716 cnts + Analog Value 6 13650661 cnts + Master Value 1 0.001 psig + Master Value 2 6.001 psig + Master Value 3 12.001 psig + Master Value 4 18.001 psig + Master Value 5 24.001 psig + Master Value 6 30.001 psig + XDCR Analog ATM 10110138 + Atm Pressure -0.000 bar + Linearity 0.074 % + Last Cal Date 09/20/2021 + Last Cal Time 13:51:42 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 176.000 + Xdcr Zero LL 9654557.000 cnts + Xdcr Zero HL 10485333.000 cnts + Xdcr Zero Lwin -2.500 psig + Xdcr Zero Hwin 2.500 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 8589935.000 + Setpoint Pressure 1 0.000 psig + Setpoint Pressure 2 6.000 psig + Setpoint Pressure 3 12.000 psig + Setpoint Pressure 4 18.000 psig + Setpoint Pressure 5 24.000 psig + Setpoint Pressure 6 30.000 psig + Instrument Pressure 1 -0.000 psig + Instrument Pressure 2 5.999 psig + Instrument Pressure 3 11.998 psig + Instrument Pressure 4 17.995 psig + Instrument Pressure 5 23.994 psig + Instrument Pressure 6 29.990 psig + Master Value 1 0.000 psig + Master Value 2 6.000 psig + Master Value 3 12.000 psig + Master Value 4 18.000 psig + Master Value 5 24.000 psig + Master Value 6 30.000 psig + Verify Date 09/12/2023 + Verify Time 10:08:43 + + diff --git a/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with vacuum 07262023_093448 Hardware Calibration Report.txt b/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with vacuum 07262023_093448 Hardware Calibration Report.txt new file mode 100644 index 0000000..e0d8ea0 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/hardware_calibration/BlackBelt Pro with vacuum 07262023_093448 Hardware Calibration Report.txt @@ -0,0 +1,264 @@ +|| Instrument Info || + +Instrument Name Blackbelt Pro +Serial Number BBP1354 +Time 09:34:48 +Date 07/26/2023 + + +|| Hardware Calibration Report || + +Hardware 0 +=============================================================== + Test Port 1 + =========================================================== + + + Pressure Transducer + =========================================================== + Transducer CTS D34-440 20PSIA + Input AIN 1 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Analog Value 1 8894122 cnts + Analog Value 2 9560526 cnts + Analog Value 3 10227584 cnts + Analog Value 4 10895537 cnts + Analog Value 5 11563897 cnts + Analog Value 6 12232515 cnts + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + XDCR Analog ATM 12233332 + Atm Pressure 0.000 bar + Linearity 0.031 % + Last Cal Date 06/11/2018 + Last Cal Time 10:30:40 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 46.000 + Xdcr Zero LL 11247200.000 cnts + Xdcr Zero HL 13114800.000 cnts + Xdcr Zero Lwin -2.497 psig + Xdcr Zero Hwin 2.503 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 2147484.000 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Instrument Pressure 1 -12.496 psig + Instrument Pressure 2 -9.997 psig + Instrument Pressure 3 -7.497 psig + Instrument Pressure 4 -4.998 psig + Instrument Pressure 5 -2.499 psig + Instrument Pressure 6 0.000 psig + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + Verify Date 07/26/2023 + Verify Time 09:28:04 + + + Test Port 2 + =========================================================== + + + Pressure Transducer + =========================================================== + Transducer CTS D34-440 20PSIA + Input AIN 3 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Analog Value 1 8887041 cnts + Analog Value 2 9555883 cnts + Analog Value 3 10226078 cnts + Analog Value 4 10897254 cnts + Analog Value 5 11568951 cnts + Analog Value 6 12241139 cnts + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + XDCR Analog ATM 12242088 + Atm Pressure 0.000 bar + Linearity 0.045 % + Last Cal Date 06/11/2018 + Last Cal Time 10:37:51 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 45.000 + Xdcr Zero LL 11247200.000 cnts + Xdcr Zero HL 13114800.000 cnts + Xdcr Zero Lwin -2.496 psig + Xdcr Zero Hwin 2.504 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 2147484.000 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Instrument Pressure 1 -12.498 psig + Instrument Pressure 2 -9.999 psig + Instrument Pressure 3 -7.500 psig + Instrument Pressure 4 -5.001 psig + Instrument Pressure 5 -2.500 psig + Instrument Pressure 6 0.000 psig + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + Verify Date 07/26/2023 + Verify Time 09:31:34 + + + Test Port 3 + =========================================================== + + + Pressure Transducer + =========================================================== + Transducer CTS D34-440 20PSIA + Input AIN 5 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Analog Value 1 8890113 cnts + Analog Value 2 9558851 cnts + Analog Value 3 10228530 cnts + Analog Value 4 10899533 cnts + Analog Value 5 11571055 cnts + Analog Value 6 12243025 cnts + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + XDCR Analog ATM 12244347 + Atm Pressure 0.000 bar + Linearity 0.045 % + Last Cal Date 06/11/2018 + Last Cal Time 10:45:40 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 49.000 + Xdcr Zero LL 11247200.000 cnts + Xdcr Zero HL 13114800.000 cnts + Xdcr Zero Lwin -2.495 psig + Xdcr Zero Hwin 2.505 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 2147484.000 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Instrument Pressure 1 -12.504 psig + Instrument Pressure 2 -10.004 psig + Instrument Pressure 3 -7.501 psig + Instrument Pressure 4 -5.002 psig + Instrument Pressure 5 -2.500 psig + Instrument Pressure 6 -0.000 psig + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + Verify Date 07/20/2022 + Verify Time 14:16:39 + + + Test Port 4 + =========================================================== + + + Pressure Transducer + =========================================================== + Transducer CTS D34-440 20PSIA + Input AIN 7 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Analog Value 1 8923563 cnts + Analog Value 2 9594383 cnts + Analog Value 3 10266134 cnts + Analog Value 4 10938944 cnts + Analog Value 5 11612147 cnts + Analog Value 6 12285797 cnts + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + XDCR Analog ATM 12286594 + Atm Pressure 0.000 bar + Linearity 0.039 % + Last Cal Date 06/11/2018 + Last Cal Time 10:53:19 + Xdcr Filter Code Med, J-Filter + Xdcr Typ Residual 49.000 + Xdcr Zero LL 11247200.000 cnts + Xdcr Zero HL 13114800.000 cnts + Xdcr Zero Lwin -2.497 psig + Xdcr Zero Hwin 2.503 psig + Xdcr Analog Min 5699952.000 cnts + Xdcr Analog Max 15110248.000 cnts + Xdcr Base Min -4294967.000 + Xdcr Base Max 2147484.000 + Setpoint Pressure 1 -12.500 psig + Setpoint Pressure 2 -10.000 psig + Setpoint Pressure 3 -7.500 psig + Setpoint Pressure 4 -5.000 psig + Setpoint Pressure 5 -2.500 psig + Setpoint Pressure 6 0.000 psig + Instrument Pressure 1 -12.500 psig + Instrument Pressure 2 -10.000 psig + Instrument Pressure 3 -7.499 psig + Instrument Pressure 4 -5.000 psig + Instrument Pressure 5 -2.500 psig + Instrument Pressure 6 0.000 psig + Master Value 1 -12.500 psig + Master Value 2 -10.000 psig + Master Value 3 -7.500 psig + Master Value 4 -5.000 psig + Master Value 5 -2.500 psig + Master Value 6 0.000 psig + Verify Date 07/26/2023 + Verify Time 09:34:30 + + diff --git a/benchtop-fe/src/parsers/__tests__/parseTransducer.test.js b/benchtop-fe/src/parsers/__tests__/parseTransducer.test.js index c9d9d41..e274f50 100644 --- a/benchtop-fe/src/parsers/__tests__/parseTransducer.test.js +++ b/benchtop-fe/src/parsers/__tests__/parseTransducer.test.js @@ -1,9 +1,39 @@ const fs = require('fs'); +const path = require('path'); import parseTransducer from "../Transducer" -const file = fs.readFileSync("src/parsers/__tests__/transducer_verify.txt", 'utf8') +// const file = fs.readFileSync("src/parsers/__tests__/transducer_verify.txt", 'utf8') -test('parseTransducer', () => { - const transducer = parseTransducer(file, 0.05) - console.log(transducer) + +function readFiles(dir) { + const files = []; + + fs.readdirSync(dir).forEach(filename => { + const name = path.parse(filename).name; + const ext = path.parse(filename).ext; + const filepath = path.resolve(dir, filename); + const stat = fs.statSync(filepath); + const isFile = stat.isFile(); + + if (isFile) { + const content = fs.readFileSync(filepath, 'utf8'); + files.push({ filepath, name, ext, stat, content }); + } + }); + + files.sort((a, b) => { + // natural sort alphanumeric strings + // https://stackoverflow.com/a/38641281 + return a.name.localeCompare(b.name, undefined, { numeric: true, sensitivity: 'base' }); + }); + + return files; +} + +test('Can parse any Transducer Verify file', () => { + let files = readFiles("src/parsers/__tests__/transducer_verify/"); + for (const file of files) { + const transducer = parseTransducer(file.name, file.content, 0.05) + console.log(transducer) + } }); \ No newline at end of file diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/Blackbelt with flow 220601_143736 Transducer Verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/Blackbelt with flow 220601_143736 Transducer Verify.txt new file mode 100644 index 0000000..369dd7e --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/Blackbelt with flow 220601_143736 Transducer Verify.txt @@ -0,0 +1,86 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-442 115PSIA +Setpoint Pressure 1 0.000 psig +Setpoint Pressure 2 20.000 psig +Setpoint Pressure 3 40.000 psig +Setpoint Pressure 4 60.000 psig +Setpoint Pressure 5 80.000 psig +Setpoint Pressure 6 100.000 psig +Instrument Pressure 1 -0.001 psig +Instrument Pressure 2 19.997 psig +Instrument Pressure 3 39.997 psig +Instrument Pressure 4 60.003 psig +Instrument Pressure 5 80.004 psig +Instrument Pressure 6 100.010 psig +Master Value 1 0.000 psig +Master Value 2 20.000 psig +Master Value 3 40.000 psig +Master Value 4 60.000 psig +Master Value 5 80.000 psig +Master Value 6 100.000 psig +Verify Date 06/01/22 +Verify Time 11:11:35 + +TRANSDUCER2 +=============================================================== +Transducer 2 CTS A12-403 3LPM +Setpoint Pressure 1 25.000 psig +Setpoint Pressure 2 25.000 psig +Setpoint Pressure 3 25.000 psig +Setpoint Pressure 4 25.000 psig +Setpoint Pressure 5 25.000 psig +Setpoint Pressure 6 25.000 psig +Setpoint Pressure 7 25.000 psig +Setpoint Pressure 8 25.000 psig +Setpoint Pressure 9 25.000 psig +Setpoint Pressure 10 25.000 psig +Setpoint Pressure 11 25.000 psig +Instrument Pressure 1 25.231 psig +Instrument Pressure 2 25.205 psig +Instrument Pressure 3 25.184 psig +Instrument Pressure 4 25.168 psig +Instrument Pressure 5 25.151 psig +Instrument Pressure 6 25.133 psig +Instrument Pressure 7 25.112 psig +Instrument Pressure 8 25.087 psig +Instrument Pressure 9 25.064 psig +Instrument Pressure 10 25.035 psig +Instrument Pressure 11 25.005 psig +Instrument Flow 1 5.57 sccm +Instrument Flow 2 309.03 sccm +Instrument Flow 3 610.61 sccm +Instrument Flow 4 910.15 sccm +Instrument Flow 5 1203.70 sccm +Instrument Flow 6 1509.97 sccm +Instrument Flow 7 1812.97 sccm +Instrument Flow 8 2099.54 sccm +Instrument Flow 9 2405.21 sccm +Instrument Flow 10 2704.10 sccm +Instrument Flow 11 3004.61 sccm +Master Reading 1 0.00 sccm +Master Reading 2 300.00 sccm +Master Reading 3 600.00 sccm +Master Reading 4 900.00 sccm +Master Reading 5 1200.00 sccm +Master Reading 6 1500.00 sccm +Master Reading 7 1800.00 sccm +Master Reading 8 2100.00 sccm +Master Reading 9 2400.00 sccm +Master Reading 10 2700.00 sccm +Master Reading 11 3000.00 sccm +Master Value 1 0.00 sccm +Master Value 2 300.00 sccm +Master Value 3 600.00 sccm +Master Value 4 900.00 sccm +Master Value 5 1200.00 sccm +Master Value 6 1500.00 sccm +Master Value 7 1800.00 sccm +Master Value 8 2100.00 sccm +Master Value 9 2400.00 sccm +Master Value 10 2700.00 sccm +Master Value 11 3000.00 sccm +Verify Date 06/01/22 +Verify Time 14:37:13 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/C20 231002_102804 Transducer Verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/C20 231002_102804 Transducer Verify.txt new file mode 100644 index 0000000..0f82c59 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/C20 231002_102804 Transducer Verify.txt @@ -0,0 +1,25 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-441 45PSIA +Setpoint Pressure 1 0.000 psig +Setpoint Pressure 2 6.000 psig +Setpoint Pressure 3 12.000 psig +Setpoint Pressure 4 18.000 psig +Setpoint Pressure 5 24.000 psig +Setpoint Pressure 6 30.000 psig +Instrument Pressure 1 -0.001 psig +Instrument Pressure 2 5.999 psig +Instrument Pressure 3 12.004 psig +Instrument Pressure 4 17.995 psig +Instrument Pressure 5 23.993 psig +Instrument Pressure 6 29.991 psig +Master Value 1 0.000 psig +Master Value 2 6.000 psig +Master Value 3 12.000 psig +Master Value 4 18.000 psig +Master Value 5 24.000 psig +Master Value 6 30.000 psig +Verify Date 10/02/23 +Verify Time 10:27:24 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/C28 220808_083606 Transducer Verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/C28 220808_083606 Transducer Verify.txt new file mode 100644 index 0000000..9fd0973 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/C28 220808_083606 Transducer Verify.txt @@ -0,0 +1,25 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-440 20PSIA +Setpoint Pressure 1 -12.500 psig +Setpoint Pressure 2 -10.000 psig +Setpoint Pressure 3 -7.500 psig +Setpoint Pressure 4 -5.000 psig +Setpoint Pressure 5 -2.500 psig +Setpoint Pressure 6 0.000 psig +Instrument Pressure 1 -12.495 psig +Instrument Pressure 2 -10.000 psig +Instrument Pressure 3 -7.501 psig +Instrument Pressure 4 -5.001 psig +Instrument Pressure 5 -2.500 psig +Instrument Pressure 6 -0.001 psig +Master Value 1 -12.500 psig +Master Value 2 -10.000 psig +Master Value 3 -7.500 psig +Master Value 4 -5.000 psig +Master Value 5 -2.500 psig +Master Value 6 0.000 psig +Verify Date 08/08/22 +Verify Time 08:20:23 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with diff pressure (2 transducers) 220203_112635 Transducer Verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with diff pressure (2 transducers) 220203_112635 Transducer Verify.txt new file mode 100644 index 0000000..8fb754b --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with diff pressure (2 transducers) 220203_112635 Transducer Verify.txt @@ -0,0 +1,55 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-441 45PSIA +Setpoint Pressure 1 -12.500 psig +Setpoint Pressure 2 -10.000 psig +Setpoint Pressure 3 -7.500 psig +Setpoint Pressure 4 -5.000 psig +Setpoint Pressure 5 -2.500 psig +Setpoint Pressure 6 0.000 psig +Setpoint Pressure 7 6.000 psig +Setpoint Pressure 8 12.000 psig +Setpoint Pressure 9 18.000 psig +Setpoint Pressure 10 24.000 psig +Setpoint Pressure 11 30.000 psig +Instrument Pressure 1 -12.505 psig +Instrument Pressure 2 -10.005 psig +Instrument Pressure 3 -7.505 psig +Instrument Pressure 4 -5.003 psig +Instrument Pressure 5 -2.503 psig +Instrument Pressure 6 -0.001 psig +Instrument Pressure 7 6.001 psig +Instrument Pressure 8 12.004 psig +Instrument Pressure 9 18.007 psig +Instrument Pressure 10 24.009 psig +Instrument Pressure 11 30.010 psig +Master Value 1 -12.500 psig +Master Value 2 -10.000 psig +Master Value 3 -7.500 psig +Master Value 4 -5.000 psig +Master Value 5 -2.500 psig +Master Value 6 0.000 psig +Master Value 7 6.000 psig +Master Value 8 12.000 psig +Master Value 9 18.000 psig +Master Value 10 24.000 psig +Master Value 11 30.000 psig +Verify Date 11/17/21 +Verify Time 15:47:31 + +TRANSDUCER2 +=============================================================== +Transducer 2 CTS P10-075 5PSID +Setpoint Pressure 1 -4.500 psig +Setpoint Pressure 2 0.000 psig +Setpoint Pressure 3 4.500 psig +Instrument Pressure 1 -4.501 psig +Instrument Pressure 2 -0.002 psig +Instrument Pressure 3 4.497 psig +Master Value 1 -4.500 psig +Master Value 2 0.000 psig +Master Value 3 4.500 psig +Verify Date 02/03/22 +Verify Time 11:25:00 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with flow.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with flow.txt new file mode 100644 index 0000000..d8eabb3 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/I28 with flow.txt @@ -0,0 +1,86 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-440 20PSIA +Setpoint Pressure 1 -12.500 psig +Setpoint Pressure 2 -10.000 psig +Setpoint Pressure 3 -7.500 psig +Setpoint Pressure 4 -5.000 psig +Setpoint Pressure 5 -2.500 psig +Setpoint Pressure 6 0.000 psig +Instrument Pressure 1 -12.502 psig +Instrument Pressure 2 -10.001 psig +Instrument Pressure 3 -7.502 psig +Instrument Pressure 4 -4.999 psig +Instrument Pressure 5 -2.500 psig +Instrument Pressure 6 -0.001 psig +Master Value 1 -12.500 psig +Master Value 2 -10.000 psig +Master Value 3 -7.500 psig +Master Value 4 -5.000 psig +Master Value 5 -2.500 psig +Master Value 6 0.000 psig +Verify Date 05/19/22 +Verify Time 16:03:01 + +TRANSDUCER3 +=============================================================== +Transducer 3 CTS A12-220 50SCCM +Setpoint Pressure 1 -7.500 psig +Setpoint Pressure 2 -7.500 psig +Setpoint Pressure 3 -7.500 psig +Setpoint Pressure 4 -7.500 psig +Setpoint Pressure 5 -7.500 psig +Setpoint Pressure 6 -7.500 psig +Setpoint Pressure 7 -7.500 psig +Setpoint Pressure 8 -7.500 psig +Setpoint Pressure 9 -7.500 psig +Setpoint Pressure 10 -7.500 psig +Setpoint Pressure 11 -7.500 psig +Instrument Pressure 1 -7.566 psig +Instrument Pressure 2 -7.551 psig +Instrument Pressure 3 -7.533 psig +Instrument Pressure 4 -7.516 psig +Instrument Pressure 5 -7.500 psig +Instrument Pressure 6 -7.458 psig +Instrument Pressure 7 -7.536 psig +Instrument Pressure 8 -7.502 psig +Instrument Pressure 9 -7.492 psig +Instrument Pressure 10 -7.474 psig +Instrument Pressure 11 -7.461 psig +Instrument Flow 1 0.02 sccm +Instrument Flow 2 4.91 sccm +Instrument Flow 3 10.07 sccm +Instrument Flow 4 15.03 sccm +Instrument Flow 5 19.93 sccm +Instrument Flow 6 24.97 sccm +Instrument Flow 7 29.92 sccm +Instrument Flow 8 34.98 sccm +Instrument Flow 9 40.03 sccm +Instrument Flow 10 44.96 sccm +Instrument Flow 11 49.99 sccm +Master Reading 1 0.00 sccm +Master Reading 2 5.00 sccm +Master Reading 3 10.00 sccm +Master Reading 4 15.00 sccm +Master Reading 5 20.00 sccm +Master Reading 6 25.00 sccm +Master Reading 7 30.00 sccm +Master Reading 8 35.00 sccm +Master Reading 9 40.00 sccm +Master Reading 10 45.00 sccm +Master Reading 11 50.00 sccm +Master Value 1 0.00 sccm +Master Value 2 5.00 sccm +Master Value 3 10.00 sccm +Master Value 4 15.00 sccm +Master Value 5 20.00 sccm +Master Value 6 25.00 sccm +Master Value 7 30.00 sccm +Master Value 8 35.00 sccm +Master Value 9 40.00 sccm +Master Value 10 45.00 sccm +Master Value 11 50.00 sccm +Verify Date 05/19/22 +Verify Time 17:04:11 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/LPC 221103_084401 Transducer Verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/LPC 221103_084401 Transducer Verify.txt new file mode 100644 index 0000000..6658a6f --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/LPC 221103_084401 Transducer Verify.txt @@ -0,0 +1,40 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-442 115PSIA +Setpoint Pressure 1 0.000 psig +Setpoint Pressure 2 20.000 psig +Setpoint Pressure 3 40.000 psig +Setpoint Pressure 4 60.000 psig +Setpoint Pressure 5 80.000 psig +Setpoint Pressure 6 100.000 psig +Instrument Pressure 1 -0.001 psig +Instrument Pressure 2 19.997 psig +Instrument Pressure 3 39.999 psig +Instrument Pressure 4 60.002 psig +Instrument Pressure 5 79.996 psig +Instrument Pressure 6 100.008 psig +Master Value 1 0.000 psig +Master Value 2 20.000 psig +Master Value 3 40.000 psig +Master Value 4 60.000 psig +Master Value 5 80.000 psig +Master Value 6 100.000 psig +Verify Date 11/03/22 +Verify Time 08:27:34 + +TRANSDUCER2 +=============================================================== +Transducer 2 CTS P10-075 5PSID +Setpoint Pressure 1 -4.500 psig +Setpoint Pressure 2 0.000 psig +Setpoint Pressure 3 4.500 psig +Instrument Pressure 1 -4.500 psig +Instrument Pressure 2 0.000 psig +Instrument Pressure 3 4.498 psig +Master Value 1 -4.500 psig +Master Value 2 0.000 psig +Master Value 3 4.500 psig +Verify Date 11/03/22 +Verify Time 08:43:31 + diff --git a/benchtop-fe/src/parsers/__tests__/transducer_verify/MH MH20494 20230323035942_report_trans_verify.txt b/benchtop-fe/src/parsers/__tests__/transducer_verify/MH MH20494 20230323035942_report_trans_verify.txt new file mode 100644 index 0000000..ac46f19 --- /dev/null +++ b/benchtop-fe/src/parsers/__tests__/transducer_verify/MH MH20494 20230323035942_report_trans_verify.txt @@ -0,0 +1,40 @@ +|| Transducer Verify Report || +TRANSDUCER1 +=============================================================== +Transducer 1 CTS D34-441 45PSIA +Setpoint Pressure 1 0.000 psig +Setpoint Pressure 2 6.000 psig +Setpoint Pressure 3 12.000 psig +Setpoint Pressure 4 18.000 psig +Setpoint Pressure 5 24.000 psig +Setpoint Pressure 6 30.000 psig +Instrument Pressure 1 -0.000 psig +Instrument Pressure 2 5.990 psig +Instrument Pressure 3 11.998 psig +Instrument Pressure 4 18.004 psig +Instrument Pressure 5 24.006 psig +Instrument Pressure 6 30.002 psig +Master Value 1 0.000 psig +Master Value 2 6.000 psig +Master Value 3 12.000 psig +Master Value 4 18.000 psig +Master Value 5 24.000 psig +Master Value 6 30.000 psig +Verify Date 03/23/23 +Verify Time 15:47:14 + +TRANSDUCER2 +=============================================================== +Transducer 2 CTS P10-075 5PSID +Setpoint Pressure 1 -4.500 psig +Setpoint Pressure 2 0.000 psig +Setpoint Pressure 3 4.500 psig +Instrument Pressure 1 -4.469 psig +Instrument Pressure 2 0.028 psig +Instrument Pressure 3 4.523 psig +Master Value 1 -4.500 psig +Master Value 2 0.000 psig +Master Value 3 4.500 psig +Verify Date 03/23/23 +Verify Time 15:49:23 +