              ,^                                                                                            ;---------------------------------------------------------------------------
; My notes
;---------------------------------------------------------------------------
; 1) Need to update file output prefix
; 2) Need to update probe calibration if changes are made
; 3) Need to update cicrcuit board coef if changes are made
; 
;---------------------------------------------------------------------------
; ROCKLAND NOTES
;---------------------------------------------------------------------------
; Standard configuration setup.cfg file for a downward profiling VMP.

; Change the vehicle type in the [instrument_info] section to rvmp for an

; uprising profiler.

; Created by RSI, 2015-12-17

; Modified by Dave Cronkrite, 2016-02-05, replaced ASTP board.

; Any line that starts with a semicolon, ";", is a comment and is ignored by 

; software. Likewise, everything to the right of a semicolon is ignored.

; Use this feature to leave notes and to indicate that you have made changes 

; to this file. Indicate the date (YYYY-MM-DD), your name and a brief 

; description of your changes.


;
;
;------------------------------------------------------------------------
; ROOT SECTION
;-------------------------------------------------------------------------
; The first section is the [root] section. It determines the data 

; acquisition parameters. It does not need to be declared explicitly.
; RATE: the sampling rate of "fast" channels



; PREFIX: the base name of your data files. A 3-digit file number
; appended to this base name. The limit is 8 characters
                     
; total for internally recording instruments.

; DISK: the directory for the data files. It must exist. The directory 
					 
; should be /data for internally recording instruments. For 
					 
; real-time instruments it is best to leave this blank, so 
					 
; that it defaults to the local directory.

; RECSIZE: the size of a record in seconds
; MAN_COM_RATE: the communication rate for real-time VMPs. This value must
  
; match the jumper settings of the RSTRANS in your VMP. 

; It is not needed for internally recording instruments.
  
; man_com_rate= 3   

rate        = 512    
prefix      = DSF_S   		 
disk        = /data  
recsize     = 1                                              
no-fast     = 6      ; number of fast "columns" in the address matrix (see below).
no-slow     = 2      ; number of slow "columns" in the address matrix.



; ------------------------------------------------------------------------
; MATRIX SECTION
;-------------------------------------------------------------------------
;This section presents the address [matrix] of your instrument and 

; automaticaly ends the [root] section above. The first columns are "slow"

; channels as defined by the "no-slow" parameter in the [root] section.

; The remiander are "fast" columns ("no-fast").


[matrix]

num_rows= 8

row01   =	255	0	1	2	5	7	8	9	
row02   =	32	40	1	2	5	7	8	9	

row03   =	41	42	1	2	5	7	8	9	
row04   =	4	0	1	2	5	7	8	9	

row05   =	10	11	1	2	5	7	8	9	

row06   =	12	0	1	2	5	7	8	9	

row07   =	0	0	1	2	5	7	8	9	
row08   =	4	0	1	2	5	7	8	9	



;------------------------------------------------------------------------
; CHANNEL SECTION
;-------------------------------------------------------------------------
; This section identifies your instrument. Only the vehicle is important.

; The next section is optional and can be expanded. 
; Do not use the parameter "id = ".


; Next come the [channel] sections. These are used to convert your data 

; into physical units, and to save them into a mat-file. 

; They also determine the name given to various signals 

; in your data file. Please, stick to the convention of 

; RSI because data visualization using the RSI Matlab Library of functions

; assumes particular names. However, data will be converted into physical

; units regardless of the name of the channels. If you change the names,

; then data visualization and further processing is your responsibility.

; A list of typical channel addresses (id) and their names and functions

; is at the end of this file.


; Each channel section consists of a part that is unique to your instrument.

; It does not need to be changed. The second part is dependent on your 

; sensors (shear probes, FP07 thermistors, etc.) and must be updated 

; whenever you change a probe.
; The record average value is display for some channels with a real-time

; instrument. Display can be forced or suppressed using 

; display = true, or display = false. Internally recording instruments

