hardware calibration

This commit is contained in:
Tyrel Souza 2023-10-14 10:40:54 -04:00
parent d747fc9769
commit 0d5507b0f9
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
5 changed files with 682 additions and 5 deletions

View File

@ -1,4 +1,4 @@
parseInstrumentInfo = (text) => {
const parseInstrumentInfo = (text) => {
const instrumentInfo = {};
const lines = text.split("\n").slice(2);
@ -12,7 +12,7 @@ parseInstrumentInfo = (text) => {
return instrumentInfo;
}
parsePorts = (text) => {
const parsePorts = (text) => {
text += "\n\n"; // Ensure extra newline to match on
const pattern = /(Test Port \d)/g;
const matches = text.split(pattern).slice(1);
@ -32,7 +32,7 @@ const KEEP = {
"Pressure Transducer": ["Instrument Pressure", "Master Value"],
};
parseCalibrationData = (text) => {
const parseCalibrationData = (text) => {
const pattern = /(Mass Flow Trans|Pressure Transducer)\n([\s\S]+?)\n\n/g;
const matches = [...text.matchAll(pattern)];
const calibrationData = {};
@ -62,7 +62,7 @@ parseCalibrationData = (text) => {
return calibrationData;
}
export default parseHardwareCalibration = (content, accuracy) => {
export default function parseHardwareCalibration(content, accuracy) {
const sections = content.split("|| Hardware Calibration Report ||");
const instrumentInfo = parseInstrumentInfo(sections[0]);
const calibrationData = parsePorts(sections[1]);

View File

@ -0,0 +1,130 @@
{
"Test Port 1": {
"Mass Flow Trans": {
"name": "Custom",
"Instrument Flow 1": "0.038 sccm",
"Instrument Flow 2": "4.075 sccm",
"Instrument Flow 3": "8.151 sccm",
"Instrument Flow 4": "12.124 sccm",
"Instrument Flow 5": "16.213 sccm",
"Instrument Flow 6": "20.165 sccm",
"Master Reading 1": "0.000 sccm",
"Master Reading 2": "4.000 sccm",
"Master Reading 3": "8.000 sccm",
"Master Reading 4": "12.000 sccm",
"Master Reading 5": "16.000 sccm",
"Master Reading 6": "20.000 sccm"
},
"Pressure Transducer": {
"name": "45PSIA",
"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",
"Instrument Pressure 1": "0.000 psig",
"Instrument Pressure 2": "6.000 psig",
"Instrument Pressure 3": "11.999 psig",
"Instrument Pressure 4": "17.998 psig",
"Instrument Pressure 5": "23.997 psig",
"Instrument Pressure 6": "29.997 psig"
}
},
"Test Port 2": {
"Mass Flow Trans": {
"name": "Custom",
"Instrument Flow 1": "0.049 sccm",
"Instrument Flow 2": "4.122 sccm",
"Instrument Flow 3": "8.171 sccm",
"Instrument Flow 4": "12.220 sccm",
"Instrument Flow 5": "16.204 sccm",
"Instrument Flow 6": "20.221 sccm",
"Master Reading 1": "0.000 sccm",
"Master Reading 2": "4.000 sccm",
"Master Reading 3": "8.000 sccm",
"Master Reading 4": "12.000 sccm",
"Master Reading 5": "16.000 sccm",
"Master Reading 6": "20.000 sccm"
},
"Pressure Transducer": {
"name": "45PSIA",
"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",
"Instrument Pressure 1": "-0.000 psig",
"Instrument Pressure 2": "5.999 psig",
"Instrument Pressure 3": "12.000 psig",
"Instrument Pressure 4": "17.998 psig",
"Instrument Pressure 5": "23.999 psig",
"Instrument Pressure 6": "29.999 psig"
}
},
"Test Port 3": {
"Mass Flow Trans": {
"name": "Custom",
"Instrument Flow 1": "0.005 sccm",
"Instrument Flow 2": "4.091 sccm",
"Instrument Flow 3": "8.123 sccm",
"Instrument Flow 4": "12.135 sccm",
"Instrument Flow 5": "16.175 sccm",
"Instrument Flow 6": "20.202 sccm",
"Master Reading 1": "0.000 sccm",
"Master Reading 2": "4.000 sccm",
"Master Reading 3": "8.000 sccm",
"Master Reading 4": "12.000 sccm",
"Master Reading 5": "16.000 sccm",
"Master Reading 6": "20.000 sccm"
},
"Pressure Transducer": {
"name": "45PSIA",
"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",
"Instrument Pressure 1": "-0.000 psig",
"Instrument Pressure 2": "6.000 psig",
"Instrument Pressure 3": "12.002 psig",
"Instrument Pressure 4": "18.000 psig",
"Instrument Pressure 5": "24.002 psig",
"Instrument Pressure 6": "30.001 psig"
}
},
"Test Port 4": {
"Mass Flow Trans": {
"name": "Custom",
"Instrument Flow 1": "-0.002 sccm",
"Instrument Flow 2": "4.051 sccm",
"Instrument Flow 3": "7.989 sccm",
"Instrument Flow 4": "12.073 sccm",
"Instrument Flow 5": "16.013 sccm",
"Instrument Flow 6": "20.043 sccm",
"Master Reading 1": "0.000 sccm",
"Master Reading 2": "4.000 sccm",
"Master Reading 3": "8.000 sccm",
"Master Reading 4": "12.000 sccm",
"Master Reading 5": "16.000 sccm",
"Master Reading 6": "20.000 sccm"
},
"Pressure Transducer": {
"name": "45PSIA",
"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",
"Instrument Pressure 1": "-0.000 psig",
"Instrument Pressure 2": "5.999 psig",
"Instrument Pressure 3": "11.999 psig",
"Instrument Pressure 4": "17.998 psig",
"Instrument Pressure 5": "23.997 psig",
"Instrument Pressure 6": "29.997 psig"
}
}
}

View File

@ -0,0 +1,538 @@
|| Instrument Info ||
Instrument Name Chassis2 Adult
Serial Number BBP1736
Time 11:31:39
Date 07/12/2022
|| Hardware Calibration Report ||
Hardware 0
===============================================================
Test Port 1
===========================================================
Mass Flow Trans
===========================================================
Transducer Custom
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
Analog Value 1 8688254 cnts
Analog Value 2 9864771 cnts
Analog Value 3 11053088 cnts
Analog Value 4 12185889 cnts
Analog Value 5 13357767 cnts
Analog Value 6 14524278 cnts
Master Value 1 0.041 sccm
Master Value 2 4.059 sccm
Master Value 3 8.150 sccm
Master Value 4 11.980 sccm
Master Value 5 15.995 sccm
Master Value 6 19.985 sccm
Linearity 0.129 %
Last Cal Date 12/07/2020
Last Cal Time 10:35:20
Xdcr Filter Code Median
Xdcr Typ Residual 108.000
Xdcr Zero LL 0.000 cnts
Xdcr Zero HL 0.000 cnts
Xdcr Zero Lwin 0.000
Xdcr Zero Hwin 0.000
Xdcr Analog Min 0.000 cnts
Xdcr Analog Max 0.000 cnts
Xdcr Base Min 0.000
Xdcr Base Max 0.000
Setpoint Pressure 1 5.800 psig
Setpoint Pressure 2 5.800 psig
Setpoint Pressure 3 5.800 psig
Setpoint Pressure 4 5.800 psig
Setpoint Pressure 5 5.800 psig
Setpoint Pressure 6 5.800 psig
Instrument Pressure 1 5.824 psig
Instrument Pressure 2 5.822 psig
Instrument Pressure 3 5.820 psig
Instrument Pressure 4 5.818 psig
Instrument Pressure 5 5.816 psig
Instrument Pressure 6 5.815 psig
Instrument Flow 1 0.038 sccm
Instrument Flow 2 4.075 sccm
Instrument Flow 3 8.151 sccm
Instrument Flow 4 12.124 sccm
Instrument Flow 5 16.213 sccm
Instrument Flow 6 20.165 sccm
Master Value 1 0.000 sccm
Master Value 2 4.000 sccm
Master Value 3 8.000 sccm
Master Value 4 12.000 sccm
Master Value 5 16.000 sccm
Master Value 6 20.000 sccm
Master Reading 1 0.000 sccm
Master Reading 2 4.000 sccm
Master Reading 3 8.000 sccm
Master Reading 4 12.000 sccm
Master Reading 5 16.000 sccm
Master Reading 6 20.000 sccm
Verify Date 07/12/2022
Verify Time 10:54:56
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 10087020 cnts
Analog Value 2 10810568 cnts
Analog Value 3 11532365 cnts
Analog Value 4 12252414 cnts
Analog Value 5 12970722 cnts
Analog Value 6 13687182 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 10086749
Atm Pressure -0.000 bar
Linearity 0.082 %
Last Cal Date 12/07/2020
Last Cal Time 09:03:38
Xdcr Filter Code Med, J-Filter
Xdcr Typ Residual 80.000
Xdcr Zero LL 9654557.000 cnts
Xdcr Zero HL 10485333.000 cnts
Xdcr Zero Lwin -2.501 psig
Xdcr Zero Hwin 2.499 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.998 psig
Instrument Pressure 5 23.997 psig
Instrument Pressure 6 29.997 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 07/12/2022
Verify Time 08:14:59
Test Port 2
===========================================================
Mass Flow Trans
===========================================================
Transducer Custom
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
Analog Value 1 8689552 cnts
Analog Value 2 9914953 cnts
Analog Value 3 11057751 cnts
Analog Value 4 12214973 cnts
Analog Value 5 13397425 cnts
Analog Value 6 14516985 cnts
Master Value 1 0.054 sccm
Master Value 2 4.255 sccm
Master Value 3 8.124 sccm
Master Value 4 12.146 sccm
Master Value 5 16.159 sccm
Master Value 6 19.993 sccm
Linearity 0.166 %
Last Cal Date 12/07/2020
Last Cal Time 10:50:52
Xdcr Filter Code Median
Xdcr Typ Residual 83.000
Xdcr Zero LL 0.000 cnts
Xdcr Zero HL 0.000 cnts
Xdcr Zero Lwin 0.000
Xdcr Zero Hwin 0.000
Xdcr Analog Min 0.000 cnts
Xdcr Analog Max 0.000 cnts
Xdcr Base Min 0.000
Xdcr Base Max 0.000
Setpoint Pressure 1 5.800 psig
Setpoint Pressure 2 5.800 psig
Setpoint Pressure 3 5.800 psig
Setpoint Pressure 4 5.800 psig
Setpoint Pressure 5 5.800 psig
Setpoint Pressure 6 5.800 psig
Instrument Pressure 1 5.780 psig
Instrument Pressure 2 5.779 psig
Instrument Pressure 3 5.808 psig
Instrument Pressure 4 5.809 psig
Instrument Pressure 5 5.807 psig
Instrument Pressure 6 5.807 psig
Instrument Flow 1 0.049 sccm
Instrument Flow 2 4.122 sccm
Instrument Flow 3 8.171 sccm
Instrument Flow 4 12.220 sccm
Instrument Flow 5 16.204 sccm
Instrument Flow 6 20.221 sccm
Master Value 1 0.000 sccm
Master Value 2 4.000 sccm
Master Value 3 8.000 sccm
Master Value 4 12.000 sccm
Master Value 5 16.000 sccm
Master Value 6 20.000 sccm
Master Reading 1 0.000 sccm
Master Reading 2 4.000 sccm
Master Reading 3 8.000 sccm
Master Reading 4 12.000 sccm
Master Reading 5 16.000 sccm
Master Reading 6 20.000 sccm
Verify Date 07/12/2022
Verify Time 11:01:54
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 10050243 cnts
Analog Value 2 10763409 cnts
Analog Value 3 11474665 cnts
Analog Value 4 12184422 cnts
Analog Value 5 12892174 cnts
Analog Value 6 13598393 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 10050055
Atm Pressure -0.000 bar
Linearity 0.082 %
Last Cal Date 12/07/2020
Last Cal Time 09:11:34
Xdcr Filter Code Med, J-Filter
Xdcr Typ Residual 59.000
Xdcr Zero LL 9654557.000 cnts
Xdcr Zero HL 10485333.000 cnts
Xdcr Zero Lwin -2.501 psig
Xdcr Zero Hwin 2.499 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 12.000 psig
Instrument Pressure 4 17.998 psig
Instrument Pressure 5 23.999 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 07/12/2022
Verify Time 08:21:53
Test Port 3
===========================================================
Mass Flow Trans
===========================================================
Transducer Custom
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
Analog Value 1 8686103 cnts
Analog Value 2 9889340 cnts
Analog Value 3 11072089 cnts
Analog Value 4 12249269 cnts
Analog Value 5 13397809 cnts
Analog Value 6 14502802 cnts
Master Value 1 0.007 sccm
Master Value 2 4.155 sccm
Master Value 3 8.207 sccm
Master Value 4 12.206 sccm
Master Value 5 16.165 sccm
Master Value 6 19.942 sccm
Linearity 0.096 %
Last Cal Date 12/07/2020
Last Cal Time 14:29:53
Xdcr Filter Code Median
Xdcr Typ Residual 722632.000
Xdcr Zero LL 0.000 cnts
Xdcr Zero HL 0.000 cnts
Xdcr Zero Lwin 0.000
Xdcr Zero Hwin 0.000
Xdcr Analog Min 0.000 cnts
Xdcr Analog Max 0.000 cnts
Xdcr Base Min 0.000
Xdcr Base Max 0.000
Setpoint Pressure 1 5.800 psig
Setpoint Pressure 2 5.800 psig
Setpoint Pressure 3 5.800 psig
Setpoint Pressure 4 5.800 psig
Setpoint Pressure 5 5.800 psig
Setpoint Pressure 6 5.800 psig
Instrument Pressure 1 5.892 psig
Instrument Pressure 2 5.889 psig
Instrument Pressure 3 5.887 psig
Instrument Pressure 4 5.884 psig
Instrument Pressure 5 5.883 psig
Instrument Pressure 6 5.881 psig
Instrument Flow 1 0.005 sccm
Instrument Flow 2 4.091 sccm
Instrument Flow 3 8.123 sccm
Instrument Flow 4 12.135 sccm
Instrument Flow 5 16.175 sccm
Instrument Flow 6 20.202 sccm
Master Value 1 0.000 sccm
Master Value 2 4.000 sccm
Master Value 3 8.000 sccm
Master Value 4 12.000 sccm
Master Value 5 16.000 sccm
Master Value 6 20.000 sccm
Master Reading 1 0.000 sccm
Master Reading 2 4.000 sccm
Master Reading 3 8.000 sccm
Master Reading 4 12.000 sccm
Master Reading 5 16.000 sccm
Master Reading 6 20.000 sccm
Verify Date 07/12/2022
Verify Time 11:18:36
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 10008894 cnts
Analog Value 2 10714413 cnts
Analog Value 3 11418030 cnts
Analog Value 4 12120292 cnts
Analog Value 5 12820552 cnts
Analog Value 6 13519203 cnts
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
XDCR Analog ATM 10008874
Atm Pressure -0.000 bar
Linearity 0.081 %
Last Cal Date 07/12/2022
Last Cal Time 09:09:57
Xdcr Filter Code Med, J-Filter
Xdcr Typ Residual 121.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 6.000 psig
Instrument Pressure 3 12.002 psig
Instrument Pressure 4 18.000 psig
Instrument Pressure 5 24.002 psig
Instrument Pressure 6 30.001 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 07/12/2022
Verify Time 09:13:02
Test Port 4
===========================================================
Mass Flow Trans
===========================================================
Transducer Custom
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
Analog Value 1 8684522 cnts
Analog Value 2 9881552 cnts
Analog Value 3 11081720 cnts
Analog Value 4 12240018 cnts
Analog Value 5 13413541 cnts
Analog Value 6 14535797 cnts
Master Value 1 0.000 sccm
Master Value 2 4.090 sccm
Master Value 3 8.134 sccm
Master Value 4 12.132 sccm
Master Value 5 16.121 sccm
Master Value 6 19.984 sccm
Linearity 0.194 %
Last Cal Date 12/07/2020
Last Cal Time 11:27:27
Xdcr Filter Code Median
Xdcr Typ Residual 13.000
Xdcr Zero LL 0.000 cnts
Xdcr Zero HL 0.000 cnts
Xdcr Zero Lwin 0.000
Xdcr Zero Hwin 0.000
Xdcr Analog Min 0.000 cnts
Xdcr Analog Max 0.000 cnts
Xdcr Base Min 0.000
Xdcr Base Max 0.000
Setpoint Pressure 1 5.800 psig
Setpoint Pressure 2 5.800 psig
Setpoint Pressure 3 5.800 psig
Setpoint Pressure 4 5.800 psig
Setpoint Pressure 5 5.800 psig
Setpoint Pressure 6 5.800 psig
Instrument Pressure 1 5.835 psig
Instrument Pressure 2 5.837 psig
Instrument Pressure 3 5.839 psig
Instrument Pressure 4 5.841 psig
Instrument Pressure 5 5.841 psig
Instrument Pressure 6 5.841 psig
Instrument Flow 1 -0.002 sccm
Instrument Flow 2 4.051 sccm
Instrument Flow 3 7.989 sccm
Instrument Flow 4 12.073 sccm
Instrument Flow 5 16.013 sccm
Instrument Flow 6 20.043 sccm
Master Value 1 0.000 sccm
Master Value 2 4.000 sccm
Master Value 3 8.000 sccm
Master Value 4 12.000 sccm
Master Value 5 16.000 sccm
Master Value 6 20.000 sccm
Master Reading 1 0.000 sccm
Master Reading 2 4.000 sccm
Master Reading 3 8.000 sccm
Master Reading 4 12.000 sccm
Master Reading 5 16.000 sccm
Master Reading 6 20.000 sccm
Verify Date 07/12/2022
Verify Time 11:26:40
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 10046563 cnts
Analog Value 2 10762536 cnts
Analog Value 3 11476853 cnts
Analog Value 4 12189519 cnts
Analog Value 5 12900160 cnts
Analog Value 6 13609169 cnts
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
XDCR Analog ATM 10046626
Atm Pressure 0.000 bar
Linearity 0.083 %
Last Cal Date 07/12/2022
Last Cal Time 08:57:20
Xdcr Filter Code Med, J-Filter
Xdcr Typ Residual 138.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.999 psig
Instrument Pressure 3 11.999 psig
Instrument Pressure 4 17.998 psig
Instrument Pressure 5 23.997 psig
Instrument Pressure 6 29.997 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 07/12/2022
Verify Time 09:04:54

View File

@ -0,0 +1,9 @@
const fs = require('fs');
import parseHardwareCalibration from "../Hardware"
const file = fs.readFileSync("src/parsers/__tests__/hardware_calibration.txt", 'utf8')
test('parseHardwareCalibration', () => {
const hardware = parseHardwareCalibration(file, 0.05)
console.log(hardware)
});

View File

@ -3,7 +3,7 @@ import parseTransducer from "../Transducer"
const file = fs.readFileSync("src/parsers/__tests__/transducer_verify.txt", 'utf8')
test('Check if 1 equals 1', () => {
test('parseTransducer', () => {
const transducer = parseTransducer(file, 0.05)
console.log(transducer)
});