  function targMap = targDataMap(),

  ;%***********************
  ;% Create Parameter Map *
  ;%***********************
      
    nTotData      = 0; %add to this count as we go
    nTotSects     = 5;
    sectIdxOffset = 0;
    
    ;%
    ;% Define dummy sections & preallocate arrays
    ;%
    dumSection.nData = -1;  
    dumSection.data  = [];
    
    dumData.logicalSrcIdx = -1;
    dumData.dtTransOffset = -1;
    
    ;%
    ;% Init/prealloc paramMap
    ;%
    paramMap.nSections           = nTotSects;
    paramMap.sectIdxOffset       = sectIdxOffset;
      paramMap.sections(nTotSects) = dumSection; %prealloc
    paramMap.nTotData            = -1;
    
    ;%
    ;% Auto data (q_srv02_spd_P)
    ;%
      section.nData     = 53;
      section.data(53)  = dumData; %prealloc
      
	  ;% q_srv02_spd_P.SetPointWeight_Gain
	  section.data(1).logicalSrcIdx = 0;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_P.ProportionalGainVsrad_Gain
	  section.data(2).logicalSrcIdx = 1;
	  section.data(2).dtTransOffset = 1;
	
	  ;% q_srv02_spd_P.R0t12f_Gain
	  section.data(3).logicalSrcIdx = 2;
	  section.data(3).dtTransOffset = 2;
	
	  ;% q_srv02_spd_P.R0_Gain
	  section.data(4).logicalSrcIdx = 3;
	  section.data(4).dtTransOffset = 3;
	
	  ;% q_srv02_spd_P.PotentiometerCalibrationradV_Ga
	  section.data(5).logicalSrcIdx = 4;
	  section.data(5).dtTransOffset = 4;
	
	  ;% q_srv02_spd_P.HILInitialize_OOStart
	  section.data(6).logicalSrcIdx = 5;
	  section.data(6).dtTransOffset = 5;
	
	  ;% q_srv02_spd_P.HILInitialize_OOEnter
	  section.data(7).logicalSrcIdx = 6;
	  section.data(7).dtTransOffset = 6;
	
	  ;% q_srv02_spd_P.HILInitialize_OOTerminate
	  section.data(8).logicalSrcIdx = 7;
	  section.data(8).dtTransOffset = 7;
	
	  ;% q_srv02_spd_P.HILInitialize_OOExit
	  section.data(9).logicalSrcIdx = 8;
	  section.data(9).dtTransOffset = 8;
	
	  ;% q_srv02_spd_P.HILInitialize_AIHigh
	  section.data(10).logicalSrcIdx = 9;
	  section.data(10).dtTransOffset = 9;
	
	  ;% q_srv02_spd_P.HILInitialize_AILow
	  section.data(11).logicalSrcIdx = 10;
	  section.data(11).dtTransOffset = 10;
	
	  ;% q_srv02_spd_P.HILInitialize_AOHigh
	  section.data(12).logicalSrcIdx = 11;
	  section.data(12).dtTransOffset = 11;
	
	  ;% q_srv02_spd_P.HILInitialize_AOLow
	  section.data(13).logicalSrcIdx = 12;
	  section.data(13).dtTransOffset = 12;
	
	  ;% q_srv02_spd_P.HILInitialize_AOInitial
	  section.data(14).logicalSrcIdx = 13;
	  section.data(14).dtTransOffset = 13;
	
	  ;% q_srv02_spd_P.HILInitialize_AOFinal
	  section.data(15).logicalSrcIdx = 14;
	  section.data(15).dtTransOffset = 14;
	
	  ;% q_srv02_spd_P.HILInitialize_AOWatchdog
	  section.data(16).logicalSrcIdx = 15;
	  section.data(16).dtTransOffset = 15;
	
	  ;% q_srv02_spd_P.HILInitialize_POFrequency
	  section.data(17).logicalSrcIdx = 16;
	  section.data(17).dtTransOffset = 16;
	
	  ;% q_srv02_spd_P.HILInitialize_POLeading
	  section.data(18).logicalSrcIdx = 17;
	  section.data(18).dtTransOffset = 17;
	
	  ;% q_srv02_spd_P.HILInitialize_POTrailing
	  section.data(19).logicalSrcIdx = 18;
	  section.data(19).dtTransOffset = 18;
	
	  ;% q_srv02_spd_P.HILInitialize_POInitial
	  section.data(20).logicalSrcIdx = 19;
	  section.data(20).dtTransOffset = 19;
	
	  ;% q_srv02_spd_P.HILInitialize_POFinal
	  section.data(21).logicalSrcIdx = 20;
	  section.data(21).dtTransOffset = 20;
	
	  ;% q_srv02_spd_P.HILInitialize_POWatchdog
	  section.data(22).logicalSrcIdx = 21;
	  section.data(22).dtTransOffset = 21;
	
	  ;% q_srv02_spd_P.EncoderCalibrationradcount_Gain
	  section.data(23).logicalSrcIdx = 22;
	  section.data(23).dtTransOffset = 22;
	
	  ;% q_srv02_spd_P.EncoderHighPassFilter_A
	  section.data(24).logicalSrcIdx = 23;
	  section.data(24).dtTransOffset = 23;
	
	  ;% q_srv02_spd_P.EncoderHighPassFilter_C
	  section.data(25).logicalSrcIdx = 24;
	  section.data(25).dtTransOffset = 25;
	
	  ;% q_srv02_spd_P.PosSrc_Value
	  section.data(26).logicalSrcIdx = 27;
	  section.data(26).dtTransOffset = 27;
	
	  ;% q_srv02_spd_P.TachometerCalibrationradsV_Gain
	  section.data(27).logicalSrcIdx = 28;
	  section.data(27).dtTransOffset = 28;
	
	  ;% q_srv02_spd_P.SpdSrc_Value
	  section.data(28).logicalSrcIdx = 29;
	  section.data(28).dtTransOffset = 29;
	
	  ;% q_srv02_spd_P.Constant_Value
	  section.data(29).logicalSrcIdx = 30;
	  section.data(29).dtTransOffset = 30;
	
	  ;% q_srv02_spd_P.SquareWave_Amplitude
	  section.data(30).logicalSrcIdx = 31;
	  section.data(30).dtTransOffset = 31;
	
	  ;% q_srv02_spd_P.SquareWave_Frequency
	  section.data(31).logicalSrcIdx = 32;
	  section.data(31).dtTransOffset = 32;
	
	  ;% q_srv02_spd_P.Periods_Value
	  section.data(32).logicalSrcIdx = 33;
	  section.data(32).dtTransOffset = 33;
	
	  ;% q_srv02_spd_P.HalfPeriods_Value
	  section.data(33).logicalSrcIdx = 34;
	  section.data(33).dtTransOffset = 34;
	
	  ;% q_srv02_spd_P.Amplitude_Value
	  section.data(34).logicalSrcIdx = 35;
	  section.data(34).dtTransOffset = 35;
	
	  ;% q_srv02_spd_P.SineWave_Amplitude
	  section.data(35).logicalSrcIdx = 36;
	  section.data(35).dtTransOffset = 36;
	
	  ;% q_srv02_spd_P.SineWave_Frequency
	  section.data(36).logicalSrcIdx = 37;
	  section.data(36).dtTransOffset = 37;
	
	  ;% q_srv02_spd_P.SliderGain_Gain
	  section.data(37).logicalSrcIdx = 38;
	  section.data(37).dtTransOffset = 38;
	
	  ;% q_srv02_spd_P.Constant_Value_m
	  section.data(38).logicalSrcIdx = 39;
	  section.data(38).dtTransOffset = 39;
	
	  ;% q_srv02_spd_P.SliderGain_Gain_b
	  section.data(39).logicalSrcIdx = 40;
	  section.data(39).dtTransOffset = 40;
	
	  ;% q_srv02_spd_P.Integrator_IC
	  section.data(40).logicalSrcIdx = 41;
	  section.data(40).dtTransOffset = 41;
	
	  ;% q_srv02_spd_P.Integrator_IC_p
	  section.data(41).logicalSrcIdx = 42;
	  section.data(41).dtTransOffset = 42;
	
	  ;% q_srv02_spd_P.LeadCompensator_A
	  section.data(42).logicalSrcIdx = 43;
	  section.data(42).dtTransOffset = 43;
	
	  ;% q_srv02_spd_P.LeadCompensator_C
	  section.data(43).logicalSrcIdx = 44;
	  section.data(43).dtTransOffset = 44;
	
	  ;% q_srv02_spd_P.LeadCompensator_D
	  section.data(44).logicalSrcIdx = 45;
	  section.data(44).dtTransOffset = 45;
	
	  ;% q_srv02_spd_P.DirectionConventionRightHandsys
	  section.data(45).logicalSrcIdx = 47;
	  section.data(45).dtTransOffset = 46;
	
	  ;% q_srv02_spd_P.AMPSaturationV_UpperSat
	  section.data(46).logicalSrcIdx = 48;
	  section.data(46).dtTransOffset = 47;
	
	  ;% q_srv02_spd_P.AMPSaturationV_LowerSat
	  section.data(47).logicalSrcIdx = 49;
	  section.data(47).dtTransOffset = 48;
	
	  ;% q_srv02_spd_P.InverseAmplifierGainVV_Gain
	  section.data(48).logicalSrcIdx = 50;
	  section.data(48).dtTransOffset = 49;
	
	  ;% q_srv02_spd_P.DACBSaturationV_UpperSat
	  section.data(49).logicalSrcIdx = 51;
	  section.data(49).dtTransOffset = 50;
	
	  ;% q_srv02_spd_P.DACBSaturationV_LowerSat
	  section.data(50).logicalSrcIdx = 52;
	  section.data(50).dtTransOffset = 51;
	
	  ;% q_srv02_spd_P.AmplifierGainVV_Gain
	  section.data(51).logicalSrcIdx = 53;
	  section.data(51).dtTransOffset = 52;
	
	  ;% q_srv02_spd_P.ProportionalGainVrad_Gain
	  section.data(52).logicalSrcIdx = 54;
	  section.data(52).dtTransOffset = 53;
	
	  ;% q_srv02_spd_P.IntegralGainVrad_Gain
	  section.data(53).logicalSrcIdx = 55;
	  section.data(53).dtTransOffset = 54;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(1) = section;
      clear section
      
      section.nData     = 8;
      section.data(8)  = dumData; %prealloc
      
	  ;% q_srv02_spd_P.HILInitialize_CKChannels
	  section.data(1).logicalSrcIdx = 56;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_P.HILInitialize_DOWatchdog
	  section.data(2).logicalSrcIdx = 57;
	  section.data(2).dtTransOffset = 3;
	
	  ;% q_srv02_spd_P.HILInitialize_EIInitial
	  section.data(3).logicalSrcIdx = 58;
	  section.data(3).dtTransOffset = 4;
	
	  ;% q_srv02_spd_P.HILInitialize_POModes
	  section.data(4).logicalSrcIdx = 59;
	  section.data(4).dtTransOffset = 5;
	
	  ;% q_srv02_spd_P.HILInitialize_POConfiguration
	  section.data(5).logicalSrcIdx = 60;
	  section.data(5).dtTransOffset = 6;
	
	  ;% q_srv02_spd_P.HILInitialize_POAlignment
	  section.data(6).logicalSrcIdx = 61;
	  section.data(6).dtTransOffset = 7;
	
	  ;% q_srv02_spd_P.HILInitialize_POPolarity
	  section.data(7).logicalSrcIdx = 62;
	  section.data(7).dtTransOffset = 8;
	
	  ;% q_srv02_spd_P.HILReadAnalogTimebase_Clock
	  section.data(8).logicalSrcIdx = 63;
	  section.data(8).dtTransOffset = 9;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(2) = section;
      clear section
      
      section.nData     = 9;
      section.data(9)  = dumData; %prealloc
      
	  ;% q_srv02_spd_P.HILInitialize_AIChannels
	  section.data(1).logicalSrcIdx = 64;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_P.HILInitialize_AOChannels
	  section.data(2).logicalSrcIdx = 65;
	  section.data(2).dtTransOffset = 8;
	
	  ;% q_srv02_spd_P.HILInitialize_EIChannels
	  section.data(3).logicalSrcIdx = 66;
	  section.data(3).dtTransOffset = 16;
	
	  ;% q_srv02_spd_P.HILInitialize_EIQuadrature
	  section.data(4).logicalSrcIdx = 67;
	  section.data(4).dtTransOffset = 24;
	
	  ;% q_srv02_spd_P.HILInitialize_POChannels
	  section.data(5).logicalSrcIdx = 68;
	  section.data(5).dtTransOffset = 25;
	
	  ;% q_srv02_spd_P.HILReadAnalogTimebase_Channels
	  section.data(6).logicalSrcIdx = 69;
	  section.data(6).dtTransOffset = 33;
	
	  ;% q_srv02_spd_P.HILReadAnalogTimebase_SamplesIn
	  section.data(7).logicalSrcIdx = 70;
	  section.data(7).dtTransOffset = 35;
	
	  ;% q_srv02_spd_P.HILReadEncoder_Channels
	  section.data(8).logicalSrcIdx = 71;
	  section.data(8).dtTransOffset = 36;
	
	  ;% q_srv02_spd_P.HILWriteAnalog_Channels
	  section.data(9).logicalSrcIdx = 72;
	  section.data(9).dtTransOffset = 37;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(3) = section;
      clear section
      
      section.nData     = 2;
      section.data(2)  = dumData; %prealloc
      
	  ;% q_srv02_spd_P.Constant_Value_p
	  section.data(1).logicalSrcIdx = 73;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_P.SwitchControl_Threshold
	  section.data(2).logicalSrcIdx = 74;
	  section.data(2).dtTransOffset = 1;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(4) = section;
      clear section
      
      section.nData     = 36;
      section.data(36)  = dumData; %prealloc
      
	  ;% q_srv02_spd_P.HILInitialize_Active
	  section.data(1).logicalSrcIdx = 75;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_P.HILInitialize_CKPStart
	  section.data(2).logicalSrcIdx = 76;
	  section.data(2).dtTransOffset = 1;
	
	  ;% q_srv02_spd_P.HILInitialize_CKPEnter
	  section.data(3).logicalSrcIdx = 77;
	  section.data(3).dtTransOffset = 2;
	
	  ;% q_srv02_spd_P.HILInitialize_AIPStart
	  section.data(4).logicalSrcIdx = 78;
	  section.data(4).dtTransOffset = 3;
	
	  ;% q_srv02_spd_P.HILInitialize_AIPEnter
	  section.data(5).logicalSrcIdx = 79;
	  section.data(5).dtTransOffset = 4;
	
	  ;% q_srv02_spd_P.HILInitialize_AOPStart
	  section.data(6).logicalSrcIdx = 80;
	  section.data(6).dtTransOffset = 5;
	
	  ;% q_srv02_spd_P.HILInitialize_AOPEnter
	  section.data(7).logicalSrcIdx = 81;
	  section.data(7).dtTransOffset = 6;
	
	  ;% q_srv02_spd_P.HILInitialize_AOStart
	  section.data(8).logicalSrcIdx = 82;
	  section.data(8).dtTransOffset = 7;
	
	  ;% q_srv02_spd_P.HILInitialize_AOEnter
	  section.data(9).logicalSrcIdx = 83;
	  section.data(9).dtTransOffset = 8;
	
	  ;% q_srv02_spd_P.HILInitialize_AOTerminate
	  section.data(10).logicalSrcIdx = 84;
	  section.data(10).dtTransOffset = 9;
	
	  ;% q_srv02_spd_P.HILInitialize_AOExit
	  section.data(11).logicalSrcIdx = 85;
	  section.data(11).dtTransOffset = 10;
	
	  ;% q_srv02_spd_P.HILInitialize_AOReset
	  section.data(12).logicalSrcIdx = 86;
	  section.data(12).dtTransOffset = 11;
	
	  ;% q_srv02_spd_P.HILInitialize_DOPStart
	  section.data(13).logicalSrcIdx = 87;
	  section.data(13).dtTransOffset = 12;
	
	  ;% q_srv02_spd_P.HILInitialize_DOPEnter
	  section.data(14).logicalSrcIdx = 88;
	  section.data(14).dtTransOffset = 13;
	
	  ;% q_srv02_spd_P.HILInitialize_DOStart
	  section.data(15).logicalSrcIdx = 89;
	  section.data(15).dtTransOffset = 14;
	
	  ;% q_srv02_spd_P.HILInitialize_DOEnter
	  section.data(16).logicalSrcIdx = 90;
	  section.data(16).dtTransOffset = 15;
	
	  ;% q_srv02_spd_P.HILInitialize_DOTerminate
	  section.data(17).logicalSrcIdx = 91;
	  section.data(17).dtTransOffset = 16;
	
	  ;% q_srv02_spd_P.HILInitialize_DOExit
	  section.data(18).logicalSrcIdx = 92;
	  section.data(18).dtTransOffset = 17;
	
	  ;% q_srv02_spd_P.HILInitialize_DOReset
	  section.data(19).logicalSrcIdx = 93;
	  section.data(19).dtTransOffset = 18;
	
	  ;% q_srv02_spd_P.HILInitialize_EIPStart
	  section.data(20).logicalSrcIdx = 94;
	  section.data(20).dtTransOffset = 19;
	
	  ;% q_srv02_spd_P.HILInitialize_EIPEnter
	  section.data(21).logicalSrcIdx = 95;
	  section.data(21).dtTransOffset = 20;
	
	  ;% q_srv02_spd_P.HILInitialize_EIStart
	  section.data(22).logicalSrcIdx = 96;
	  section.data(22).dtTransOffset = 21;
	
	  ;% q_srv02_spd_P.HILInitialize_EIEnter
	  section.data(23).logicalSrcIdx = 97;
	  section.data(23).dtTransOffset = 22;
	
	  ;% q_srv02_spd_P.HILInitialize_POPStart
	  section.data(24).logicalSrcIdx = 98;
	  section.data(24).dtTransOffset = 23;
	
	  ;% q_srv02_spd_P.HILInitialize_POPEnter
	  section.data(25).logicalSrcIdx = 99;
	  section.data(25).dtTransOffset = 24;
	
	  ;% q_srv02_spd_P.HILInitialize_POStart
	  section.data(26).logicalSrcIdx = 100;
	  section.data(26).dtTransOffset = 25;
	
	  ;% q_srv02_spd_P.HILInitialize_POEnter
	  section.data(27).logicalSrcIdx = 101;
	  section.data(27).dtTransOffset = 26;
	
	  ;% q_srv02_spd_P.HILInitialize_POTerminate
	  section.data(28).logicalSrcIdx = 102;
	  section.data(28).dtTransOffset = 27;
	
	  ;% q_srv02_spd_P.HILInitialize_POExit
	  section.data(29).logicalSrcIdx = 103;
	  section.data(29).dtTransOffset = 28;
	
	  ;% q_srv02_spd_P.HILInitialize_POReset
	  section.data(30).logicalSrcIdx = 104;
	  section.data(30).dtTransOffset = 29;
	
	  ;% q_srv02_spd_P.HILInitialize_OOReset
	  section.data(31).logicalSrcIdx = 105;
	  section.data(31).dtTransOffset = 30;
	
	  ;% q_srv02_spd_P.HILInitialize_DOInitial
	  section.data(32).logicalSrcIdx = 106;
	  section.data(32).dtTransOffset = 31;
	
	  ;% q_srv02_spd_P.HILInitialize_DOFinal
	  section.data(33).logicalSrcIdx = 107;
	  section.data(33).dtTransOffset = 32;
	
	  ;% q_srv02_spd_P.HILReadAnalogTimebase_Active
	  section.data(34).logicalSrcIdx = 108;
	  section.data(34).dtTransOffset = 33;
	
	  ;% q_srv02_spd_P.HILReadEncoder_Active
	  section.data(35).logicalSrcIdx = 109;
	  section.data(35).dtTransOffset = 34;
	
	  ;% q_srv02_spd_P.HILWriteAnalog_Active
	  section.data(36).logicalSrcIdx = 110;
	  section.data(36).dtTransOffset = 35;
	
      nTotData = nTotData + section.nData;
      paramMap.sections(5) = section;
      clear section
      
    
      ;%
      ;% Non-auto Data (parameter)
      ;%
    

    ;%
    ;% Add final counts to struct.
    ;%
    paramMap.nTotData = nTotData;
    


  ;%**************************
  ;% Create Block Output Map *
  ;%**************************
      
    nTotData      = 0; %add to this count as we go
    nTotSects     = 2;
    sectIdxOffset = 0;
    
    ;%
    ;% Define dummy sections & preallocate arrays
    ;%
    dumSection.nData = -1;  
    dumSection.data  = [];
    
    dumData.logicalSrcIdx = -1;
    dumData.dtTransOffset = -1;
    
    ;%
    ;% Init/prealloc sigMap
    ;%
    sigMap.nSections           = nTotSects;
    sigMap.sectIdxOffset       = sectIdxOffset;
      sigMap.sections(nTotSects) = dumSection; %prealloc
    sigMap.nTotData            = -1;
    
    ;%
    ;% Auto data (q_srv02_spd_B)
    ;%
      section.nData     = 40;
      section.data(40)  = dumData; %prealloc
      
	  ;% q_srv02_spd_B.HILReadAnalogTimebase_o1
	  section.data(1).logicalSrcIdx = 0;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_B.HILReadAnalogTimebase_o2
	  section.data(2).logicalSrcIdx = 1;
	  section.data(2).dtTransOffset = 1;
	
	  ;% q_srv02_spd_B.HILReadEncoder
	  section.data(3).logicalSrcIdx = 2;
	  section.data(3).dtTransOffset = 2;
	
	  ;% q_srv02_spd_B.EncoderCalibrationradcount
	  section.data(4).logicalSrcIdx = 3;
	  section.data(4).dtTransOffset = 3;
	
	  ;% q_srv02_spd_B.EncoderHighPassFilter
	  section.data(5).logicalSrcIdx = 4;
	  section.data(5).dtTransOffset = 4;
	
	  ;% q_srv02_spd_B.PositionSourceSwitch
	  section.data(6).logicalSrcIdx = 5;
	  section.data(6).dtTransOffset = 5;
	
	  ;% q_srv02_spd_B.TachometerCalibrationradsV
	  section.data(7).logicalSrcIdx = 6;
	  section.data(7).dtTransOffset = 6;
	
	  ;% q_srv02_spd_B.VelocitySourceSwitch
	  section.data(8).logicalSrcIdx = 7;
	  section.data(8).dtTransOffset = 7;
	
	  ;% q_srv02_spd_B.SquareWave
	  section.data(9).logicalSrcIdx = 8;
	  section.data(9).dtTransOffset = 8;
	
	  ;% q_srv02_spd_B.Clock
	  section.data(10).logicalSrcIdx = 9;
	  section.data(10).dtTransOffset = 9;
	
	  ;% q_srv02_spd_B.SineWave
	  section.data(11).logicalSrcIdx = 10;
	  section.data(11).dtTransOffset = 10;
	
	  ;% q_srv02_spd_B.MultiportSwitch
	  section.data(12).logicalSrcIdx = 11;
	  section.data(12).dtTransOffset = 11;
	
	  ;% q_srv02_spd_B.SliderGain
	  section.data(13).logicalSrcIdx = 12;
	  section.data(13).dtTransOffset = 12;
	
	  ;% q_srv02_spd_B.SliderGain_e
	  section.data(14).logicalSrcIdx = 13;
	  section.data(14).dtTransOffset = 13;
	
	  ;% q_srv02_spd_B.Setpointrads
	  section.data(15).logicalSrcIdx = 14;
	  section.data(15).dtTransOffset = 14;
	
	  ;% q_srv02_spd_B.Integrator
	  section.data(16).logicalSrcIdx = 15;
	  section.data(16).dtTransOffset = 15;
	
	  ;% q_srv02_spd_B.Integrator_e
	  section.data(17).logicalSrcIdx = 16;
	  section.data(17).dtTransOffset = 16;
	
	  ;% q_srv02_spd_B.LeadCompensator
	  section.data(18).logicalSrcIdx = 17;
	  section.data(18).dtTransOffset = 17;
	
	  ;% q_srv02_spd_B.SwitchControl
	  section.data(19).logicalSrcIdx = 18;
	  section.data(19).dtTransOffset = 18;
	
	  ;% q_srv02_spd_B.DirectionConventionRightHandsys
	  section.data(20).logicalSrcIdx = 19;
	  section.data(20).dtTransOffset = 19;
	
	  ;% q_srv02_spd_B.AMPSaturationV
	  section.data(21).logicalSrcIdx = 20;
	  section.data(21).dtTransOffset = 20;
	
	  ;% q_srv02_spd_B.InverseAmplifierGainVV
	  section.data(22).logicalSrcIdx = 21;
	  section.data(22).dtTransOffset = 21;
	
	  ;% q_srv02_spd_B.DACBSaturationV
	  section.data(23).logicalSrcIdx = 22;
	  section.data(23).dtTransOffset = 22;
	
	  ;% q_srv02_spd_B.AmplifierGainVV
	  section.data(24).logicalSrcIdx = 23;
	  section.data(24).dtTransOffset = 23;
	
	  ;% q_srv02_spd_B.Sum2
	  section.data(25).logicalSrcIdx = 24;
	  section.data(25).dtTransOffset = 24;
	
	  ;% q_srv02_spd_B.ProportionalGainVrad
	  section.data(26).logicalSrcIdx = 25;
	  section.data(26).dtTransOffset = 25;
	
	  ;% q_srv02_spd_B.Sum1
	  section.data(27).logicalSrcIdx = 26;
	  section.data(27).dtTransOffset = 26;
	
	  ;% q_srv02_spd_B.IntegralGainVrad
	  section.data(28).logicalSrcIdx = 27;
	  section.data(28).dtTransOffset = 27;
	
	  ;% q_srv02_spd_B.PotentiometerCalibrationradV
	  section.data(29).logicalSrcIdx = 28;
	  section.data(29).dtTransOffset = 28;
	
	  ;% q_srv02_spd_B.t
	  section.data(30).logicalSrcIdx = 29;
	  section.data(30).dtTransOffset = 29;
	
	  ;% q_srv02_spd_B.MultiportSwitch_a
	  section.data(31).logicalSrcIdx = 30;
	  section.data(31).dtTransOffset = 30;
	
	  ;% q_srv02_spd_B.R0
	  section.data(32).logicalSrcIdx = 31;
	  section.data(32).dtTransOffset = 31;
	
	  ;% q_srv02_spd_B.Sum
	  section.data(33).logicalSrcIdx = 32;
	  section.data(33).dtTransOffset = 32;
	
	  ;% q_srv02_spd_B.t12f
	  section.data(34).logicalSrcIdx = 33;
	  section.data(34).dtTransOffset = 33;
	
	  ;% q_srv02_spd_B.R0t12f
	  section.data(35).logicalSrcIdx = 34;
	  section.data(35).dtTransOffset = 34;
	
	  ;% q_srv02_spd_B.Sum1_n
	  section.data(36).logicalSrcIdx = 35;
	  section.data(36).dtTransOffset = 35;
	
	  ;% q_srv02_spd_B.SetPointWeight
	  section.data(37).logicalSrcIdx = 36;
	  section.data(37).dtTransOffset = 36;
	
	  ;% q_srv02_spd_B.Sum2_p
	  section.data(38).logicalSrcIdx = 37;
	  section.data(38).dtTransOffset = 37;
	
	  ;% q_srv02_spd_B.ProportionalGainVsrad
	  section.data(39).logicalSrcIdx = 38;
	  section.data(39).dtTransOffset = 38;
	
	  ;% q_srv02_spd_B.ControlOutputV
	  section.data(40).logicalSrcIdx = 39;
	  section.data(40).dtTransOffset = 39;
	
      nTotData = nTotData + section.nData;
      sigMap.sections(1) = section;
      clear section
      
      section.nData     = 1;
      section.data(1)  = dumData; %prealloc
      
	  ;% q_srv02_spd_B.t12f_o
	  section.data(1).logicalSrcIdx = 40;
	  section.data(1).dtTransOffset = 0;
	
      nTotData = nTotData + section.nData;
      sigMap.sections(2) = section;
      clear section
      
    
      ;%
      ;% Non-auto Data (signal)
      ;%
    

    ;%
    ;% Add final counts to struct.
    ;%
    sigMap.nTotData = nTotData;
    


  ;%*******************
  ;% Create DWork Map *
  ;%*******************
      
    nTotData      = 0; %add to this count as we go
    nTotSects     = 6;
    sectIdxOffset = 2;
    
    ;%
    ;% Define dummy sections & preallocate arrays
    ;%
    dumSection.nData = -1;  
    dumSection.data  = [];
    
    dumData.logicalSrcIdx = -1;
    dumData.dtTransOffset = -1;
    
    ;%
    ;% Init/prealloc dworkMap
    ;%
    dworkMap.nSections           = nTotSects;
    dworkMap.sectIdxOffset       = sectIdxOffset;
      dworkMap.sections(nTotSects) = dumSection; %prealloc
    dworkMap.nTotData            = -1;
    
    ;%
    ;% Auto data (q_srv02_spd_DWork)
    ;%
      section.nData     = 9;
      section.data(9)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILInitialize_AIMinimums
	  section.data(1).logicalSrcIdx = 0;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_DWork.HILInitialize_AIMaximums
	  section.data(2).logicalSrcIdx = 1;
	  section.data(2).dtTransOffset = 8;
	
	  ;% q_srv02_spd_DWork.HILInitialize_AOMinimums
	  section.data(3).logicalSrcIdx = 2;
	  section.data(3).dtTransOffset = 16;
	
	  ;% q_srv02_spd_DWork.HILInitialize_AOMaximums
	  section.data(4).logicalSrcIdx = 3;
	  section.data(4).dtTransOffset = 24;
	
	  ;% q_srv02_spd_DWork.HILInitialize_AOVoltages
	  section.data(5).logicalSrcIdx = 4;
	  section.data(5).dtTransOffset = 32;
	
	  ;% q_srv02_spd_DWork.HILInitialize_FilterFrequency
	  section.data(6).logicalSrcIdx = 5;
	  section.data(6).dtTransOffset = 40;
	
	  ;% q_srv02_spd_DWork.HILInitialize_POSortedFreqs
	  section.data(7).logicalSrcIdx = 6;
	  section.data(7).dtTransOffset = 48;
	
	  ;% q_srv02_spd_DWork.HILInitialize_POValues
	  section.data(8).logicalSrcIdx = 7;
	  section.data(8).dtTransOffset = 56;
	
	  ;% q_srv02_spd_DWork.HILReadAnalogTimebase_Buffer
	  section.data(9).logicalSrcIdx = 8;
	  section.data(9).dtTransOffset = 64;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(1) = section;
      clear section
      
      section.nData     = 4;
      section.data(4)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILReadEncoder_PWORK
	  section.data(1).logicalSrcIdx = 9;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_DWork.HILWriteAnalog_PWORK
	  section.data(2).logicalSrcIdx = 10;
	  section.data(2).dtTransOffset = 1;
	
	  ;% q_srv02_spd_DWork.Trackingrads_PWORK.LoggedData
	  section.data(3).logicalSrcIdx = 11;
	  section.data(3).dtTransOffset = 2;
	
	  ;% q_srv02_spd_DWork.VmV_PWORK.LoggedData
	  section.data(4).logicalSrcIdx = 12;
	  section.data(4).dtTransOffset = 3;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(2) = section;
      clear section
      
      section.nData     = 7;
      section.data(7)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILInitialize_ClockModes
	  section.data(1).logicalSrcIdx = 13;
	  section.data(1).dtTransOffset = 0;
	
	  ;% q_srv02_spd_DWork.HILInitialize_QuadratureModes
	  section.data(2).logicalSrcIdx = 14;
	  section.data(2).dtTransOffset = 3;
	
	  ;% q_srv02_spd_DWork.HILInitialize_InitialEICounts
	  section.data(3).logicalSrcIdx = 15;
	  section.data(3).dtTransOffset = 11;
	
	  ;% q_srv02_spd_DWork.HILInitialize_POModeValues
	  section.data(4).logicalSrcIdx = 16;
	  section.data(4).dtTransOffset = 19;
	
	  ;% q_srv02_spd_DWork.HILInitialize_POAlignValues
	  section.data(5).logicalSrcIdx = 17;
	  section.data(5).dtTransOffset = 27;
	
	  ;% q_srv02_spd_DWork.HILInitialize_POPolarityVals
	  section.data(6).logicalSrcIdx = 18;
	  section.data(6).dtTransOffset = 35;
	
	  ;% q_srv02_spd_DWork.HILReadEncoder_Buffer
	  section.data(7).logicalSrcIdx = 19;
	  section.data(7).dtTransOffset = 43;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(3) = section;
      clear section
      
      section.nData     = 1;
      section.data(1)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILInitialize_POSortedChans
	  section.data(1).logicalSrcIdx = 20;
	  section.data(1).dtTransOffset = 0;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(4) = section;
      clear section
      
      section.nData     = 1;
      section.data(1)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILReadAnalogTimebase_Task
	  section.data(1).logicalSrcIdx = 21;
	  section.data(1).dtTransOffset = 0;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(5) = section;
      clear section
      
      section.nData     = 1;
      section.data(1)  = dumData; %prealloc
      
	  ;% q_srv02_spd_DWork.HILInitialize_Card
	  section.data(1).logicalSrcIdx = 22;
	  section.data(1).dtTransOffset = 0;
	
      nTotData = nTotData + section.nData;
      dworkMap.sections(6) = section;
      clear section
      
    
      ;%
      ;% Non-auto Data (dwork)
      ;%
    

    ;%
    ;% Add final counts to struct.
    ;%
    dworkMap.nTotData = nTotData;
    


  ;%
  ;% Add individual maps to base struct.
  ;%

  targMap.paramMap  = paramMap;    
  targMap.signalMap = sigMap;
  targMap.dworkMap  = dworkMap;
  
  ;%
  ;% Add checksums to base struct.
  ;%


  targMap.checksum0 = 1710163058;
  targMap.checksum1 = 1058916065;
  targMap.checksum2 = 3392064583;
  targMap.checksum3 = 1786819588;