; have no display. The units used for display can be specified with

; units = [unit_symbols]. Keep it short for best display. 


; The ground reference channel.


;-------------------------
; Basic info
;-------------------------

[instrument_info]

vehicle = vmp      ; downward profiling. Use either vmp or rvmp but not both.

model   = vmp-200  ; The actual model. Used for trouble shooting.

sn      = 048      ; The serial numnber of the instrument. For trouble shooting



[channel]
; instrument dependent parameters

id      = 0   ; the channel address, 0 to 254.  Listed in the [matrix] section.
name    = Gnd ; the name it will have in the mat-file.
type    = gnd ; the algorithm used to convert raw data into physical units.

coef0   = 0   ; the coefficients required for conversion. None in this case.



;--------------------------------
; The piezo-vibration sensors

;--------------------------------

[channel]
 
; instrument dependent parameters

id      = 1

name    = Ax
type    = piezo
coef0   = 0
coef1   = 1
units   = [m s^{-2}]

[channel]

; instrument dependent parameters

id      = 2
name    = Ay
type    = piezo
coef0   = 0
coef1   = 1
units   = [m s^{-2}]

;-----------------------------------------------

; Thermistor, without pre-emphasis
;-----------------------------------------------
[channel]

; instrument dependent parameters
id          = 4

name        = T1
type        = therm

adc_fs      = 4.096
adc_bits    = 16

a           = -16
b           = 0.99878

G           = 6

E_B         = 0.68203

; sensor dependent parameters
; cal_date = 01-26-2016
SN          = T940
beta_1      = 3021.22
beta_2      = 278319.66
T_0         = 286.639
units       = [C]



;-----------------------------------------------

; Thermistor, with pre-emphasis
;-----------------------------------------------
[channel]

; instrument dependent parameter

id          = 5

name        = T1_dT1

type        = therm
diff_gain   = 0.95


;-----------------------------------------------

; Conductivity, with pre-emphasis
;-----------------------------------------------
[channel]

; instrument dependent parameters

id          = 7
name        = C1_dC1

type        = ucond
diff_gain   = 0.4
a           = 1.201 - 2.046
b           = 228.5
adc_fs      = 4.096
adc_bits    = 16

; sensor dependent parameters

; cal_date = 06-22-2016
SN          = C214
K           = 0.00113
units       = [mS/cm]



;-----------------------

; Shear probes
;-----------------------

[channel]

; instrument dependent parameters

id          = 8
name        = sh1
type        = shear

adc_fs      = 4.096

adc_bits    = 16

diff_gain   = 0.95

; sensor dependent parameters
;cal_date = 01-26-16
sens        = 0.0639
SN          = M719

[channel]

; instrument dependent parameters

id          = 9 
name        = sh2
type        = shear

adc_fs      = 4.096
adc_bits    = 16

diff_gain   = 0.95

; sensor dependent parameters
;cal_date = 01-26-16
sens        = 0.0657
SN          = M904

;------------------------------------------------
; Pressure transducder, without pre-emphasis

;------------------------------------------------
[channel]

; instrument dependent parameters

id          = 10
name        = P
type        = poly

; sensor dependent parameters

;cal_date    = 01-26-2016
coef0       = 6.15212
coef1       = 0.05493

coef2       = 0

units       = [dBar]



;------------------------------------------------
; Pressure transducder, with pre-emphasis

;------------------------------------------------

[channel]

; instrument dependent parameters

id          = 11

name        = P_dP
type        = poly

diff_gain   = 20.14

;-------------------------------

; Pressure transducer voltage

;------------------------------
[channel]

; instrument dependent parameters

id      = 12
name    = PV
type    = poly
coef0   = 4.096
coef1   = 1.25e-4
units   = [V]



;--------------------------------------

; Power supply board base address = 32

;---------------------------------------
[channel]
; instrument dependent parameters

id          = 32
name        = V_Bat

type        = voltage
G           = 0.1
adc_fs      = 4.096
adc_bits    = 16
 
