dfe_test - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > test
DESCRIPTION
The dfe_test utility is used to perform a quality control test on South Coast Science digital front-end (DFE) boards. The test exercises all of the ADCs and connectors.
The output of the test is a JSON document, summarising the result of each of a series of tests.
Ideally, a standard resistor load should be attached to the AFE connector of the DFE before the test is run.
SYNOPSIS
dfe_test.py [-e] [-g] [-r] [-v] DFE_SERIAL_NUMBER
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-e, --eeprom | ignore EEPROM |
-g, --gps | ignore GPS module |
-r, --rtc | ignore real-time clock |
-v, --verbose | report narrative to stderr |
EXAMPLES
./dfe_test.py -g -r -v 123
DOCUMENT EXAMPLE - OUTPUT
{"tag": "scs-ap1-6", "rec": "2018-04-06T16:08:45.037+00:00", "val": {"host-sn": "0000000040d4d158", "dfe-sn": "123", "result": "FAIL", "subjects": {"RTC": "-", "BoardTemp": "OK", "OPC": "FAIL", "GPS": "-", "Int SHT": "OK", "Ext SHT": "OK", "Pt1000": "OK", "AFE": "FAIL", "EEPROM": "OK"}, "afe": {"pt1": {"v": 0.323286, "tmp": 22.8}, "sns": {"CO": {"weV": 0.339005, "aeV": 0.257254, "weC": 0.042188, "cnc": 155.1}, "SO2": {"weV": 0.267942, "aeV": 0.275942, "weC": -0.009696, "cnc": -26.4}, "H2S": {"weV": 0.296192, "aeV": 0.285754, "weC": 0.026254, "cnc": 19.4}, "VOC": {"weV": 0.102627, "weC": 0.102037, "cnc": 1300.9}}}}}