capture config¶
The capture configuration file is typically stored under ~/.macs/capture.json
and contains several parameters about the current capture configuration.
It may look like the following:
{
"broker": "blesshuhn.meteo.physik.uni-muenchen.de",
"cameras":[
{
"name": "vnir",
"type": "imaq",
"source": "RSCUBE_VNIR::img0"
},
{
"name": "swir",
"type": "imaq",
"source": "RSCUBE_SWIR::img0"
}
],
"storageLocations": ["K:/", "L:/", "M:/"],
"mount": {"port": "COM2"}
}
Which contains the two most important entries, namely the rocbroker address an the connected cameras.
Furthermore, storageLocations
defines a list of filesystem locations, where captured data may be stored and mount
defines how the scanning mount is connected to the computer.
More configuration examples can be found in the configs
directory of the sourcecode repository.
note: | It is well possible, to have different configuration files on multiple computers connecting to the same broker. If e.g. there are two computers with different cameras connected, the capturing computers should list only their own cameras while the operator computer can list all of them. |
---|
The configuration file will be read by all programs participating in the acquisition system, each progam uses only the parts of the file which are sensible to it.