units       = [V]



;----------------------------
; The ADIS inclinometers

;----------------------------
[channel]

; instrument dependent parameters

id      = 40

name    = Incl_Y

type    = inclxy

; sensor dependent parameters

coef0   = 0

coef1   =+0.025

units   = [degree]



[channel]

; instrument dependent parameters

id      = 41

name    = Incl_X
type    = inclxy

; sensor dependent parameters

coef0   = 0
coef1   =-0.025

units   =[degree]



[channel]

; instrument dependent parameters

id      = 42
name    = Incl_T
type    = inclt

; sensor dependent parameters
coef0   = 624

coef1   =-0.47
 
units   = [C]



;--------------------------------------------------------------------------------------------
; This is a list of typical channels (addresses) and their signals

; Only some of these channels will be in any particular instrument

;  id    Name    - rate - Description

;--------------------------------------------------------------------------------------------
;  0     Gnd     - slow - Reference ground

;  1     Ax      - fast - horizontal acceleration in the direction of the pressure port or ON/OFF magnet

;  2     Ay      - fast - horizontal acceleration orthogonal to the direction of the pressure port

;  3     Az      - fast - vertical acceleration, positive up

;  4     T1      - slow - Temperature from Thermistor 1 without pre-emphasis

;  5     T1_dT1  - fast - Temperature from Thermistor 1 with pre-emphasis

;  7     C1_dC1  - fast - micro-conductivity with pre-emphasis

;  8     sh1     - fast - velocity derivative from shear probe 1

;  9     sh2     - fast - velocity derivative from shear probe 2

; 10     P       - slow - pressure signal without pre-emphasis

; 11     P_dP    - slow - pressure signal with pre-emphasis

; 12     PV      - slow - voltage on pressure transducer

; 32     V_Bat   - slow - Battery or power supply voltage

; 40     Incl_Y  - slow - Inclinometer, rotation around the y-axis

; 41     Incl_X  - slow - Inclinometer, rotation around the x-axis

; 42     Incl_T  - slow - Inclinometer, its temperature 

; 255    sp_char - slow - special Character that always returns 32752D or 7FF0H and 

;                         is used to test the integrity of communication.


