[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Software triggering a PCDig



Can anyone tell me what lines I need to add to my configuration file
to get software triggering to work? I'm testing this as a prelude to
actually using a real trigger signal to the board.

Here's my configuration file as it stands now:
[PCD:0]			# Board 0

      CAMERA_NAME = "Dalsa CL-E2 2048A"
      EXO_FILENAME = "P1b1tn00.exo"
      LEN_SYNC = SYNC
      LEN_POLARITY = RISING_EDGE
      FEN_ENABLE = DISABLE
      FEN_POLARITY = RISING_EDGE
      MULTI_ENABLE = DISABLE
      MULTI_POLARITY = ACTIVE_HIGH
      MULTI_INPUT_MODE = MULTI_INPUT_FIELD
#     PCLK_POLARITY = FALLING_EDGE		# read only register
#     MULTI_OUTPUT_ENABLE = DISABLE		# this is not configurable
#     USE_EXT_MULTI = DISABLE			# this is not configurable
      RETIME_ENABLE = DISABLE
      RETIME_POLARITY = RISING_EDGE
      CAM3_ENABLE = DISABLE
      EXSYNC_ENABLE = ENABLE
      EXSYNC_POLARITY = ACTIVE_HIGH
      EXSYNC_MODE = EXSYNC_FREE_RUNNING
      PRI_ENABLE = ENABLE
      PRI_POLARITY = ACTIVE_HIGH
      CAM_MODE_CTL = 0
      CCLK_STATIC_ENABLE = ENABLE
      CCLK_STATIC_STATE = LEVEL_HIGH
      # EXT_SYNC_TIME = 0.98
      # default exposure time !!!
      EXT_SYNC_PERIOD_TIME = 300.000
      # default readout time !!!
      EXSYNC_MIDPOINT_DELAY = 0.0	# us (210ns ... 18.75s)
      # this controls the same as the above value (readout time)
      # the last value is the important (overwrites the first)
      PRI_MIDPOINT_DELAY = 0.0		# us (210ns ... 18.75s)
      EXSYNC_START_LOCATION = EXSYNC_START_CYCLE_END
      PRI_START_LOCATION = PRI_START_CYCLE_END
      # PRI_END_LOCATION = PRI_END_AT_LEN_BEGIN
      HORZ_OFF = 0
      WIDTH_PIXELS = 2048
      VERT_OFF = 0
      HEIGHT_PIXELS = 2048
      CCLK_FREQ_SEL = 40.000000			# MHz (320kHz ... 100MHz)
      PIXEL_SIZE = 8
      TRIGGER_POLARITY = FALLING_EDGE,FALLING_EDGE
      TRIGGER_SRC = TTL_TRIG,TTL_TRIG
      TRIG_GLITCH_DETECTOR = DISABLE,DISABLE
#     TRIGGER_STATE = LEVEL_HIGH,LEVEL_LOW	# read only register
#     GEN_SW_TRIGGER = 2118125364,2118125364	# this is not configurable
      TRIG_DIVIDE_FACTOR = 1
      TRIG_DIVIDE_CONTROL = DISABLE_TRIG_DIVIDE
#     PARAM_GROUPS_APPLICABLE = 14
      IMAGE_GEOMETRY = 1CHAN_L2R
      NUM_CAMERAS = 1

What do I need to change to make the software trigger
work? Presumbably I need to change EXSYNC_MODE to EXSYNC_SOFT_TRIG,
but what else?

Thanks,

Will

-- 
Will Lockhart, System Developer, Axiom (Cambridge) Ltd.
http://www.mvhi.com/