####
# Modified Summer 2011 for MBARI Ocean Imaging
#
# 09/16/11  RGH   Changed mono and color to right and left
#

sensor {
   right {               # right is master camera
      # Camera SN 6007
      uid = 122325;
      channel = "PROSILICA_M";
#      attfile = "prosilica_default.txt";
      x_vs = [1,2,3,4,5,6];
      x_lr = [0,0,0,0,0,0];
      PvAttributes {

         # Image tweaks
         #
         ExposureMode = "Manual";         #* For Manual Exposure:
         GainMode = "Manual";

	 ##
	 # 
         ExposureValue = "20000";          #* uncomment #* lines 
         GainValue = "20";

         PixelFormat = "Bayer16";


         # Acquisition and triggering
         #
         FrameRate = "0.5";
         FrameStartTriggerMode = "FixedRate";
	 StartTriggerEvent = "EdgeRising";
         AqusitionMode = "Continuous";  #cnr added this


         # Synchronization
         #
         SyncOut1Mode = "Imaging";
         #SyncOut1Mode = "GPO";

	 #Height = "100";
         #ExposureMode = "Auto";          ##For autoexposure:
         #ExposureAutoAlg = "Mean";	  ##uncomment these ## lines
         #ExposureAutoTarget = "40";      ##ExposureAutoTarget is the 
         #ExposureAutoMax = "10000";      ##one relavent dial
	 #ExposureAutoAdjustTol = "10";   ##

         # Streaming
         #
         PacketSize = "1200";
         MulticastEnable = "Off";
         StreamBytesPerSecond = "6077960";


      }
   } # right

   left {
      uid = 127258; #
      channel = "PROSILICA_C";
#      attfile = "prosilica_default.txt";
      x_vs = [1,2,3,4,5,6];
      x_lr = [0,0,0,0,0,0];
      PvAttributes {

         ##
	 # Image tweaks
         ExposureMode = "Manual";         #* For Manual Exposure:
         GainMode = "Manual";

	 ##
	 #  Exposure and gain values
	 #
         ExposureValue = "20000";         #* uncomment #* lines 
         GainValue = "20";

         #PixelFormat = "Rgb24";
	 #Height = "100";
         #ExposureMode = "Auto";          ##For autoexposure:
         #ExposureAutoAlg = "Mean";	  ##uncomment these ## lines
         #ExposureAutoTarget = "40";      ##ExposureAutoAdjustTol is the 
         #ExposureAutoMax = "10000";      ##one relavent dial
	 #ExposureAutoAdjustTol="10";     ##
         #SyncOut1Mode = "GPO";
      }
   } # left


} #prosilica