; End of setup configuration file.

            ,^                                                                                               i^ l              :   L     s    [      i^ l              :         	    	  ( i_ l               :    {          w 	    ib l l      Y     z  :  /     C     	  	 	$ i^ l        ~     ,     u:  D         
    	` iR l   
            :    >          	   f 
iS l  =             :   w             W i^ l  _ 
    4 
  \   7 :         _   w i^ l  
E 	    o 
   Z   | :         o     % iP l  
     `     
   ;                i^ l        	    	  ;           Y    ; iR l            I 	   	:  E         C     iX l  o          
   
:         f    l     ai_ l     (    A   	% 	;    	        q    iR l            | :   	 
    Z          i^ l           :    
     
       iW l                 ;   ) 	     
       F iR l  6           U ;   n 	         	   f iZ l  Z           ~   i :   2      	   	q     iN l                S :            	   ; iS l            _   r  :             w    c iT l        +       :    $   }        L 	iP l  T 	    %    E   	 :   r        K     	iR l  Q 	    W       s ;              % i^ l   
    f        :        v    r    iZ l      
 6 	    	   :         I           i\ l           t 	   :    0     Y   z    &  i\ l `     ]     	   	:   p     J    |   iP l @      :     	  r :     	              iL l                
:    
           iZ l                 + :   j 	    g         iN l            o    :  
 
 	     
   -      iR l       y  }    G :        
Y        y iZ l  j        Z   :        y 
   	   iZ l      7     i     :        x    L 
    
iO l             &  :             F    	1 iW l               c:      ^    #   	 ; 
iZ l  & 
    ]    :    :         '    8     	iW l  G 	   J         :   e       ~          i\ l  	( 
     b 
      :   +            iZ l   	    Y 	        :   +      i   /   w iV l  m      
    
  A :         X      T iN l  W      	   s 
   ;    o     {    _    iV l       
    
  
   	:      ~   |   piL l            	M 	  { 
:   X              k  iV l             	 	:    
     	       iZ l  ^          j    ;   z 	        [    ; iO k    V         : :   	 
    " 	  x   h iZ k     ]   3    :  	 
 	   	 \ 
    	     iL k        4    :        R    ! 
    	iR k      _      ]  :       = 	   
> 
   
 iN k   /             ;   I     X     	  = 	iT k (    O    
    \  :                3 
iT k  R 	       x   :             
 iJ k  U     	      ;   Z   ?        	iV k 	  
           :   =           t    x iW k  	 	   ] 	     ; :   Z      e       ' iV k  '     	        :     Z     ~          iV k      _ 	   l 	  2 :                  iH k          
   ;               iJ k            
  p ;      6   *      iR k      P    f    
:    	   ^   N       iV k t    c     +    :  
 m 	             iV k      P        :   	 
    8 	                ,^                                                                                               iW k  [    q            :   x 	    e 	       & iV k         "    ;        R    W    ' iV k  F          r    :   K          V 
   [ 	iF k      o     :       '     
   k iV k  	          o;   l              ; 
iN k              E  ;             	 
 iV k  ~ 	     	     4   U :  l        X    ] iD k    	    	   {   K ;   s       6   7 iK k   	    
   3     ;   
     t         iJ k        	     
  :           z    iL k       4 
   | 
 w ;                iL k  `    ~        
:    :     !       h iB k m     C      
 b :    	    z    d    iR k   U     	   q 
;    
              9  iF k  i          i :   : 
     	        iO k     !      :   + 
             iJ k     _      E :    	      	       S iG k  7         :        
   ,    7 iJ k  u        ^     n :           	  
   H iK k         $     :               5 iN k          (  h:  )     c    N 	  	  
iO k  }    -       f:      L   =    k iD k  G 	        e     ;   {              iR k       	       ;                iR k  8    e 
   N 
     :   	             iC k       
    	  ' ;             {       iO k   o     	    w   	:  m     T       h iO k      ;    
 
  # 
;      |    )     uiC k  C           Z 	;                  iR k   D           Y ;   -              iC k  t         < 	:   C 
     	   D    & iF k          G   S :    
    = 	  .    a iJ k       k       :    
    "    H 
    iB k                :        	   D 	    iC k           f   @  :        r 	   	     v 	iN k           K   :    h     a        I 
iO k   	     ?    g    m:              	    
iK k   
   y    [    ;                 H iC k  ` 
   1 	         :   r          iJ k   	    
        :   	      g            iD k   	        	  R :   /         b      2 iN k  ]     	   >     	:    ]        C  1 iF k      
 
   	  
   
:        {    s   iN k     2 	       :   '               iB ku           	D 
:    	     n        iR k  !            
;   	O 	         E     iL k  ]           :   		M 
    J 	        iF k        g   F ;  
  
    	   _      iB k  	B    7       `  y ;   F     	] 	    	    iO k      :      ;         	   	 
     iN k   f         8     :          
  
 	1     	iC k          y   e  :  a    2    O    	 
iB k  , 	          R:      g    X    	  iN k 	 
        	   :   V                
iN k  	    
  x     :                    iO k  	 
   	L 
      3 :   0    X       - iO k  	 
   	|        ;         r      B i> k 0    U 	   	+   E ;   {     O       iN k  }        	W   ;  H     N      iB k          
  	G :    	            !iN k          	 
  
	F 
:   + 	            i? k   e    G    :   	i 
    $ 	        iN k  6  w      E 	;   	;      	    f    i i> k  8          :  
 
 	    	 
     	            ,^                                                                                              7 iN k       `  C  + :    	   	 		8     
   + iF k  b        ? > :             	    > i? k  	    g    	    :               	iB k }        \      :             	   	_ iK k - 	  X          :      e         	iJ k   
           r :             z     i> k  	l 	    	       :               iL k      	T    c 	   ;                 i? k  
p 
   		 
      n ;   u        5   2 iK k     	 l 
   	 
  ;            P     iK k Y        	   S :                    i> k        : 
  	 ;   5         0     oiJ k         ` 	  	 :   B 
    <    k    q  iK k         Z    	:  	 	     ~ 	    2      iH k           " 	;   		 
     	        i: k             ;   [ 
    	^ 
         iJ k         I   :               ? iJ k p           :   2     C    	 	   [ iJ k  D            :        b    	 
   	; i> k            ~:              	   		 
i@ k   	           :    }            
iJ k  	[ 
   :    a   T:   ^                	i> k  	    
   7   G ;      U    k    L iF k 	 x 	   	c 	         :        g    ?    iJ k   	   	z    /    ;        ?  k  : i: k  	    V    	    :   	     X        a iH k   m        		F 
  9 	:       d         viJ k     s     	  	8 
:                 iG k          )   
 
:    
    J        iF k   h  }       < ;        <     E      i> k           S    :        ' 	       I iJ k  @  _     I :    	     
   t      iJ k  	   A        ;        6 
   5     i> k            c   :        ]         i> k  <         p  k  ;  ]     	    
    L i< k t    =      Q:   `      R   	  	    
iB k        |     :   ;         1     	iH k  x           7 ;   J              	iF k   
   B 	   1    ;                   iJ k   
    
   5   0 :       G       W iH k  @ 	   v 
  j   :   I             iF k  /    * 
    	   ;           ?    M iF k          N 	   	:                i> k            	 
:    
         1    KiF k      X    l   4 
:    	   t    .    L  i> k  }      (    ?    	;    	    :          iF k  Q             :         
        i> k    d       :   D 	     
   z     iG k      c     o  _ :         	       3 iH k  	       J  \ ;    B      
   u      	i? k   n    C    ~ 2;               . 
iG k       v      5:                k 	i? k               :        x        ^ 
i: k  J 
         W;   0          X    7 iH k  [ 	  : 	  W    :              > iB k  	' 	   e    X   p :         4  \   iF k      J    ~ 
   ;                iF k          ~    :            B   iD k r        / 	   	:   F         6    iF k B    ]     	   	;  
      e    f    KiF k          
   	 ;     
        x    w iF k o           	` :    	     g          iB k  n             ;   	 	     	  (      iB k       d           :    	     
                ,^                                                                                               m iF k  C       a   0 :   ` 	     	   L     iF k  w        U7 :          	        
iF k             !  :             	 
   g 
i7 k           X    J;          l   	 | 
iF k  E 	  P       :         D    s    N i: k  u 	   S    e     :    R        *     i< k  i     
       :                i; k  	 	    
    	   ;   
      \    J     iD k      	K 	    
  7 ;        D      iB k       	    	   ;    X     j    l     iF k   ?    Q    ( 
   ;        k    ~   iD k !   (     
   ;    U               xiF k              
;   
             iD k   w              - :            :     i7 k    w    N   q ;    
    * 	   h    L iC k      c    Z   2 :         	        iB k        B      :   	      
   J 
     iC k      E      W   :        { 	   l 	   i6 k               :  h         P 	   W 	iB k  "    1       P ;      ;        X 
i> k  Z 
       	Z   ;                   
i: k  m 	           ;    T       X         i? k  = 
    	       ;   ,           iB k  
 
  	 
|        ( :   E    `     T i? k  _    & 	    	   :   	G     k        1 iC k  :     	    	  ; ;            b     i? k           	   ;               Z  iB k           8    	;                 _i? k Y     C    s    :    	    E         i4 k  3   @      )    ;   t 	          w    F i: k  y    '       	 ;    	    . 	        i@ k      =         ;        c 	        i0 k            s :        M 
   
