opc_firmware_conf - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > configuration
DESCRIPTION
The opc_conf utility is used to inspect or update Alphasense OPC configuration variables. Alternative values can be tested, then subsequently committed to the OPC's non-volatile memory.
SYNOPSIS
opc_firmware_conf.py [-n NAME] [{ -s FIELD VALUE | -f CONF_FILE }] [-c] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-n NAME, --name=NAME | the name of the OPC configuration |
-s SET, --set=SET | set FIELD to integer VALUE |
-c, --commit | commit the configuration to non-volatile memory |
-v, --verbose | report narrative to stderr |
EXAMPLES
./opc_firmware_conf.py -v -s bin-weighting-index 2 -c
DOCUMENT EXAMPLE
{"bin-boundaries": [14, 40, 80, 120, 145, 215, 340, 590, 846, 1363, 2029, 2848, 4119, 5527, 7076, 8624, 10204, 11815, 13457, 15897, 18305, 20698, 22966, 25140, 27158], "bin-boundaries-diameter": [35, 46, 66, 100, 130, 170, 230, 300, 400, 520, 650, 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200, 2500, 2800, 3100, 3400, 3700, 4000], "bin-weightings": [165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165], "pm-diameter-a": 100, "pm-diameter-b": 250, "pm-diameter-c": 1000, "max-tof": 4095, "am-sampling-interval-count": 1, "am-middle-interval-count": 0, "am-max-data_arrays-in-file": 61798, "am-only-save-pm-data": false, "am-fan-on-in-idle": false, "am-laser-on-in-idle": false, "tof-to-sfr-factor": 56, "pvp": 48, "bin-weighting-index": 2}
SEE ALSO
scs_mfr/opc_conf
scs_mfr/opc_version
BUGS
Currently, the utility only supports the Alphasense OPC-N3. Additionally, the array fields 'bin-boundaries', 'bin-boundaries-diameter', and 'bin-weightings' cannot currently be updated.