# This configuration file is Python code. You should not # need to change it; but if you do, you need to know that # in Python, the *indentation matters*. # To effectively remove an instrument from UHDAS control, # uncomment one and only one of the "instdel = 0" and # "instdel = 1" lines, # and comment out the "instdel = None" line. # (Don't do this unless you are sure you need to.) # Then restart UHDAS; it is not enough to simply stop and # restart logging, or even a cruise. #instdel = 0 # to disable Ocean Surveyor #instdel = 1 # to disable Narrowband 150 instdel = None # normally left uncommented # Again: of the three lines above, one and only one MUST be left # uncommented (that is, without the "#" character in front of it), # and the uncommented line MUST start in the first column. # 2-letter abbreviation for logging file prefix and constructing dbase name; # read by procsetup.py shipabbrev = "oc" ADCPs = [ { 'instrument' : 'os75', 'setup' : 'rdi_setup', 'terminal' : 'oswh_term', 'defaultcmd' : 'os75_default.cmd', 'commands' : ('EA04500',), 'datatypes' : ('os75bb', 'os75nb'), 'wakeup_baud' : 9600 }, { 'instrument' : 'nb150', 'setup' : 'rdi_setup', 'terminal' : 'nb_term', 'defaultcmd' : 'nb150_default.cmd', 'commands' : (), 'datatypes' : ('nb150',), 'wakeup_baud' : 19200 } ] # This line should not be edited common_opts = '-f %s -F -m 1 -H 2 ' % (shipabbrev,) sensors = [ { 'instrument' : 'os75', # Passive logging of OS 'device' : 'ttyn1a', 'baud' : 19200, 'format' : 'binary', 'subdir' : 'os75', 'ext' : 'raw', 'opt' : '-rlE -c -O -I'}, # Note -I option for new ser_bin. { 'instrument' : 'nb150', # Passive logging of NB150 'device' : 'ttyn1d', 'baud' : 19200, 'format' : 'binary', 'subdir' : 'nb150', 'ext' : 'raw', 'opt' : '-rlE -c -I'}, # Again, -I option. { 'instrument' : 'Ashtech', 'device' : 'ttyn1c', 'baud' : 9600, 'format' : 'ascii', 'subdir' : 'ashtech', 'ext' : 'adu', 'strings' : ('$GPGGA', '$PASHR,ATT'), 'messages' : ('gps', 'adu'), 'opt' : '-tc'}, { 'instrument' : 'GPS Trm', 'device' : 'ttyn1e', 'baud' : 4800, 'format' : 'ascii', 'subdir' : 'gpsnav', 'ext' : 'gps', 'strings' : ('$GPGGA',), 'messages' : ('gps',), 'opt' : '-tc'}, { 'instrument' : 'Gyro', 'device' : 'ttyn1b', 'baud' : 9600, 'format' : 'ascii', 'subdir' : 'gyro', 'ext' : 'hdg', 'strings' : ('$HEHDT',), 'messages' : ('hdg',), 'opt' : '-tc'} ] #### DO NOT CHANGE the following ################ if instdel is not None: del(sensors[instdel]) del(ADCPs[instdel])