> 
    i6 k     
 g     :    :  C      	   F 
   0 	i: k  Z             ;            		 	    P 
i? k N     j       &:  @            ' 
i: k  d 
          :      |          
iB k  	W     	        :          =    J iB k    	       )    :   	      b          ) i2 k  r 	   	[ 
     	   S ;   U      6      iB k      
     
    ;   m     l      [     i> k      3 	   h 
  M :             a      z iB k j         	   
;     	            Li2 k  i     O     
  g 
:       W   3   }i7 k ?      
 $    
;    	   }     h      i4 k  B         :   i              i? k            :   h 	    E 
         iB k  a     M        t :   F 
    Y 
    .   J i8 k                   0 :   R     
* 	   W 
   B 	i4 k  a        M }  :            
 > 	   e i3 k              ;               c 	i7 k            _;  >             " 
i> k      )       M ;       r    x   	 
 	i6 k  k 	        P   n ;   p        "    ! i2 k   	          l :  	               i; k  L    `    3     ;                  i? k       
      :                  i: k  	    	 
   
 `   ~ ;   ;     6         i? k ?   Q     
   	:   ]     Z       y  i4 k Y         	  \ 	:                 i? k  N           m 
:    - 
           g  i> k  s             \ :   O 	     	  *     i2 k         j   y :   2 	    B 	       H i> k       l      - :    	    5    D 	            ,^                                                                                              i@ k  t             :         	   T 
     i4 k          m   \ ;           	      	i@ k          I   :           
   ` i6 k       6    _   t  ;      <     7     i/ k    v    V     :         )        e 
