fdhwlib  2.0.25
Bgrecord inifile

The background data recorder can be customized using the section "bgrecord" in the inifile of the calling application.

The following parameters are known by the recorder:

  • varlevel
  • basedir
  • runfile
  • calfile
  • runtsample
  • caltsample
  • server
  • name
  • user
  • password
  • runtable
  • sampletable
  • pixeltable
  • usegpslocation Disable gpsserver request to determine the location
  • gpsserver
  • gpsport
  • location Name and Id of the current location
  • uniquetel Enable use of unique telescope id's from 1..24.

Sample configuration file (FE-bgrecord.ini):

; FE-bgrecord.ini
; Sample configuration file for bgtools
; A. Kopmann, 16.2.2007
;


; The variables can use templates.
; Known templates are <location>, <date> and
; <i> or <a>. The last two templates will select
; the next free number or letter. (1,2,3,.. or a,b,c, ...)
;
;
[bgrecord]
varlevel = 5 200              ; Warning level for the ADC variance

;
; bgrun / bgcal standards
;
basedir = /fd-data/FD-<location>
runfile = bg_run_<location>_<date>_<a>.txt
calfile = bg_<location>_<date>_<a>.txt
runtsample = 30
caltsample = 5

;
; Database parameter
;
server = localhost
database = FD<location>
;database =                   ; Do not write to the database
user = auger
password =

runtable = BGRunTab
sampletable = BGSampleTab
pixeltable = BGPixelTab

;
; Localisation parameter
;
usegpslocation = 1            ; Enable gpsserver location request
gpsserver = localhost
gpsport = 0
;location = Luise 13          ; Give a location (will override gpsserver request)