interface_conf - bruno-beloff/scs_mfr GitHub Wiki

docs > software repositories > scs_mfr > commands > configuration


DESCRIPTION

The interface_conf utility is used to specify whether a South Coast Science sensor interface is present on the host system and, if so, which type it is. A distinction is made between the sensor interface (which controls power and access to all sensors) and the gas interface, which controls access to electrochemical and VOC A4 sensors.

Sensor interface types are:

  • DFE - the digital front-end board for Praxis/Urban
  • OPCubeT1 - the man processor board for Praxis/Cube
  • PZHBtN - the header breakout board for Praxis/Handheld

Gas interface types are:

  • AFE - Alphasense analogue front-end board
  • ISI - South Coast Science integrated single interface

If an AFE is selected, the use of the analogue-digital converter for the Pt1000 temperature sensor should be specified.

Permitted combinations:

Code Sensor interface Gas interface Pt1000 ADC
DFE DFE AFE -
DFE/0x68 DFE AFE 0x68
DFE/0x69 DFE AFE 0x69
DFE/ISI DFE ISI -
OPCubeT1 OPCube ISI -
PZHBt0 PZHB ISI -
PZHBt1 PZHB ISI -
PZHBt2 PZHB ISI -
PZHBt3 PZHB ISI -

The scs_dev sampler processes must be restarted for changes to take effect.

SYNOPSIS

interface_conf.py [{ -m MODEL | -d }] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-m MODEL, --model=MODEL interface model { DFE | DFE/0x68 | DFE/0x69 | DFE/ISI | OPCubeT1 | PZHBt0 | PZHBt1 | PZHBt2 | PZHBt3 }
-d, --delete delete the interface configuration
-v, --verbose report narrative to stderr

EXAMPLES

./interface_conf.py -m DFE

DOCUMENT EXAMPLE

{"model": "DFE"}

FILES

~/SCS/conf/interface_conf.json

SEE ALSO

scs_dev/gases_sampler

scs_mfr/pt1000_calib