iB k  g 
    & 	       :                 i: k   	    	       :              i2 k       o 
   {   , :   '          f i? k  v    	     	 R :   D     
          v i? k  @        o 	   :               e i: k         	   4 :            X   z  i> k "           f 
;    	             i> k  +            P 	:   J 
        -     i2 k  m         Q  	  ;   F 	    ?   |    V i> k             * :    	    O 
   ^     i4 k      m    v   :        % 	   o     i: k      =       ;          	  \ 	   i> k      B     t   + ;   g     	Y    	 	    
i> k  R    /    p   :  N     C    | 
   a i< k   	        	     :             	i. k               :                   . i8 k  ` 
  S        :                 i> k                :      ~       V i> k 
  	   X 	    
  j :   \       h      i3 k       	    
   	:        6     v  7 i> k        	   R 
    ;                = i> k          V 	  9 	;                {i. k      }    : 
  I 
:   ,     a    A      i8 k     D     O    ;   P     N          i0 k  w          	:   3     e 	        i: k  9         	;  
  
    _ 	         i> k   6   ~    L    :  	       
    	   ; i2 k      n       y :   q      	   i 
   	 	i8 k   p    	      :  $          
    	i> k             ;             Q 	   l 
i> k   I 	              ;                 	i2 k 	  	            ;            }     	i; k  ]    	 	   
M   F :     x     -    8 i; k   
    
  `   a :         o    E     i> k      G        ;          :   i. k      P     
   ;        f    g     i6 k       @    ; 	   	;   (     	          i. k  H    _        ; 
:      =       Fi7 k          	 	 	 	A 
:   ^       b   i/ k           	 
;   p 
             i; k         n    ;   	<      	   !     i2 k       H    *   l ;    	    
       D i: k                ;   L     " 	    	   i2 k          ;         	   	:     i8 k       7        :                i/ k  D           ;  ,              	H 
i. k  % 	   B    	   :             	  
i. l  	: 
       6    :   +   e       u 	i7 l 
 	             ;      	     6    4 i< l  t 	   	` 
      	 ;   ^              i i/ l   
   	{    
  :   m             i; l      & 
   	q 	  ;  $                i8 l          		X 
  R 
;              i4 k (        
  	} :   ?         	
     i: k  ,  P    "   	6 :        s    [    i. k  Y         W 
:   	; 	    8           i. l    }    }   p ;  	  	     	        i8 k           :   	 
    	K 
    	    y i: l         3  :            	